将Apache Hadoop从2.4.1升级到2.6.0 [英] Upgrading Apache Hadoop from 2.4.1 to 2.6.0
问题描述
我想将2.4.1升级到2.6稳定版本.就像用最新的文件夹内容替换所有文件夹内容一样简单吗?
I want to upgrade 2.4.1 to 2.6 stable version. Is it as simple as replacing all the folder contents with the latest ones?
推荐答案
如果停机时间不成问题,只需关闭集群(bin/stop-dfs.sh
),使用hadoop-2.6解压缩存档,复制您要配置的配置文件. ve在2.4.1中更改为2.6,更改hadoop
链接,以使其现在链接到新的hadoop-2.6文件夹,然后运行以下命令:
If the downtime is not an issue, just shut down the cluster (bin/stop-dfs.sh
), unzip the archive with hadoop-2.6, copy configuration files that you've changed in 2.4.1 into 2.6, change the hadoop
link so that it's now linked to the new hadoop-2.6 folder and run this command:
bin/start-dfs.sh -upgrade
此后,群集应启动并正常工作.
After this the cluster should be started and working.
You may find more information about hadoop upgrade here
这篇关于将Apache Hadoop从2.4.1升级到2.6.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!