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

Classpath should not be part of command line arguments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0, 0.22.0
    • 0.21.0
    • scripts
    • None
    • Reviewed

    Description

      Because bin/hadoop and bin/hdfs put the entire CLASSPATH in the command line arguments, it exceeds 4096 bytes, which is the maximum size that ps (or /proc) can work with. This makes looking for the processes difficult, since the output gets truncated for all components at the same point (e.g. NameNode, SecondaryNameNode, DataNode).

      The mapred sub-project does not have this problem, because it calls "export CLASSPATH" before the final exec. bin/hadoop and bin/hdfs should do the same thing

      Attachments

        1. HADOOP-6391.patch
          0.8 kB
          Cristian Ivascu

        Issue Links

          Activity

            People

              civascu Cristian Ivascu
              civascu Cristian Ivascu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: