欢迎投稿

今日深度:

Hive问题,

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

www.htsjk.Com true http://www.htsjk.com/hive/39445.html NewsArticle 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.keytabKeytab name: FILE:hive.service.keytabKVNO Timestamp Principal-...
相关文章
    暂无相关文章
评论暂时关闭