[ 
https://issues.apache.org/jira/browse/HADOOP-19573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17952868#comment-17952868
 ] 

Steve Loughran commented on HADOOP-19573:
-----------------------------------------

{code}
[ERROR] 
org.apache.hadoop.fs.s3a.ITestS3AConfiguration.testDirectoryAllocatorDefval  
Time elapsed: 0.029 s  <<< ERROR!
java.io.IOException: fs.s3a.buffer.dir not configured
        at 
org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.confChanged(LocalDirAllocator.java:319)
        at 
org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:425)
        at 
org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:171)
        at 
org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:152)
        at 
org.apache.hadoop.fs.s3a.impl.S3AStoreImpl.createTemporaryFileForWriting(S3AStoreImpl.java:933)
        at 
org.apache.hadoop.fs.s3a.ITestS3AConfiguration.createTemporaryFileForWriting(ITestS3AConfiguration.java:502)
        at 
org.apache.hadoop.fs.s3a.ITestS3AConfiguration.testDirectoryAllocatorDefval(ITestS3AConfiguration.java:491)
{code}


> S3A: ITestS3AConfiguration.testDirectoryAllocatorDefval() failing
> -----------------------------------------------------------------
>
>                 Key: HADOOP-19573
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19573
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/s3, test
>    Affects Versions: 3.5.0, 3.4.2, 3.4.3
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>
> while working on HADOOP-19554 I added a per-bucket setting for 
> fs.s3a.buffer.dir
> after this, ITestS3AConfiguration.testDirectoryAllocatorDefval() would fail 
> in a test run of the entire class, but not if run alone.
> Causes
> * dir allocator map of config key to allocator is static; previous uses 
> tainted outcome
> * per-bucket settings were't being overridden. This is complicated by the 
> fact that "unset" isn't a setting, therefore can't be forced in. Instead some 
> whitespace needs to be set.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to