spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pooja mehta <sparkrad...@gmail.com>
Subject Fwd: Beeline - Spark thrift server user retrieval Issue
Date Thu, 02 Jun 2016 07:57:11 GMT
---------- Forwarded message ----------
From: pooja mehta <sparkrad123@gmail.com>
Date: Thu, Jun 2, 2016 at 1:25 PM
Subject: Fwd: Beeline - Spark thrift server user retrieval Issue
To: user-subscribe@spark.apache.org



---------- Forwarded message ----------
From: pooja mehta <sparkrad123@gmail.com>
Date: Thu, Jun 2, 2016 at 1:24 PM
Subject: Beeline - Spark thrift server user retrieval Issue
To: user-info@spark.apache.org, user-faq@spark.apache.org


Hi,

I am using spark Beeline client and When i logged in as newuser(Lets
suppose user2) and connect to port 10015(Using spark thrift server),
And use
 userName =UserGroupInformation.getCurrentUser().getShortUserName();
It always gives hive user,not user2.

Is there any way to get user2?

While when i am connecting to port 10000(Hive thrift server ) via spark
beeline ,it gives user2.

Mime
View raw message