guyuqi opened a new pull request, #913:
URL: https://github.com/apache/bigtop/pull/913
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/BIGTOP/How+to+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'BIGTOP-3638: Your PR title ...'.
-->
### Description of PR
When uninstalled Hadoop-2.10 and reinstalled Hadoop-3.2, it would fail to
format namenode and The user have to restart NameNode with the "-rollingUpgrade
started" option if a rolling upgrade is already started; or restart NameNode
with the "-upgrade" option to start a new upgrade.
It would confuse some new BIgtop Hadoop users.
It's better to remove deprecated Hadoop fs-image file after uninstalling
HDFS-namenode when uninstalling package.
### How was this patch tested?
Build Hadoop by Bigtop and install/remove Hadoop package.
```
e.g. :
rpm -e hadoop-hdfs-3.2.3-1.el7.x86_64.rpm
or
rpm -qa | grep hadoop | sudo xargs yum -y remove
```
### For code changes:
- [ ] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'BIGTOP-3638. Your PR title ...')?
- [ ] Make sure that newly added files do not have any licensing issues.
When in doubt refer to https://www.apache.org/licenses/
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]