rmuir commented on issue #1068: SOLR-14033: Fix Hadoop tests with security 
manager
URL: https://github.com/apache/lucene-solr/pull/1068#issuecomment-563653165
 
 
   Big disclaimer that definitely didn't dig as to why hadoop would ever need 
to know this. Versus say just checking that it has access to a file. This can 
be done in so many ways, including explicit `access(2)` hook via 
`path.getFileSystem().provider()`:
   
   
https://docs.oracle.com/javase/7/docs/api/java/nio/file/spi/FileSystemProvider.html#checkAccess(java.nio.file.Path,%20java.nio.file.AccessMode...)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to