You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ewan Higgs (JIRA)" <ji...@apache.org> on 2017/08/23 10:45:00 UTC

[jira] [Updated] (SPARK-21817) Pass FSPermissions to LocatedFileStatus from InMemoryFileIndex

     [ https://issues.apache.org/jira/browse/SPARK-21817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ewan Higgs updated SPARK-21817:
-------------------------------
    Attachment: SPARK-21817.001.patch

Attaching simple fix that will no longer NPE on Hadoop head.

> Pass FSPermissions to LocatedFileStatus from InMemoryFileIndex
> --------------------------------------------------------------
>
>                 Key: SPARK-21817
>                 URL: https://issues.apache.org/jira/browse/SPARK-21817
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Ewan Higgs
>             Fix For: 2.3.0
>
>         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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org