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.

Getting error in accessing Hive in Ambari UI and command console installed on Hortonworks environment

Getting error in accessing Hive in Ambari UI and command console installed on Hortonworks environment

Hi,

We have installed Hive in Hortonworks environment (within cluster). The Hive service is shown as started up and running in Ambari UI, but could not able to access Hive UI. Below is the error it shows for Hive view:

hive-view-error-in-ambari-ui.png

Tried opening Hive from command line even, but the same error:

hive-command-line-error-with-tez-engine.png

We tried changing the Tez engine with mapreduce engine and restarting ambari-server, but seems the issue still persist. Also, we do get HDFS Block health alert in Ambari UI. Below is the error:

ambari-error-for-hdfs-health.png

Not sure, of how to resolve this issue. Hence, requesting for any open suggestion.

Thanks,

Sravanthi

1 REPLY 1
Highlighted

Re: Getting error in accessing Hive in Ambari UI and command console installed on Hortonworks environment

Guru

Hi @Sravanthi Bellamkonda

You can run the following command to list/locate corrupt blocks: hdfs fsck -list-corruptfileblocks

If these blocks are not critical data, then just deleting them might solve your problem: hdfs fsck / -delete

There is a good thread here with links to more detail on finding/removing corrupt HDFS blocks here:

https://community.hortonworks.com/questions/17917/best-way-of-handling-corrupt-or-missing-blocks.htm...

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