Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-4427

start-dfs.sh generates malformed ssh command when not running with native libs

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: scripts
    • Labels:
      None

      Description

      After HADOOP-8712 the start-dfs.sh script is generating malformed ssh commands when the native hadoop libraries are not present. This is because hdfs getconf is printing a warning, and that warning is accidentally interpreted as one of the machines to target for ssh.

      Here's an example output of hdfs getconf:

      $ hdfs getconf -namenodes 2>/dev/null
      2013-01-22 21:03:59,543 WARN  util.NativeCodeLoader (NativeCodeLoader.java:<clinit>(62)) - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      localhost
      

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Jason Lowe
            • Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:

                Development