[ 
https://issues.apache.org/jira/browse/HDFS-11204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15721280#comment-15721280
 ] 

Yiqun Lin edited comment on HDFS-11204 at 12/5/16 5:31 AM:
-----------------------------------------------------------

Attach the patch. The new output infos:
{code}
Usage: hdfs zkfc [ -formatZK [-force] [-nonInteractive] ]
        -force: formats the znode if the znode exists.
        -nonInteractive: formats the znode aborts if the znode exists,
        unless -force option is specified.
{code}
Thanks for the review.


was (Author: linyiqun):
Attach the patch. Thanks for the review.

> The usage of formating ZK command should be updated
> ---------------------------------------------------
>
>                 Key: HDFS-11204
>                 URL: https://issues.apache.org/jira/browse/HDFS-11204
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Minor
>         Attachments: HDFS-11204.001.patch
>
>
> Currently the usage of the command {{hdfs zkfc -formatZK}} is not concrete. 
> The introduction of parameters  {{-force}}, {{-nonInteractive}} is missing in 
> documentation and the help message. Actually, the function of these are very 
> similar to namenode format. We should update these since it will let users 
> know how to use this command easily. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to