Notahost:portpair:?

2016-08-29 来源:网络转载 编辑:
默认
特大
宋体
黑体
雅黑
楷体
条评论

问题:Not a host:port pair:

java.lang.IllegalArgumentException: Not a host:port pair: [email protected],60020,1430896319612
	at org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:60)
	at org.apache.hadoop.hbase.zookeeper.RootRegionTracker.dataToHServerAddress(RootRegionTracker.java:82)
	at org.apache.hadoop.hbase.zookeeper.RootRegionTracker.waitRootRegionLocation(RootRegionTracker.java:73)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:578)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:558)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:687)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:589)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:558)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:687)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:593)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:558)
	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:171)
	at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:145)
	at com.lixue.storm.graduate.hbase.dao.impl.HBaseDAOImpl.save(HBaseDAOImpl.java:45)
	at com.lixue.storm.graduate.hbase.dao.impl.HBaseDAOImpl.main(HBaseDAOImpl.java:212)

原因:

HBase服务端版本和客户端使用的版本不一致!


解决:

修改为一致版本即可!

300*250
ad640*90
Copyright ©  2010-2016 www.alonely.com.cn 版权所有 浙ICP备09022494号-4 关于我们联系我们友情链接站点地图TAG标签 免责声明