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

ASF GitHub Bot commented on HADOOP-18764:
-----------------------------------------

mehakmeet opened a new pull request, #5737:
URL: https://github.com/apache/hadoop/pull/5737

   ### Description of PR
   fs.azure.buffer.dir to be under Yarn container path on yarn applications
   
   ### How was this patch tested?
   `mvn -Dparallel-tests=abfs -DtestsThreadCount=8 -Dscale clean verify` on 
`us-west-2` bucket
   
   Results:
   ```
   [INFO] Results:
   [INFO] 
   [WARNING] Tests run: 141, Failures: 0, Errors: 0, Skipped: 4
   ```
   
   ```
   [INFO] Results:
   [INFO] 
   [ERROR] Failures: 
   [ERROR]   ITestAzureBlobFileSystemLease.testTwoCreate:142  Expected to find 
'There is currently a lease on the resource and no lease ID was specified in 
the request' but got unexpected exception: 
org.apache.hadoop.fs.PathIOException: 
`abfs://abfs-testcontainer-1b46713f-9625-4c06-8ecb-64b39c8df...@mmtusw.dfs.core.windows.net/fork-0002/test/testTwoCreate617053501b77/testfile':
 Input/output error: Parallel access to the create path detected. Failing 
request to honor single writer semantics
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.checkException(AzureBlobFileSystem.java:1503)
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.create(AzureBlobFileSystem.java:334)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1231)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1208)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1089)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1076)
        at 
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemLease.lambda$testTwoCreate$1(ITestAzureBlobFileSystemLease.java:144)
        at 
org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:498)
        at 
org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:384)
        at 
org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:453)
        at 
org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemLease.testTwoCreate(ITestAzureBlobFileSystemLease.java:142)
        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.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:748)
   Caused by: Parallel access to the create path detected. Failing request to 
honor single writer semantics
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.conditionalCreateOverwriteFile(AzureBlobFileSystemStore.java:652)
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.createFile(AzureBlobFileSystemStore.java:563)
        at 
org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.create(AzureBlobFileSystem.java:328)
        ... 21 more
   
   [ERROR]   
ITestGetNameSpaceEnabled.testGetIsNamespaceEnabledWhenConfigIsFalse:98->unsetAndAssert:109
 [getIsNamespaceEnabled should return the value configured for 
fs.azure.test.namespace.enabled] expected:<[fals]e> but was:<[tru]e>
   [ERROR]   
ITestGetNameSpaceEnabled.testGetIsNamespaceEnabledWhenConfigIsTrue:88->unsetAndAssert:109
 [getIsNamespaceEnabled should return the value configured for 
fs.azure.test.namespace.enabled] expected:<[fals]e> but was:<[tru]e>
   [ERROR]   
ITestGetNameSpaceEnabled.testNonXNSAccount:77->Assert.assertFalse:65->Assert.assertTrue:42->Assert.fail:89
 Expecting getIsNamespaceEnabled() return false
   [INFO] 
   [ERROR] Tests run: 581, Failures: 4, Errors: 0, Skipped: 107
   ```
   
   ```
   [INFO] Results:
   [INFO] 
   [WARNING] Tests run: 339, Failures: 0, Errors: 0, Skipped: 41
   ```
   Seeing failures unrelated to the patch specifically 
`ITestAzureBlobFileSystemLease.java` since the other failures seem config 
related.
   
   Is this a known failure?
   CC @steveloughran 
   ### For code changes:
   
   - [ ] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




> fs.azure.buffer.dir to be under Yarn container path on yarn applications
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-18764
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18764
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs/azure
>    Affects Versions: 3.3.5
>            Reporter: Steve Loughran
>            Assignee: Mehakmeet Singh
>            Priority: Major
>
> replicate HADOOP-17386 for azure so things clean up better long lived yarn 
> clusters



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