Julien Le Dem created PARQUET-20:
------------------------------------

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


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.2#6252)

Reply via email to