![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hbase
江南老画船
这个作者很懒,什么都没留下…
展开
-
hbase shell基本操作
hbase shell 命令 描述alter 修改列族(column family)模式count 统计表中行的数量create 创建表describe 显示表相关的详细信息delete 删除指定对象的值(可以为表,行,列对应的值,另外也可以指定时间戳的值)deleteall 删除指定行的所有元素值dis...原创 2019-04-09 15:45:37 · 318 阅读 · 0 评论 -
spark写入hbase时报错java.lang.IllegalArgumentException: Can not create a Path from a null string
在使用setAsNewAPIHadoopDataset写数据到Hbase时发生如下错误:java.lang.IllegalArgumentException: Can not create a Path from a null string at org.apache.hadoop.fs.Path.checkPathArg(Path.java:123) at or...转载 2019-04-29 11:03:52 · 1305 阅读 · 0 评论 -
代码加载协处理器统计hbase表行数
package endPointBatchDel;import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.hbase.*;import org.apache.hadoop.hbase.client.Connection;import org.apache.hadoop.hbase.client.Connec...原创 2019-05-09 11:03:38 · 283 阅读 · 0 评论 -
hbase获取某个列族的所有列
Get get = new Get(Bytes.toBytes("rowA")); Table table = conn.getTable(TableName.valueOf("merchants")); Result result = table.get(get);// result.listCells();//可以考虑 Map<byte[], byte[...原创 2019-06-03 17:48:39 · 12379 阅读 · 1 评论