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

the hadoop-daemons.sh fails with "no such file or directory" when used from a relative path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.5.0
    • None
    • None

    Description

      The new shell scripts fail with a relative directory:

      % current/bin/hadoop-daemons.sh start datanode
      node1: current/bin/..: No such file or directory
      node2: current/bin/..: No such file or directory

      The problem is that HADOOP_HOME is set to a relative directory and hadoop-daemons does a cd, breaking the other scripts.

      Attachments

        1. absolute-dir.patch
          0.5 kB
          Owen O'Malley

        Issue Links

          Activity

            People

              omalley Owen O'Malley
              omalley Owen O'Malley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: