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

CLASSPATH handling should be consolidated, debuggable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: None
    • Labels:
      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-01.patch
          19 kB
          Allen Wittenauer
        2. HADOOP-11013.patch
          9 kB
          Allen Wittenauer

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: