[ https://issues.apache.org/jira/browse/PARQUET-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14372725#comment-14372725 ]
A.Y Dissanayake commented on PARQUET-20: ---------------------------------------- Hi [~alexlevenson], Thank You . And I just try it by putting log statement. Please check whether it is ok as a initial step. https://github.com/Yas101/parquet-mr/commit/15ebc6579466fd7932c61b72c6797011cdda4fcb Regards, A.Y > 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)