hadoop 集群做了ha,今天重启了集群,原来master1机器是active,master2是standby,重启以后master1变成standby,master2变成active。而程序里读取hdfs的路径写的还是master1所以报了operation category read is not supported in state standby错。将程序路径改成master2,就好了
operation category read is not supported in state standby
最新推荐文章于 2024-03-23 17:12:06 发布