随笔分类 -  hive

摘要:背景: CDH集群的HDFS HA已配置完毕,Hive也相应进行了Update Hive Metastore NameNode,Hive的业务sql脚本都正常运行。 在使用spark-sql 写入hive时报错: Caused by: java.lang.IllegalArgumentExcepti 阅读全文
posted @ 2022-07-28 16:52 夏天换上冬装 阅读(530) 评论(0) 推荐(0)
摘要:先启动metastore nohup hive --service metastore & 再启动 hiveserver2 nohup hive --service hiveserver2 & 用jps和ps -ef查看进程都启动着,但发现10000端口没有被监听 看不出来问题,打开hive日志 c 阅读全文
posted @ 2022-01-13 10:07 夏天换上冬装 阅读(9291) 评论(0) 推荐(1)
摘要:执行依据sql select * from cities limit 10; 报错 FAILED: SemanticException Unable to determine if hdfs://localhost:9000/user/hive/warehouse/cities is encrypt 阅读全文
posted @ 2022-01-08 20:38 夏天换上冬装 阅读(669) 评论(0) 推荐(0)
摘要:1.先编译好hive源码 2.用idea打开hive源码,并build build前可以调整下jvm参数,否则build过程中容易OOM 添加jd/lib下的tools.jar,否则会报 java: Compilation failed: internal java compiler error 3 阅读全文
posted @ 2022-01-08 20:18 夏天换上冬装 阅读(685) 评论(0) 推荐(0)