hadoop2.x 两个namenode 手动转换状态 问题记录

来源:互联网 发布:招淘宝兼职是真的吗 编辑:程序博客网 时间:2024/06/09 16:34
/bin/hdfs haadmin -transitionToActive hadoop1Automatic failover is enabled for NameNode at hadoop-senior02.ibeifeng.com/192.168.243.130:8020Refusing to manually manage HA state, since it may causea split-brain scenario or other incorrect state.If you are very sure you know what you are doing, please specify the forcemanual flag.bin/hdfs haadmin -transitionToActive --forcemanual nn1You have specified the --forcemanual flag. This flag is dangerous, as it can induce a split-brain scenario that WILL CORRUPT your HDFS namespace, possibly irrecoverably.    It is recommended not to use this flag, but instead to shut down the cluster and disable automatic failover if you prefer to manually manage your HA state.    You may abort safely by answering 'n' or hitting ^C now.    Are you sure you want to continue? (Y or N) y  
0 0
原创粉丝点击