Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11013

CLASSPATH handling should be consolidated, debuggable

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • None
    • None

    Description

      As part of HADOOP-9902, java execution across many different shell bits were consolidated down to (effectively) two routines. Prior to calling those two routines, the CLASSPATH is exported. This export should really be getting handled in the exec function and not in the individual shell bits.

      Additionally, it would be good if there was:

      echo ${CLASSPATH} > /dev/null
      

      so that bash x would show the content of the classpath or even a '-debug classpath' option that would echo the classpath to the screen prior to java exec to help with debugging.

      Attachments

        1. HADOOP-11013.patch
          9 kB
          Allen Wittenauer
        2. HADOOP-11013-01.patch
          19 kB
          Allen Wittenauer

        Issue Links

          Activity

            People

              aw Allen Wittenauer
              aw Allen Wittenauer
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: