Hadoop Common
  1. Hadoop Common
  2. HADOOP-10492

Help Commands needs change after deprecation

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Tags:
      help, deprecation

      Description

      As hadoop dfs is deprecated, the help should show usage with HDFS

      e.g in the following command it still refers to
      Usage: hadoop fs [generic options]

      D:\Apps\java\BI\hadoop\hw\hdp\hadoop-2.2.0.2.0.6.0-0009>hdfs dfs
      Usage: hadoop fs [generic options]
      [-appendToFile <localsrc> ... <dst>]
      [-cat [-ignoreCrc] <src> ...]
      [-checksum <src> ...]
      [-chgrp [-R] GROUP PATH...]
      [-chmod [-R] <MODE[,MODE]... | OCTALMODE> PATH...]
      [-chown [-R] [OWNER][:[GROUP]] PATH...]
      [-copyFromLocal [-f] [-p] <localsrc> ... <dst>]
      [-copyToLocal [-p] [-ignoreCrc] [-crc] <src> ... <localdst>]
      [-count [-q] <path> ...]
      [-cp [-f] [-p] <src> ... <dst>]
      [-createSnapshot <snapshotDir> [<snapshotName>]]
      [-deleteSnapshot <snapshotDir> <snapshotName>]
      [-df [-h] [<path> ...]]
      [-du [-s] [-h] <path> ...]

      1. HADOOP-10492.patch
        0.7 kB
        Kenji Kikushima

        Activity

        Brahma Reddy Battula made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Not A Problem [ 8 ]
        Kenji Kikushima made changes -
        Attachment HADOOP-10492.patch [ 12642816 ]
        Raja Nagendra Kumar made changes -
        Field Original Value New Value
        Description As hadoop fs is deprecated, the help should show usage with HDFS

        e.g in the following command it still refers to
        Usage: hadoop fs [generic options]

        D:\Apps\java\BI\hadoop\hw\hdp\hadoop-2.2.0.2.0.6.0-0009>hdfs dfs
        Usage: hadoop fs [generic options]
                [-appendToFile <localsrc> ... <dst>]
                [-cat [-ignoreCrc] <src> ...]
                [-checksum <src> ...]
                [-chgrp [-R] GROUP PATH...]
                [-chmod [-R] <MODE[,MODE]... | OCTALMODE> PATH...]
                [-chown [-R] [OWNER][:[GROUP]] PATH...]
                [-copyFromLocal [-f] [-p] <localsrc> ... <dst>]
                [-copyToLocal [-p] [-ignoreCrc] [-crc] <src> ... <localdst>]
                [-count [-q] <path> ...]
                [-cp [-f] [-p] <src> ... <dst>]
                [-createSnapshot <snapshotDir> [<snapshotName>]]
                [-deleteSnapshot <snapshotDir> <snapshotName>]
                [-df [-h] [<path> ...]]
                [-du [-s] [-h] <path> ...]
        As hadoop dfs is deprecated, the help should show usage with HDFS

        e.g in the following command it still refers to
        Usage: hadoop fs [generic options]

        D:\Apps\java\BI\hadoop\hw\hdp\hadoop-2.2.0.2.0.6.0-0009>hdfs dfs
        Usage: hadoop fs [generic options]
                [-appendToFile <localsrc> ... <dst>]
                [-cat [-ignoreCrc] <src> ...]
                [-checksum <src> ...]
                [-chgrp [-R] GROUP PATH...]
                [-chmod [-R] <MODE[,MODE]... | OCTALMODE> PATH...]
                [-chown [-R] [OWNER][:[GROUP]] PATH...]
                [-copyFromLocal [-f] [-p] <localsrc> ... <dst>]
                [-copyToLocal [-p] [-ignoreCrc] [-crc] <src> ... <localdst>]
                [-count [-q] <path> ...]
                [-cp [-f] [-p] <src> ... <dst>]
                [-createSnapshot <snapshotDir> [<snapshotName>]]
                [-deleteSnapshot <snapshotDir> <snapshotName>]
                [-df [-h] [<path> ...]]
                [-du [-s] [-h] <path> ...]
        Raja Nagendra Kumar created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Raja Nagendra Kumar
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development