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

Job history logs do not log anything when JVM fails to start

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Ubuntu 64bit

      Description

      If the -Xmx line in a java invocation has errors such as is possible with quoting issues as would be possible with hive

      hive> set mapred.map.child.java.opts="-server -Xmx2248m -Djava.net.preferIPv4Stack=true";

      The diagnostic error message says

      FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask
      

      The job history UI is rather unhelpful and the UI says

      Attmpt state missing from History : marked as KILLED
      

      And the log files are not available and instead show

      Logs not available for attempt_1365673149565_0002_m_000000_3. Aggregation may not be complete, Check back later or try the nodemanager at :-1
      

        Attachments

        1. yarn-error.png
          23 kB
          Gopal Vijayaraghavan

          Issue Links

            Activity

              People

              • Assignee:
                jianhe Jian He
                Reporter:
                gopalv Gopal Vijayaraghavan
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: