[
https://issues.apache.org/jira/browse/PARQUET-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14372387#comment-14372387
]
Alex Levenson commented on PARQUET-20:
--------------------------------------
or in the case of globStatus, "No files found under globPath: foo/bar/*"
> Better exception when files are unaccessible
> --------------------------------------------
>
> Key: PARQUET-20
> URL: https://issues.apache.org/jira/browse/PARQUET-20
> Project: Parquet
> Issue Type: Bug
> Reporter: Julien Le Dem
> Labels: newbie, pick-me-up
>
> In some cases the Hadoop filesystem API will throw NullPointerException when
> trying to access files that have moved.
> We'd want to catch those and give a better error message.
> {noformat}
> Caused by: java.lang.NullPointerException
> at org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:1043)
> at
> org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:211)
> at
> parquet.hadoop.ParquetInputFormat.listStatus(ParquetInputFormat.java:395)
> at
> parquet.hadoop.ParquetInputFormat.getFooters(ParquetInputFormat.java:443)
> at
> parquet.hadoop.ParquetInputFormat.getGlobalMetaData(ParquetInputFormat.java:467)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)