Re: use jdbc connect to hive2.0

2016-05-04 Thread kevin
*Thanks* ,Thejas Nair. It's work. 2016-05-04 15:40 GMT+08:00 Thejas Nair : > The property should be named hadoop.proxyuser.dcos.groups and > hadoop.proxyuser.dcos.groups if you are running HS2 as user dcos. > Also, user dcos should belong to the group dcos if that setting

Re: use jdbc connect to hive2.0

2016-05-04 Thread Thejas Nair
The property should be named hadoop.proxyuser.dcos.groups and hadoop.proxyuser.dcos.groups if you are running HS2 as user dcos. Also, user dcos should belong to the group dcos if that setting is to work. I assume you are trying to have hive.server2.enable.doAs=true. I am not sure why you are

Re: use jdbc connect to hive2.0

2016-05-04 Thread kevin
I found hadoop info is :2016-05-04 13:49:33,785 INFO org.apache.hadoop.ipc.Server: Socket Reader #1 for port 9000: readAndProcess from client 10.1.3.120 threw exception [org.apache.hadoop.security.authorize.AuthorizationException: User: dcos is not allowed to impersonate dcos] and when I trun to

use jdbc connect to hive2.0

2016-05-03 Thread kevin
hi all; I use hive-2.0.0 with hadoop2.7.1 when I connect to the hiveserver2 I got msg : Failed to open new session: java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: dcos is not allowed to impersonate dcos dcos