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

Remove definition of HADOOP_HOME and HADOOP_PREFIX from hadoop-env.sh.template

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • None
    • 0.20.205.0, 0.23.0
    • None
    • None
    • Java 6, RHEL 5.5

    Description

      The file structure layout proposed in HADOOP-6255 was designed to remove the need of using HADOOP_HOME environment to locate hadoop bits. The file structure layout should be able to map to /usr or system directories, therefore HADOOP_HOME is renamed to HADOOP_PREFIX to be more concise. HADOOP_PREFIX should not be exported to the user. If the user use hadoop-setup-single-node.sh or hadoop-setup-conf.sh to configure hadoop, the current scripts put HADOOP_PREFIX/HADOOP_HOME in hadoop-env.sh. The config template generation code should remove reference of HADOOP_PREFIX/HADOOP_HOME from hadoop-env.sh.

      Attachments

        1. HADOOP-7388.patch
          0.5 kB
          Eric Yang

        Issue Links

          Activity

            People

              eyang Eric Yang
              eyang Eric Yang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: