shahrs87 edited a comment on issue #509: HBASE-22877 WebHDFS based export 
snapshot will fail if hfile is in archive directory
URL: https://github.com/apache/hbase/pull/509#issuecomment-525039584
 
 
   >  But in hadoop 2.x, this problem do exists;
   
   This bug **does not** exist in branch-2.6.0 also.
   Here is the git repo for branch-2.6.0  
https://github.com/apache/hadoop/tree/branch-2.6.0
   Refer to WebHdfsFileSystem#open -->     
OffsetUrlInputStream(UnresolvedUrlOpener o, OffsetUrlOpener r) -->   
ByteRangeInputStream(URLOpener o, URLOpener r) --> 
ByteRangeInputStream#getInputStream() --> 
ByteRangeInputStream#openInputStream() --> UnresolvedUrlOpener#connect() --> 
AbstractRunner#run() --> AbstractRunner#runWithRetry() method which in turn 
calls NameNodeWebHdfsMethods on server side and it will throw 
FileNotFoundException wrapped in RemoteException. 
   One suggestion: Please enable trace logging on client side if possible. It 
will show you many debug and trace level logs about communication between 
client and server to understand WebHdfsFileSystem better.
   @VicoWu  Hope this helps.
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to