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

HADOOP_OPTS not picked up by hadoop command

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha, 2.0.4-alpha
    • Fix Version/s: 2.1.0-beta
    • Component/s: bin, conf
    • Labels:
      None

      Description

      When migrating from hadoop 1 to hadoop 2, one thing caused our users grief are those non-backward-compatible changes. This JIRA is to fix one of those changes:
      HADOOP_OPTS is not picked up any more by hadoop command

      With Hadoop 1, HADOOP_OPTS will be picked up by hadoop command. With Hadoop 2, HADOOP_OPTS will be overwritten by the line in conf/hadoop_env.sh :

      export HADOOP_OPTS="-Djava.net.preferIPv4Stack=true"

      We should fix this.

        Attachments

        1. HADOOP-9625.patch
          1 kB
          Paul Han
        2. HADOOP-9625.patch
          0.8 kB
          Paul Han
        3. HADOOP-9625-branch-2.0.5-alpha.patch
          0.8 kB
          Paul Han
        4. HADOOP-9625-release-2.0.5-alpha-rc2.patch
          0.8 kB
          Paul Han

          Activity

            People

            • Assignee:
              paulhan Paul Han
              Reporter:
              paulhan Paul Han
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 12h
                12h
                Remaining:
                Remaining Estimate - 12h
                12h
                Logged:
                Time Spent - Not Specified
                Not Specified