Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7786

NullPointerException while launching ApplicationMaster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0, 3.0.0-beta1
    • 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.3
    • None
    • None

    Description

      Before launching the ApplicationMaster, send kill command to the job, then some Null pointer appears:

      
      2017-11-25 21:27:25,333 INFO org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher: Error launching appattempt_1511616410268_0001_000001. Got exception: java.lang.NullPointerException
       at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.setupTokens(AMLauncher.java:205)
       at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.createAMContainerLaunchContext(AMLauncher.java:193)
       at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.launch(AMLauncher.java:112)
       at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.run(AMLauncher.java:304)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
       at java.lang.Thread.run(Thread.java:745)
      
      

      Attachments

        1. YARN-7786.patch
          2 kB
          lujie
        2. YARN-7786_6.patch
          9 kB
          lujie
        3. YARN-7786_5.patch
          9 kB
          lujie
        4. YARN-7786_4.patch
          7 kB
          lujie
        5. YARN-7786_3.patch
          6 kB
          lujie
        6. YARN-7786_2.patch
          6 kB
          lujie
        7. YARN-7786_1.patch
          2 kB
          lujie
        8. resourcemanager.log
          56 kB
          lujie

        Issue Links

          Activity

            People

              xiaoheipangzi lujie
              xiaoheipangzi lujie
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: