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.

Why Hive Compaction is failing ?

Solved Go to solution

Why Hive Compaction is failing ?

Expert Contributor

Hi Everyone,
We have enabled hive compaction on transnational table in order to improve fetch query performance.Somehow it's not working at my end, am facing attached error which i observed in "hivemetastore.log". 

Can somebody please let us know, How this issue can be resolved ? 

Screenshot (194).png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Why Hive Compaction is failing ?

I think error log is pretty informative, getGroups call for $Superuser does not get any group associated with the user, you might need to run "hdfs groups" command on the HMS node for this user if that the case and fix the env issue.

View solution in original post

2 REPLIES 2
Highlighted

Re: Why Hive Compaction is failing ?

I think error log is pretty informative, getGroups call for $Superuser does not get any group associated with the user, you might need to run "hdfs groups" command on the HMS node for this user if that the case and fix the env issue.

View solution in original post

Highlighted

Re: Why Hive Compaction is failing ?

Expert Contributor

Accidently , I marked this answer as resolved . 
@rajkumar_singh 

I am getting below output after executing "hdfs groups <username>" command.

 

<username>@<kerberose principle > : domain users dev_sudo

 

As i am not much aware of cluster configuration 

So , Could you please help me to understand the output of this command.

Don't have an account?
Coming from Hortonworks? Activate your account here