Hadoop Common
  1. Hadoop Common
  2. HADOOP-2835

"hadoop fs -help ..." should not require a NameNode to show help messages

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fs
    • Labels:
      None

      Description

      For example, if we do "hadoop fs -help get" before started a NameNode, we will get

      bash-3.2$ ./bin/hadoop fs -help get
      08/02/14 15:59:52 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 1 time(s).
      08/02/14 15:59:54 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 2 time(s).
      08/02/14 15:59:56 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 3 time(s).
      08/02/14 15:59:58 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 4 time(s).
      08/02/14 16:00:00 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 5 time(s).
      08/02/14 16:00:02 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 6 time(s).
      08/02/14 16:00:04 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 7 time(s).
      08/02/14 16:00:06 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 8 time(s).
      08/02/14 16:00:08 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 9 time(s).
      08/02/14 16:00:10 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 10 time(s).
      Bad connection to FS. command aborted.
      

        Issue Links

          Activity

          Tsz Wo Nicholas Sze created issue -
          Tsz Wo Nicholas Sze made changes -
          Field Original Value New Value
          Summary hadoop fs -help "hadoop fs -help ..." should not require a NameNode to show help messages
          Priority Major [ 3 ] Minor [ 4 ]
          Description For example, if we do "hadoop fs -help get" before started a NameNode, we will get
          {code}
          bash-3.2$ ./bin/hadoop fs -help get
          08/02/14 15:59:52 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 1 time(s).
          08/02/14 15:59:54 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 2 time(s).
          08/02/14 15:59:56 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 3 time(s).
          08/02/14 15:59:58 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 4 time(s).
          08/02/14 16:00:00 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 5 time(s).
          08/02/14 16:00:02 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 6 time(s).
          08/02/14 16:00:04 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 7 time(s).
          08/02/14 16:00:06 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 8 time(s).
          08/02/14 16:00:08 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 9 time(s).
          08/02/14 16:00:10 INFO ipc.Client: Retrying connect to server: some-host:some-port. Already tried 10 time(s).
          Bad connection to FS. command aborted.
          {code}
          Component/s fs [ 12310689 ]
          Hide
          Tsz Wo Nicholas Sze added a comment -

          This happens only if fs.default.name is set to hdfs in conf.

          Show
          Tsz Wo Nicholas Sze added a comment - This happens only if fs.default.name is set to hdfs in conf.
          Tsz Wo Nicholas Sze made changes -
          Link This issue is related to HADOOP-5749 [ HADOOP-5749 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue is related to HADOOP-6640 [ HADOOP-6640 ]
          Tsz Wo Nicholas Sze made changes -
          Link This issue is duplicated by HADOOP-8494 [ HADOOP-8494 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development