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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.7.0
    • scripts
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: