1.遇到下面的异常一般是master和regionserver的时间不一致,导致抛出异常
Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(org.apache.hadoop.hbase.ClockOutOfSyncException): org.apache.hadoop.hbase.ClockOutOfSyncException: Server node7,60020,1461568
459795 has been rejected; Reported time is too far out of sync with master. Time difference of 71036ms > max allowed of 30000ms
解决方法:同步master和regionserver的系统时间
我使用命令ntpdate ntp.sjtu.edu.cn (上海交通大学网络中心NTP服务器地址)同步时间,
时间同步后重启集群即可。