bshashikant commented on pull request #1154:
URL: https://github.com/apache/hadoop-ozone/pull/1154#issuecomment-672774125


   > > @elek , I feel if we can go ahead with this change and then try to 
remove XceiverClient interface altogether in a separte jira. Your thoughts??
   > 
   > We need some kind of interfaces if we would like to support different type 
of write path. This interface might not be so low-level as today, but something 
is required (maybe just a OutputStream factory?).
   > 
   > But it doesn't answer my original concern about mixing client specific and 
admin specific methods in the same interface. Even with a dedicated interface, 
if it's part of the client API we need to make it backward compatible forever.
   > 
   > I am not fully against it, but I think we need a strong argument to extend 
client interface. For example why don't we use any CLI tool on the datanode 
which can read the db and blocks data directly? In that case we don't need to 
add complexity for RPC interface at all?
   
   Let's define a new admin interface and add the method there. 
   
   The idea of the tool is to read the info and do some sort of validation on 
each replica of the block and it should be possible to run it from any node.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to