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

Steve Loughran commented on HADOOP-15827:
-----------------------------------------

This is happening in new code from HADOOP-15621; there's a codepath where 
dirPathMeta==null but metas!= empty which triggers the NPE. 
{code}
          return (metas.isEmpty() && dirPathMeta == null)
              ? null
              : new DirListingMetadata(path, metas, isAuthoritative,
              dirPathMeta.getLastUpdated());
{code}
[~gabor.bota]: assigning this to you as it seems part of the recent patch

> NPE in DynamoDBMetadataStore.lambda$listChildren for root + auth s3guard
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-15827
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15827
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.3.0
>            Reporter: Steve Loughran
>            Priority: Blocker
>
> NPE in a test run of {{-Dparallel-tests -DtestsThreadCount=6  -Ds3guard 
> -Ddynamodb -Dauthoritative}}
> {code}
> [ERROR] testLSRootDir(org.apache.hadoop.fs.s3a.ITestS3AFileSystemContract)  
> Time elapsed: 42.822 s  <<< ERROR!
> java.lang.NullPointerException
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to