Hive问题,
[root@jy-agent-981 ~]# pwd
/root
[root@jy-agent-981 ~]# cd //
[root@jy-agent-981 //]# cd etc/security/keytabs
[root@jy-agent-981 keytabs]# klist -kt hive.service.keytab
Keytab name: FILE:hive.service.keytab
KVNO Timestamp Principal
---- ------------------- ------------------------------------------------------
3 07/10/2017 15:10:16 hive/jy-agent-981.jy.com@JY.COM
3 07/10/2017 15:10:16 hive/jy-agent-981.jy.com@JY.COM
3 07/10/2017 15:10:16 hive/jy-agent-981.jy.com@JY.COM
3 07/10/2017 15:10:16 hive/jy-agent-981.jy.com@JY.COM
3 07/10/2017 15:10:16 hive/jy-agent-981.jy.com@JY.COM
[root@jy-agent-981 keytabs]# kinit -kt hive.service.keytab hive/jy-agent-981.jy.com@JY.COM
[root@jy-agent-981 keytabs]# ./beeline
!connect jdbc:hive2://ip:10000/default;principal=hive/jy-agent-981.jy.com@JY.COM解决方法:ERROR Executor: Exception in task 34.0 in stage 1.0 (TID 286) java.lang.OutOfMemoryError: Java heap space
sudo vim $SPARK_HOME/conf/spark-defaults.conf
#uncomment the spark.driver.memory and change it according to your use. I changed it to below
spark.driver.memory 15g
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。