hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-10589) NativeS3FileSystem throw NullPointerException when the file is empty
Date Thu, 29 May 2014 14:53:02 GMT

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

Steve Loughran resolved HADOOP-10589.
-------------------------------------

      Resolution: Duplicate
    Release Note: Duplicate of HADOOP-10533, though the stack trace is more up to date on
this one

> NativeS3FileSystem throw NullPointerException when the file is empty
> --------------------------------------------------------------------
>
>                 Key: HADOOP-10589
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10589
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/s3
>    Affects Versions: 2.2.0
>            Reporter: shuisheng wei
>
> An empty file in the s3 path.
> NativeS3FsInputStream dose not check the InputStream .
> 2014-05-06 20:29:26,961 INFO [main] org.apache.hadoop.hive.ql.exec.ReduceSinkOperator:
4 forwarded 0 rows
> 2014-05-06 20:29:26,961 INFO [main] org.apache.hadoop.hive.ql.exec.GroupByOperator: 3
Close done
> 2014-05-06 20:29:26,961 INFO [main] org.apache.hadoop.hive.ql.exec.SelectOperator: 2
Close done
> 2014-05-06 20:29:26,961 INFO [main] org.apache.hadoop.hive.ql.exec.FilterOperator: 1
Close done
> 2014-05-06 20:29:26,961 INFO [main] org.apache.hadoop.hive.ql.exec.TableScanOperator:
0 Close done
> 2014-05-06 20:29:26,961 INFO [main] org.apache.hadoop.hive.ql.exec.MapOperator: 5 Close
done
> 2014-05-06 20:29:26,961 INFO [main] org.apache.hadoop.hive.ql.exec.mr.ExecMapper: ExecMapper:
processed 0 rows: used memory = 602221488
> 2014-05-06 20:29:26,964 WARN [main] org.apache.hadoop.mapred.YarnChild: Exception running
child : java.lang.NullPointerException
> 	at org.apache.hadoop.fs.s3native.NativeS3FileSystem$NativeS3FsInputStream.close(NativeS3FileSystem.java:147)
> 	at java.io.BufferedInputStream.close(BufferedInputStream.java:472)
> 	at java.io.FilterInputStream.close(FilterInputStream.java:181)
> 	at org.apache.hadoop.util.LineReader.close(LineReader.java:150)
> 	at org.apache.hadoop.mapred.LineRecordReader.close(LineRecordReader.java:244)
> 	at org.apache.hadoop.hive.ql.io.CombineHiveRecordReader.doClose(CombineHiveRecordReader.java:72)
> 	at org.apache.hadoop.hive.ql.io.HiveContextAwareRecordReader.close(HiveContextAwareRecordReader.java:96)
> 	at org.apache.hadoop.hive.shims.HadoopShimsSecure$CombineFileRecordReader.close(HadoopShimsSecure.java:248)
> 	at org.apache.hadoop.mapred.MapTask$TrackedRecordReader.close(MapTask.java:209)
> 	at org.apache.hadoop.mapred.MapTask.closeQuietly(MapTask.java:1950)
> 	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:445)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:342)
> 	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:415)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)
> 	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:163)
> 2014-05-06 20:29:26,970 INFO [main] org.apache.hadoop.mapred.Task: Runnning cleanup for
the task



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message