[
https://issues.apache.org/jira/browse/TEZ-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14742144#comment-14742144
]
Hitesh Shah commented on TEZ-2805:
----------------------------------
To be clear, the same query against the same dataset sometimes works but
sometimes fails with this error?
>From the lzoinputformat codebase, it seems like indexes is only setup properly
>when listStatus() is called. Is there any other place where indices is filled
>up? Would it be possible for you to add a log there and print the stack trace
>so that using 2 separate logs ( one from a failed and one from a successful
>run ), we can look at what is different? Also, maybe add a log for which
>filename causes an NPE to be thrown?
\cc [~hagleitn] [~sseth] [~vikram.dixit]
> run task with lzo files sometimes fail
> ---------------------------------------
>
> Key: TEZ-2805
> URL: https://issues.apache.org/jira/browse/TEZ-2805
> Project: Apache Tez
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: liuchuanqi
>
> with lzo files (hadoop-lzo-0.4.15.jar) sometimes fail
> 2015-08-26 14:59:45,432 ERROR [main]: SessionState
> (SessionState.java:printError(966)) - Vertex failed, vertexName=Map 16,
> vertexId=vertex_1439806072228_0774_1_05, diagnostics=[Vertex
> vertex_1439806072228_0774_1_05 [Map 16] killed/failed due
> to:ROOT_INPUT_INIT_FAILURE, Vertex Input: bd_dms_inspection initializer
> failed, vertex=vertex_1439806072228_0774_1_05 [Map 16],
> java.lang.NullPointerException
>
> at
> com.hadoop.mapred.DeprecatedLzoTextInputFormat.isSplitable(DeprecatedLzoTextInputFormat.java:103)
>
>
>
>
>
>
> at
> org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:300)
>
>
>
>
>
>
> at
> com.hadoop.mapred.DeprecatedLzoTextInputFormat.getSplits(DeprecatedLzoTextInputFormat.java:112)
>
>
>
>
>
>
> at
> org.apache.hadoop.hive.ql.io.HiveInputFormat.addSplitsForGroup(HiveInputFormat.java:305)
>
>
>
>
>
>
> at
> org.apache.hadoop.hive.ql.io.HiveInputFormat.getSplits(HiveInputFormat.java:407)
>
>
>
>
>
>
> at
> org.apache.hadoop.hive.ql.exec.tez.HiveSplitGenerator.initialize(HiveSplitGenerator.java:155)
>
>
>
>
>
>
> at
> org.apache.tez.dag.app.dag.RootInputInitializerManager$InputInitializerCallable$1.run(RootInputInitializerManager.java:245)
>
>
>
>
>
> at
> org.apache.tez.dag.app.dag.RootInputInitializerManager$InputInitializerCallable$1.run(RootInputInitializerManager.java:239)
>
>
>
>
>
> 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:1491)
>
>
>
>
>
>
> at
> org.apache.tez.dag.app.dag.RootInputInitializerManager$InputInitializerCallable.call(RootInputInitializerManager.java:239)
>
>
>
>
>
> at
> org.apache.tez.dag.app.dag.RootInputInitializerManager$InputInitializerCallable.call(RootInputInitializerManager.java:226)
>
>
>
>
>
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>
>
>
>
>
>
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
>
>
>
>
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
>
>
>
>
>
> at java.lang.Thread.run(Thread.java:744)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)