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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.7.0
    • Component/s: scripts
    • Labels:
      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. config.patch
          2 kB
          Lee Faris

          Issue Links

            Activity

              People

              • Assignee:
                cutting Doug Cutting
                Reporter:
                leef Lee Faris
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: