Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-615

OrderedWordCount with -DUSE_TEZ_SESSION=false throws NPE.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2.0
    • 0.2.0
    • None
    • None

    Description

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

      /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)
      

      Attachments

        1. TEZ-615.1.patch
          2 kB
          Hitesh Shah

        Activity

          People

            hitesh Hitesh Shah
            tassapola Tassapol Athiapinya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: