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

Steve Loughran commented on HADOOP-19554:
-----------------------------------------

seeing a stacktrace in `ITestS3AConfiguration` which looks related; will 
investigate and do a followup

{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)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.lang.Thread.run(Thread.java:750)
{code}


> LocalDirAllocator still doesn't always recover from directory tree deletion
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-19554
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19554
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 3.4.1
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.0, 3.4.3
>
>
> In HADOOP-18636, LocalDirAllocator was modified to recreate missing dirs. But 
> it appears that there are still codepaths which don't do that.



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

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