steveloughran commented on issue #1587: HADOOP-16626. S3A 
ITestRestrictedReadAccess fails
URL: https://github.com/apache/hadoop/pull/1587#issuecomment-538314567
 
 
   * we are unsetting any bucket-specific choices of s3guard, so that even when 
people (me) have it enabled you explicitly 
   * the problem I've tried to fix was the discovery that Filesyste.get() 
triggered the load of things like HdfsConfiguration, it's adding of 
hdfs-default.xml &c, which then reinstated the unset options
   
   * If any XML resource is added to any config created with default resources, 
all options from core-default, core-site which had been unset are reinstated*
   
   Which of course is entirely unexpected.
   
   Having a look at why things are failing for you, -Ds3guard -Dlocal had been 
fine for me.
   
   I had problems with this when changing the test because you need to share 
the same local store instance across the real fs and the restricted one 
-otherwise the restricted one's cache is empty, so it falls back to s3 checks.
   
   I may just change the test so that it requires s3guard + ddb set on the 
maven command line to run those guarded tests, and not worry about the local 
one at all. It's just complicating things too much and *especially given the 
local store cannot be used in production*

----------------------------------------------------------------
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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to