rakeshadr commented on pull request #2703:
URL: https://github.com/apache/ozone/pull/2703#issuecomment-946658131


   > > > another way to fix the test is listKeys.
   > > 
   > > 
   > > @bharatviswa504 I'm ok with using listKeys(), but the name of the test 
that is failing is: testListStatusWithIntermediateDir
   > > so it seems a bit weird not to use listStatus(). If it is not correct to 
use listStatus() when enabledFileSystemPaths is false, maybe the test shouldn't 
run in that case, and only run when enabledFileSystemPaths is true?
   > 
   > Yes, the listStatus makes sense when enabledFileSystemPaths to true. As 
said, if we want to go ahead and fix it, I am even okay with it (But it does 
nor add value, once bucket type feature comes in, only FS kind of buckets will 
access these API's from our interface, unless some one uses direct 
RpcClient/Java Apis). cc @rakeshadr for comments.
   
   @bharatviswa504 With BucketLayout feature, Ozone will be able to efficiently 
manage FILE_SYSTEM_OPTIMIZED("FSO") and OBJECT_STORE("OBS") semantics. Those 
who need 100% FS semantics user can create FSO bucket and there we/ozone can 
support all the FS API functionalities. In OBS, FileSystem apis compliance 
won't be guaranteed anymore. 
   
   Also, IMHO once the bucket layout is fully implemented we can deprecate the 
`enabledFileSystemPaths` flag.


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