[ https://issues.apache.org/jira/browse/SPARK-21817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16138683#comment-16138683 ]
Steve Loughran commented on SPARK-21817: ---------------------------------------- I think it's a regression in HDFS-6984; the superclass handles permissions being null, but the modified LocatedFileStatus ctor doesn't. Ewan: do a patch there with a new test method (where?) & I'll review it. > Pass FSPermissions to LocatedFileStatus from InMemoryFileIndex > -------------------------------------------------------------- > > Key: SPARK-21817 > URL: https://issues.apache.org/jira/browse/SPARK-21817 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 2.3.0 > Reporter: Ewan Higgs > Priority: Minor > Attachments: SPARK-21817.001.patch > > > The implementation of HDFS-6984 now uses the passed in {{FSPermission}} to > pull out the ACL and other information. Therefore passing in a {{null}} is no > longer adequate and hence causes a NPE when listing files. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org