Can't initialize metastore for hive

there maybe many reason to cause this,today

our issue is that, if you execute hive –database dbname –e’query’

it report error: can not initialize metastoreclient.

root cause:

kerbos authentication fail,

user lose the permission access the hdfs.

solution: kinit –k –t *.keytab –f …domain.

posted on 2015-07-31 04:45  tneduts  阅读(166)  评论(1编辑  收藏  举报

导航