You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/02/19 13:29:02 UTC
[GitHub] [ozone] smengcl opened a new pull request #1944: HDDS-4849. Improve Ozone admin shell decommission/recommission/maintenance commands user experience
smengcl opened a new pull request #1944:
URL: https://github.com/apache/ozone/pull/1944
https://issues.apache.org/jira/browse/HDDS-4849
1. Right now running `ozone admin datanode decommission` command alone doesn't give any feedback.
With patch:
```bash
bash-4.2$ ozone admin datanode decommission
Incomplete command
Usage: ozone admin datanode decommission [-hV] [--scm=<scm>] [<hosts>...]
Decommission a datanode
[<hosts>...] List of fully qualified host names
-h, --help Show this help message and exit.
--scm=<scm> The destination scm (host:port)
-V, --version Print version information and exit.
```
2. When a decommission command is executed successfully, it lacks feedback on the client (it does log on the server side
3. though).
With patch:
```bash
bash-4.2$ ozone admin datanode decommission 172.18.0.7 172.18.0.2
Started decommissioning datanode(s):
172.18.0.7
172.18.0.2
```
3. Improve decommission failure message due to host/port resolution.
With patch:
```bash
bash-4.2$ ozone admin datanode decommission 172.18.0.71
Host 172.18.0.71 (172.18.0.71) is not running any datanodes registered with SCM. Please check the host name.
bash-4.2$ ozone admin datanode decommission 172.18.0.7:9999
Host 172.18.0.7:9999 is running a datanode registered with SCM, but the port number doesn't match. Please check the port number.
```
Same for recommission and maintenance commands.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] smengcl merged pull request #1944: HDDS-4849. Improve Ozone admin shell decommission/recommission/maintenance commands user experience
Posted by GitBox <gi...@apache.org>.
smengcl merged pull request #1944:
URL: https://github.com/apache/ozone/pull/1944
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] smengcl commented on pull request #1944: HDDS-4849. Improve Ozone admin shell decommission/recommission/maintenance commands user experience
Posted by GitBox <gi...@apache.org>.
smengcl commented on pull request #1944:
URL: https://github.com/apache/ozone/pull/1944#issuecomment-782595531
Thanks @avijayanhwx for the review.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org