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

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

steveloughran commented on PR #4909:
URL: https://github.com/apache/hadoop/pull/4909#issuecomment-1252123682

   merged with trunk to fix the failure. 
   
   one test failure against s3 london, ` -Dparallel-tests -DtestsThreadCount=10`
   
   ```
   [INFO] Running org.apache.hadoop.fs.s3a.commit.ITestCommitOperationCost
   [ERROR] Tests run: 44, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
79.159 s <<< FAILURE! - in 
org.apache.hadoop.fs.contract.s3a.ITestS3AContractVectoredRead
   [ERROR] testStopVectoredIoOperationsUnbuffer[Buffer type : 
direct](org.apache.hadoop.fs.contract.s3a.ITestS3AContractVectoredRead)  Time 
elapsed: 1.26 s  <<< FAILURE!
   java.lang.AssertionError: Expected an exception of type class 
java.io.InterruptedIOException
           at 
org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:409)
           at 
org.apache.hadoop.fs.contract.s3a.ITestS3AContractVectoredRead.testStopVectoredIoOperationsUnbuffer(ITestS3AContractVectoredRead.java:143)
           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.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
           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)
   ```
   anyone else seen this? race condition maybe?




> NullPointerException in ObjectListingIterator's constructor
> -----------------------------------------------------------
>
>                 Key: HADOOP-18456
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18456
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/s3
>    Affects Versions: 3.3.9
>            Reporter: Quanlong Huang
>            Assignee: Steve Loughran
>            Priority: Blocker
>              Labels: pull-request-available
>
> We saw NullPointerExceptions in Impala's S3 tests: IMPALA-11592. It's thrown 
> from the hadoop jar:
> {noformat}
> Caused by: java.lang.NullPointerException
>         at 
> org.apache.hadoop.fs.s3a.Listing$ObjectListingIterator.<init>(Listing.java:621)
>         at 
> org.apache.hadoop.fs.s3a.Listing.createObjectListingIterator(Listing.java:163)
>         at 
> org.apache.hadoop.fs.s3a.Listing.createFileStatusListingIterator(Listing.java:144)
>         at 
> org.apache.hadoop.fs.s3a.Listing.getListFilesAssumingDir(Listing.java:212)
>         at 
> org.apache.hadoop.fs.s3a.S3AFileSystem.innerListFiles(S3AFileSystem.java:4790)
>         at 
> org.apache.hadoop.fs.s3a.S3AFileSystem.lambda$listFiles$37(S3AFileSystem.java:4732)
>         at 
> org.apache.hadoop.fs.statistics.impl.IOStatisticsBinding.invokeTrackingDuration(IOStatisticsBinding.java:543)
>         at 
> org.apache.hadoop.fs.statistics.impl.IOStatisticsBinding.lambda$trackDurationOfOperation$5(IOStatisticsBinding.java:524)
>         at 
> org.apache.hadoop.fs.statistics.impl.IOStatisticsBinding.trackDuration(IOStatisticsBinding.java:445)
>         at 
> org.apache.hadoop.fs.s3a.S3AFileSystem.trackDurationAndSpan(S3AFileSystem.java:2363)
>         at 
> org.apache.hadoop.fs.s3a.S3AFileSystem.trackDurationAndSpan(S3AFileSystem.java:2382)
>         at 
> org.apache.hadoop.fs.s3a.S3AFileSystem.listFiles(S3AFileSystem.java:4731)
>         at 
> org.apache.impala.common.FileSystemUtil.listFiles(FileSystemUtil.java:754)
>         ... {noformat}
> We are using a private build of the hadoop jar. Version: CDP 
> 3.1.1.7.2.16.0-164
> Code snipper of where the NPE throws:
> {code:java}
> 604     @Retries.RetryRaw
> 605     ObjectListingIterator(
> 606         Path listPath,
> 607         S3ListRequest request,
> 608         AuditSpan span) throws IOException {
> 609       this.listPath = listPath;
> 610       this.maxKeys = listingOperationCallbacks.getMaxKeys();
> 611       this.request = request;
> 612       this.objectsPrev = null;
> 613       this.iostats = iostatisticsStore()
> 614           .withDurationTracking(OBJECT_LIST_REQUEST)
> 615           .withDurationTracking(OBJECT_CONTINUE_LIST_REQUEST)
> 616           .build();
> 617       this.span = span;
> 618       this.s3ListResultFuture = listingOperationCallbacks
> 619           .listObjectsAsync(request, iostats, span);
> 620       this.aggregator = 
> IOStatisticsContext.getCurrentIOStatisticsContext()
> 621           .getAggregator();           // <---- thrown here
> 622     }
> {code}



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