Version 2 (modified by waue, 16 years ago) (diff) |
---|
Hadoop分佈式文件系統使用指南二
升級
- 先看狀態
$ bin/hadoop dfsadmin -upgradeProgress status There are no upgrades in progress.
- 停止集群並部署新版本的Hadoop
- 啟動
$ bin/start-dfs.sh -upgrade
退回
- 停止集群並且部署老版本的Hadoop
- 退回之前版本
$ bin/start-dfs.h -rollback