You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Tassapol Athiapinya (JIRA)" <ji...@apache.org> on 2013/11/14 18:27:22 UTC

[jira] [Created] (TEZ-615) OrderedWordCount with -DUSE_TEZ_SESSION=false returns NPE.

Tassapol Athiapinya created TEZ-615:
---------------------------------------

             Summary: OrderedWordCount with -DUSE_TEZ_SESSION=false returns NPE.
                 Key: TEZ-615
                 URL: https://issues.apache.org/jira/browse/TEZ-615
             Project: Apache Tez
          Issue Type: Bug
    Affects Versions: 0.2.0
            Reporter: Tassapol Athiapinya


Run OrderedWordCount with -DUSE_TEZ_SESSION=false. NullPointerException is thrown.

{code}
/usr/lib/hadoop/bin/hadoop jar
/usr/lib/tez/lib/tez-mapreduce-examples.jar
orderedwordcount "-DUSE_TEZ_SESSION=false" tezSimpleSessionOffInput
tezSimpleSessionOffInputOutput
13/11/14 04:58:55 INFO client.RMProxy: Connecting to ResourceManager 
13/11/14 04:58:55 INFO examples.OrderedWordCount: Running OrderedWordCount
DAG, dagIndex=1, inputPath=tezSimpleSessionOffInput,
outputPath=tezSimpleSessionOffInputOutput
13/11/14 04:58:56 INFO examples.OrderedWordCount: Submitting DAG as a new
Tez Application java.lang.NullPointerException
	at
org.apache.tez.client.TezClientUtils.createApplicationSubmissionContext(Te
zClientUtils.java:367)
	at
org.apache.tez.client.TezClient.submitDAGApplication(TezClient.java:84)
	at
org.apache.tez.client.TezClient.submitDAGApplication(TezClient.java:75)
	at
org.apache.tez.mapreduce.examples.OrderedWordCount.main(OrderedWordCount.j
ava:398)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
pl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at
org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriv
er.java:72)
	at
org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144)
	at
org.apache.tez.mapreduce.examples.ExampleDriver.main(ExampleDriver.java:88
)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
pl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)