
HBASE
数道难
这个作者很懒,什么都没留下…
展开
-
Phoenix读写
/** * http://phoenix.apache.org/phoenix_spark.html官方api,可惜不懂像查mysql那样传sql * */ def loadPhoenixTable(sqlContext:HiveContext,table:String): DataFrame ={ sqlContext.load( "org.apache...原创 2018-04-11 11:50:28 · 641 阅读 · 0 评论 -
hive远程调试问题java.net.UnknownHostException: unknown host: master
解决办法如下:在C:\WINDOWS\system32\drivers\etc\hosts文件中添加“如下“信息:192.x.x.x master注:之前我有遇到改下project中hdfs-site.xml下的master:10000改为ip:10000就好了,但是今天发现这招失灵了,ε=(´ο`*)))唉。改了这个之后能够sqlContext.sql("show databases")等操作,...原创 2018-05-23 16:08:47 · 4049 阅读 · 0 评论 -
Ubuntu18.04虚拟机hbase1.3安装笔记
参考:http://hbase.apache.org/book.html#arch.overview hbase、zookeeper和hadoop对应版本关系参考:https://blog.youkuaiyun.com/qq_34347375/article/details/79057268 su获取root权限参考:https://www.cnblogs.com/LazyJoJo/p/641...原创 2018-07-06 16:53:46 · 849 阅读 · 0 评论 -
hbase0.96.1.1笔记(hadoop2.3.0-cdh5.0.0)
问题1:win7+idea下写hbase卡住不动 Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error)解决方式: C:\Windows\System32\drivers\etc\hosts 里加入 zookeeper域名和IP的映射 (如果文件无法编辑,我是直接删除原host文件,并新建同名文件后编辑;可...原创 2018-07-06 17:05:00 · 191 阅读 · 0 评论 -
spark读写hbase0.9x问题(主要是依赖)记录
问题表现:读hbase时候报各种依赖缺失,运行到:val conf = HBaseConfiguration.create()或者val table = new HTable(conf, tableName)我试了复制HBaseConfiguration源码改写后能create了,但是new HTable的时候还是会自动用源码重新创建conf,于是放弃改源码;具体过程参考如下问题解决...原创 2018-10-16 14:20:31 · 1034 阅读 · 0 评论 -
hbase单点stop和start
hadoop单点重启参考:https://blog.youkuaiyun.com/joe_007/article/details/8078936转自:https://www.cnblogs.com/attlia/p/3660749.html hbase 停止regionserver每个regionserver节点可以自由启动或停止,可以不随hbase整体一起。停止后regionserver...转载 2018-10-16 15:40:14 · 227 阅读 · 0 评论