1. 程式人生 > >叢集間資料遷移報錯

叢集間資料遷移報錯

[[email protected] ~]$ hadoop distcp -update /user/hive/warehouse/cslc.db/ hdfs://172.26.xx.xx:8020/user/hive/warehouse/cslc.db/
18/12/24 10:27:06 ERROR tools.DistCp: Invalid arguments:
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category READ is not supported in state standby. Visit https://s.apache.org/sbnn-error

 

 

原因:

目標叢集的節點是namenode 的standby節點,更換為active節點即可。