hbase
zapoul
这个作者很懒,什么都没留下…
展开
-
hbase java代码增删查改
package com.zapoul;import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.hbase.*;import org.apache.hadoop.hbase.client.*;import org.apache.hadoop.hbase.util.Bytes;import java.io...原创 2020-02-27 16:53:19 · 164 阅读 · 0 评论 -
java连接hbase报错Caused by: java.lang.IllegalArgumentException: java.net.UnknownHostException: mycluster
java连接hbase报错,因为hadoop配置了ha高可用,需要把hadoop的hdfs.xml文件放到resources文件夹就好了log4j:WARN No appenders could be found for logger (org.apache.hadoop.security.Groups).log4j:WARN Please initialize the log4j sy...原创 2020-02-27 16:24:21 · 3251 阅读 · 0 评论