![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hbase
z骑士
认真的懒人
展开
-
Hbase Table already exists的处理方法
hadoop重新格式化后,hdfs上没有了数据,在hbase中新建表。但是却出现了新的问题,新建表时,总是提示Table already exists。是因为以前建过同名的表,可是HDFS上和Hbase相关的东西都已经删除了。是zookeeper的原因导致,因为zookeeper保存有hbase表的地址。数据访问是通过zookeeper的地址转到hdfs上。这是hbase物理存储结构所决定的。 解...原创 2018-09-26 15:44:21 · 2802 阅读 · 0 评论 -
flume接收数据传入hbase,并生成指定的rowkey和column
接口源码文章:https://blogs.apache.org/flume/entry/streaming_data_into_apache_hbase 参考博客:https://blog.csdn.net/m0_37739193/article/details/72868456 目的:flume从event中取出数据作为hbase的rowkey 使用flume接收数据,再传入hbase中,要求中...原创 2018-11-09 16:20:49 · 2622 阅读 · 0 评论 -
尝试flume配置文件从启动命令接收参数
接着上一篇flume接收数据传入hbase。 这次的目的是: flume配置文件sink指定hbase的表名可以当成参数进行接收,以便于能随外部切换hbase不同的表。 例如在test.conf中 a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/configure the source a1.sources.r1.type = ...原创 2018-11-09 17:01:41 · 1571 阅读 · 1 评论