Hadoop Common
  1. Hadoop Common
  2. HADOOP-11719

[Fsshell] Remove bin/hadoop reference from GenericOptionsParser default help text

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.8.0
    • Component/s: scripts
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Scenario:
      ----------
      Execute any fsshell command with invalid options

      Like ./hdfs haadmin -transitionToActive...

      Here it is logging as following..

      bin/hadoop command [genericOptions] [commandOptions]...

      Expected: Here help message is misleading to user saying that bin/hadoop that is not actually user ran

      it's better to log bin/hdfs..Anyway hadoop is deprecated..

      1. HADOOP-11719-001.patch
        0.8 kB
        Brahma Reddy Battula
      2. HDFS-3387_updated.patch
        0.8 kB
        Brahma Reddy Battula
      3. HDFS-3387.patch
        0.5 kB
        Brahma Reddy Battula

        Activity

        Harsh J made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 2.8.0 [ 12329058 ]
        Resolution Fixed [ 1 ]
        Harsh J made changes -
        Affects Version/s 2.0.0-alpha [ 12320352 ]
        Brahma Reddy Battula made changes -
        Priority Trivial [ 5 ] Minor [ 4 ]
        Brahma Reddy Battula made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 2.6.0 [ 12327179 ]
        Brahma Reddy Battula made changes -
        Attachment HADOOP-11719-001.patch [ 12707374 ]
        Brahma Reddy Battula made changes -
        Assignee Brahma Reddy Battula [ brahmareddy ]
        Harsh J made changes -
        Summary [Fsshell]It's better to provide hdfs instead of hadoop in GenericOptionsParser [Fsshell] Remove bin/hadoop reference from GenericOptionsParser default help text
        Harsh J made changes -
        Project Hadoop HDFS [ 12310942 ] Hadoop Common [ 12310240 ]
        Key HDFS-3387 HADOOP-11719
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Affects Version/s 2.0.0-alpha [ 12320352 ]
        Affects Version/s 2.0.0-alpha [ 12320353 ]
        Component/s scripts [ 12311393 ]
        Component/s hdfs-client [ 12312928 ]
        Harsh J made changes -
        Labels newbie
        Harsh J made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Arun C Murthy made changes -
        Fix Version/s 2.0.0-alpha [ 12320353 ]
        Fix Version/s 3.0.0 [ 12320356 ]
        Brahma Reddy Battula made changes -
        Attachment HDFS-3387_updated.patch [ 12526384 ]
        Brahma Reddy Battula made changes -
        Attachment HDFS-3387.patch [ 12526018 ]
        Brahma Reddy Battula made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Fix Version/s 2.0.0 [ 12320353 ]
        Fix Version/s 3.0.0 [ 12320356 ]
        Brahma Reddy Battula created issue -

          People

          • Assignee:
            Brahma Reddy Battula
            Reporter:
            Brahma Reddy Battula
          • Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development