ZanderXu opened a new pull request, #4763:
URL: https://github.com/apache/hadoop/pull/4763

   ### Description of PR
   Suppose there are some mount points as bellows in RBF without default 
namespace.
   |Source Path|NameSpace|Destination Path |
   |:----:|:----:|:----:|
   |/a/b|ns0|/a/b|
   |/a/b/c|ns0|/a/b/c|
   |/a/b/c/d|ns1|/a/b/c/d|
   
   Suppose there a file /a/b/c/file1 with 10MB data in ns0 and a file 
/a/b/c/d/file2 with 20MB data in ns1.
   
   There are bugs during handling some cases:
   |Case Number|Case|Current Result|Expected Result|
   |:---:|:---:|:---:|:---:|
   |1|getContentSummary('/a')|Throw RouterResolveException |2files and 30MB 
data|
   |2|getContentSummary('/a/b')|3files and 40MB data|2files and 30MB data|
   
   Bugs for these cases:
   
   - Case1: If can't find any locations for the path,  RBF should try to do it 
with sub mount points.
   - Case2: RBF shouldn't repeatedly get content summary from one same 
namespace with same ancestors path, such as from ns0 with /a/b and from ns0 
with /a/b/c.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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