Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Could not save results

Could not save results

Contributor

cdh5.0.2+kerberos security

hue3.5

 

 

I use the user 'rube',save query result->in an hdfs file->select a folder->save,throw the exception:

Could not save results: The result could not be saved: AuthorizationException: User rube (auth:TOKEN) via hue (auth:TOKEN) is not authorized for protocol interface org.apache.hadoop.hdfs.protocol.ClientProtocol, expected client Kerberos principal is null.

 

20140625141438.jpg

If I use the user 'hue',it runs normally.

I think there is a problem with the configuration about kerberos security.If I use a common user which is created by the hue admin ,is there some other configurations I should do?

1 REPLY 1

Re: Could not save results

Contributor

I solved the problem myself.

Following the step http://www.cloudera.com/content/cloudera-content/cloudera-docs/CM5/latest/Configuring-Hadoop-Securit... 16 and step17.

for example:

1.kadmin.local: addprinc rube@HADOOP.COM

2.all host in the cluster:

       useradd rube -u 1003

       usermod -a -G hive rube(set user rube to group hive)

Then on the hueWeb,user rube can save results on hdfs.