[
https://issues.apache.org/jira/browse/HDFS-6646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinayakumar B updated HDFS-6646:
--------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.0.0)
2.6.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
committed to trunk and branch-2.
Thanks [~brahmareddy].
> [ HDFS Rolling Upgrade - Shell ] shutdownDatanode and getDatanodeInfo usage
> is missed
> --------------------------------------------------------------------------------------
>
> Key: HDFS-6646
> URL: https://issues.apache.org/jira/browse/HDFS-6646
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: tools
> Affects Versions: 2.4.1
> Reporter: Brahma Reddy Battula
> Assignee: Brahma Reddy Battula
> Fix For: 2.6.0
>
> Attachments: HDFS-6646.patch, HDFS-6646_1.patch
>
>
> Usage message is missed for shutdownDatanode and getdatanodeinfo
> Please check the following for same..(It's printing whole usage for dfsadmin)
> hdfs dfsadmin -shutdownDatanode
> Usage: java DFSAdmin
> Note: Administrative commands can only be run as the HDFS superuser.
> [-report]
> [-safemode enter | leave | get | wait]
> [-allowSnapshot <snapshotDir>]
> [-disallowSnapshot <snapshotDir>]
> [-saveNamespace]
> [-rollEdits]
> [-restoreFailedStorage true|false|check]
> [-refreshNodes]
> [-finalizeUpgrade]
> [-rollingUpgrade [<query|prepare|finalize>]]
> [-metasave filename]
> [-refreshServiceAcl]
> [-refreshUserToGroupsMappings]
> [-refreshSuperUserGroupsConfiguration]
> [-refreshCallQueue]
> [-printTopology]
> [-refreshNamenodes datanodehost:port]
> [-deleteBlockPool datanode-host:port blockpoolId [force]]
> [-setQuota <quota> <dirname>...<dirname>]
> [-clrQuota <dirname>...<dirname>]
> [-setSpaceQuota <quota> <dirname>...<dirname>]
> [-clrSpaceQuota <dirname>...<dirname>]
> [-setBalancerBandwidth <bandwidth in bytes per second>]
> [-fetchImage <local directory>]
> [-shutdownDatanode <datanode_host:ipc_port> [upgrade]]
> [-getDatanodeInfo <datanode_host:ipc_port>]
> [-help [cmd]]
> Generic options supported are
> -conf <configuration file> specify an application configuration file
> -D <property=value> use value for given property
> -fs <local|namenode:port> specify a namenode
> -jt <local|jobtracker:port> specify a job tracker
> -files <comma separated list of files> specify comma separated files to be
> copied to the map reduce cluster
> -libjars <comma separated list of jars> specify comma separated jar files
> to include in the classpath.
> -archives <comma separated list of archives> specify comma separated
> archives to be unarchived on the compute machines.
> The general command line syntax is
> bin/hadoop command [genericOptions] [commandOptions]
--
This message was sent by Atlassian JIRA
(v6.2#6252)