Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8628

Update missing command option for fetchdt

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: documentation
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Update missing command option for fetchdt

      Expected:

      fetchdt <opts> <token file>
      Options:
        --webservice <url>  Url to contact NN on (starts with http:// or https://)
        --renewer <name>    Name of the delegation token renewer
        --cancel            Cancel the delegation token
        --renew             Renew the delegation token.  Delegation token must have been fetched using the --renewer <name> option.
        --print             Print the delegation token
      

      Actual:

      Usage: hdfs fetchdt [--webservice <namenode_http_addr>] <path>
      
      COMMAND_OPTION				Description
      --webservice https_address		   use http protocol instead of RPC
      fileName				                   File name to store the token into.
      
      1. HDFS-8628.1.patch
        1 kB
        J.Andreina
      2. HDFS-8628.2.patch
        1 kB
        J.Andreina
      3. HDFS-8628.3.patch
        1 kB
        J.Andreina
      4. HDFS-8628.4.patch
        1 kB
        J.Andreina
      5. HDFS-8628.5.patch
        1 kB
        J.Andreina

        Issue Links

          Activity

          Hide
          andreina J.Andreina added a comment -

          Attached an initial patch
          Please review.

          Show
          andreina J.Andreina added a comment - Attached an initial patch Please review.
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 3m 3s Pre-patch trunk compilation is healthy.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 release audit 0m 20s The applied patch does not increase the total number of release audit warnings.
          -1 site 1m 15s Site compilation is broken.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
              4m 41s  



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12742111/HDFS-8628.1.patch
          Optional Tests site
          git revision trunk / 8ef07f7
          site https://builds.apache.org/job/PreCommit-HDFS-Build/11497/artifact/patchprocess/patchSiteWarnings.txt
          Java 1.7.0_55
          uname Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11497/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 3m 3s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 release audit 0m 20s The applied patch does not increase the total number of release audit warnings. -1 site 1m 15s Site compilation is broken. +1 whitespace 0m 0s The patch has no lines that end in whitespace.     4m 41s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12742111/HDFS-8628.1.patch Optional Tests site git revision trunk / 8ef07f7 site https://builds.apache.org/job/PreCommit-HDFS-Build/11497/artifact/patchprocess/patchSiteWarnings.txt Java 1.7.0_55 uname Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11497/console This message was automatically generated.
          Hide
          andreina J.Andreina added a comment -

          Attached an updated patch.
          Please review

          Show
          andreina J.Andreina added a comment - Attached an updated patch. Please review
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 2m 55s Pre-patch trunk compilation is healthy.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 release audit 0m 20s The applied patch does not increase the total number of release audit warnings.
          -1 site 1m 11s Site compilation is broken.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
              4m 29s  



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12742312/HDFS-8628.2.patch
          Optional Tests site
          git revision trunk / fe6c1bd
          site https://builds.apache.org/job/PreCommit-HDFS-Build/11515/artifact/patchprocess/patchSiteWarnings.txt
          Java 1.7.0_55
          uname Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11515/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 2m 55s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 release audit 0m 20s The applied patch does not increase the total number of release audit warnings. -1 site 1m 11s Site compilation is broken. +1 whitespace 0m 0s The patch has no lines that end in whitespace.     4m 29s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12742312/HDFS-8628.2.patch Optional Tests site git revision trunk / fe6c1bd site https://builds.apache.org/job/PreCommit-HDFS-Build/11515/artifact/patchprocess/patchSiteWarnings.txt Java 1.7.0_55 uname Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11515/console This message was automatically generated.
          Hide
          andreina J.Andreina added a comment -

          Updated the patch

          Show
          andreina J.Andreina added a comment - Updated the patch
          Hide
          hadoopqa Hadoop QA added a comment -



          +1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 2m 54s Pre-patch trunk compilation is healthy.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 release audit 0m 19s The applied patch does not increase the total number of release audit warnings.
          +1 site 2m 57s Site still builds.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
              6m 15s  



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12742316/HDFS-8628.3.patch
          Optional Tests site
          git revision trunk / fe6c1bd
          Java 1.7.0_55
          uname Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11516/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 pre-patch 2m 54s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 release audit 0m 19s The applied patch does not increase the total number of release audit warnings. +1 site 2m 57s Site still builds. +1 whitespace 0m 0s The patch has no lines that end in whitespace.     6m 15s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12742316/HDFS-8628.3.patch Optional Tests site git revision trunk / fe6c1bd Java 1.7.0_55 uname Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11516/console This message was automatically generated.
          Hide
          vinayrpet Vinayakumar B added a comment -

          1. hdfs command execution shows below output for '--renew' option.

           --renew             Renew the delegation token.  Delegation token must have been fetched using the --renewer <name> option.

          Same should be updated in doc too.

          2.

          	| *token_file_path* | Token info file path. |

          Description, 'File path to store the token into.' looks better for understanding.

          Show
          vinayrpet Vinayakumar B added a comment - 1. hdfs command execution shows below output for '--renew' option. --renew Renew the delegation token. Delegation token must have been fetched using the --renewer <name> option. Same should be updated in doc too. 2. | *token_file_path* | Token info file path. | Description, 'File path to store the token into.' looks better for understanding.
          Hide
          andreina J.Andreina added a comment -

          Thanks Vinayakumar B for reviewing
          Updated the patch as per your comments.

          Show
          andreina J.Andreina added a comment - Thanks Vinayakumar B for reviewing Updated the patch as per your comments.
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 3m 53s Pre-patch trunk compilation is healthy.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 release audit 0m 27s The applied patch does not increase the total number of release audit warnings.
          -1 site 2m 8s Site compilation is broken.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
              6m 32s  



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12742488/HDFS-8628.4.patch
          Optional Tests site
          git revision trunk / c815344
          site https://builds.apache.org/job/PreCommit-HDFS-Build/11526/artifact/patchprocess/patchSiteWarnings.txt
          Java 1.7.0_55
          uname Linux asf903.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11526/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 3m 53s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 release audit 0m 27s The applied patch does not increase the total number of release audit warnings. -1 site 2m 8s Site compilation is broken. +1 whitespace 0m 0s The patch has no lines that end in whitespace.     6m 32s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12742488/HDFS-8628.4.patch Optional Tests site git revision trunk / c815344 site https://builds.apache.org/job/PreCommit-HDFS-Build/11526/artifact/patchprocess/patchSiteWarnings.txt Java 1.7.0_55 uname Linux asf903.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11526/console This message was automatically generated.
          Hide
          vinayrpet Vinayakumar B added a comment -
          +| `--renew` | Renew the delegation token.  Delegation token must have been fetched using the --renewer <name> option.

          Just remove angular braces in this line.

          Show
          vinayrpet Vinayakumar B added a comment - +| `--renew` | Renew the delegation token. Delegation token must have been fetched using the --renewer <name> option. Just remove angular braces in this line.
          Hide
          andreina J.Andreina added a comment -

          Updated the patch file.
          Please review.

          Show
          andreina J.Andreina added a comment - Updated the patch file. Please review.
          Hide
          hadoopqa Hadoop QA added a comment -



          +1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 3m 31s Pre-patch trunk compilation is healthy.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 release audit 0m 22s The applied patch does not increase the total number of release audit warnings.
          +1 site 3m 26s Site still builds.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
              7m 22s  



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12742489/HDFS-8628.5.patch
          Optional Tests site
          git revision trunk / c815344
          Java 1.7.0_55
          uname Linux asf903.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11527/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 pre-patch 3m 31s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 release audit 0m 22s The applied patch does not increase the total number of release audit warnings. +1 site 3m 26s Site still builds. +1 whitespace 0m 0s The patch has no lines that end in whitespace.     7m 22s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12742489/HDFS-8628.5.patch Optional Tests site git revision trunk / c815344 Java 1.7.0_55 uname Linux asf903.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/11527/console This message was automatically generated.
          Hide
          vinayrpet Vinayakumar B added a comment -

          +1 for latest update.
          Will commit soon.

          Show
          vinayrpet Vinayakumar B added a comment - +1 for latest update. Will commit soon.
          Hide
          vinayrpet Vinayakumar B added a comment -

          Committed to trunk and branch-2.
          Thanks for the contribution J.Andreina.

          Show
          vinayrpet Vinayakumar B added a comment - Committed to trunk and branch-2. Thanks for the contribution J.Andreina .
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #8085 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8085/)
          HDFS-8628. Update missing command option for fetchdt (Contributed by J.Andreina) (vinayakumarb: rev fde20ffcef6dcd477f501b5f80c86665296711c5)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8085 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8085/ ) HDFS-8628 . Update missing command option for fetchdt (Contributed by J.Andreina) (vinayakumarb: rev fde20ffcef6dcd477f501b5f80c86665296711c5) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk #2171 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2171/)
          HDFS-8628. Update missing command option for fetchdt (Contributed by J.Andreina) (vinayakumarb: rev fde20ffcef6dcd477f501b5f80c86665296711c5)

          • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2171 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2171/ ) HDFS-8628 . Update missing command option for fetchdt (Contributed by J.Andreina) (vinayakumarb: rev fde20ffcef6dcd477f501b5f80c86665296711c5) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #232 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/232/)
          HDFS-8628. Update missing command option for fetchdt (Contributed by J.Andreina) (vinayakumarb: rev fde20ffcef6dcd477f501b5f80c86665296711c5)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #232 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/232/ ) HDFS-8628 . Update missing command option for fetchdt (Contributed by J.Andreina) (vinayakumarb: rev fde20ffcef6dcd477f501b5f80c86665296711c5) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2189 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2189/)
          HDFS-8628. Update missing command option for fetchdt (Contributed by J.Andreina) (vinayakumarb: rev fde20ffcef6dcd477f501b5f80c86665296711c5)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2189 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2189/ ) HDFS-8628 . Update missing command option for fetchdt (Contributed by J.Andreina) (vinayakumarb: rev fde20ffcef6dcd477f501b5f80c86665296711c5) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #241 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/241/)
          HDFS-8628. Update missing command option for fetchdt (Contributed by J.Andreina) (vinayakumarb: rev fde20ffcef6dcd477f501b5f80c86665296711c5)

          • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #241 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/241/ ) HDFS-8628 . Update missing command option for fetchdt (Contributed by J.Andreina) (vinayakumarb: rev fde20ffcef6dcd477f501b5f80c86665296711c5) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          ajisakaa Akira Ajisaka added a comment -

          Hi Vinayakumar B, can I backport this to branch-2.7?

          Show
          ajisakaa Akira Ajisaka added a comment - Hi Vinayakumar B , can I backport this to branch-2.7?

            People

            • Assignee:
              andreina J.Andreina
              Reporter:
              andreina J.Andreina
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development