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.

Hue does not show components and versions on Web UI after upgrade. Below is the snapshot.

Solved Go to solution
Highlighted

Hue does not show components and versions on Web UI after upgrade. Below is the snapshot.

533-screen-shot-2015-11-20-at-121900-pm.png

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Hue does not show components and versions on Web UI after upgrade. Below is the snapshot.

It looks like, Hue could not bring up the new version.. Here is the script for pick up the versions.

/usr/lib/hue/tools/ fill_versions.sh

Please note that the script is only checked once, so the wrong information will not be updated automatically.

Here is the workaround. Go to /usr/lib/hue/ Move VERSIONS to VERSIONS.org then restart hue service.

service hue stop

cd /usr/lib/hue

mv VERSIONS VERSIONS.org

service hue start

Then, you can see the following message..

[root@sandbox hue]# service hue start
 Detecting versions of components...
 HUE_VERSION=2.6.1-3150
 HDP=2.2.8
 Hadoop=2.6.0
 Pig=0.14.0
 Hive-Hcatalog=0.14.0
 Oozie=4.1.0
 Ambari-server=2.1-377
 HBase=0.98.4
 Knox=0.5.0
 Storm=0.9.3
 Falcon=0.6.0
 Starting hue: [ OK ] 

Once, done you will see correct Hue UI.

539-screen-shot-2015-11-20-at-70201-pm.png

5 REPLIES 5

Re: Hue does not show components and versions on Web UI after upgrade. Below is the snapshot.

@Pardeep You have to share hue logs. I have experienced the same behavior few times and best shot is to go through all the config checks and make sure that nothing is missing.

Click "Check for misconfiguration"

Re: Hue does not show components and versions on Web UI after upgrade. Below is the snapshot.

"Check for misconfiguration" did not show any error. It was all OK. Wrote the solution below.

Re: Hue does not show components and versions on Web UI after upgrade. Below is the snapshot.

It looks like, Hue could not bring up the new version.. Here is the script for pick up the versions.

/usr/lib/hue/tools/ fill_versions.sh

Please note that the script is only checked once, so the wrong information will not be updated automatically.

Here is the workaround. Go to /usr/lib/hue/ Move VERSIONS to VERSIONS.org then restart hue service.

service hue stop

cd /usr/lib/hue

mv VERSIONS VERSIONS.org

service hue start

Then, you can see the following message..

[root@sandbox hue]# service hue start
 Detecting versions of components...
 HUE_VERSION=2.6.1-3150
 HDP=2.2.8
 Hadoop=2.6.0
 Pig=0.14.0
 Hive-Hcatalog=0.14.0
 Oozie=4.1.0
 Ambari-server=2.1-377
 HBase=0.98.4
 Knox=0.5.0
 Storm=0.9.3
 Falcon=0.6.0
 Starting hue: [ OK ] 

Once, done you will see correct Hue UI.

539-screen-shot-2015-11-20-at-70201-pm.png

Re: Hue does not show components and versions on Web UI after upgrade. Below is the snapshot.

New Contributor

Run the following commands:

cd /usr/lib/hue/tools

chmod 755 fill_versions.sh

vi fill_versions.sh

Comment out this line grep "^#FIXME" ${hue_dir}/VERSIONS &>/dev/null || exit

Save the file and restart Hue.

The versions will now look correct from what is installed via the repository Now fill_versions.sh will run when Hue starts populating the correct version everytime.

There is also an issue with rolling upgrades and this because Hue does a rpm and greps the first line for the hadoop version. I modified my fill_versions.sh script to use 'hadoop version' and then awk the result.

Re: Hue does not show components and versions on Web UI after upgrade. Below is the snapshot.

New Contributor

@Pardeep

It's been a while of the post.

I have been facing the same issue after I upgraded my hortonworks sandbox to HDP2.5. I tried the "mv VERSIONS VERSIONS.org" and restarted the hue but didn't work. I get the below when I restart

8667-screen-shot-2016-10-19-at-121349-pm.png

My HUE shows up below when re-started

8668-screen-shot-2016-10-19-at-121730-pm.png

Any help on this is greatly appreciated. Thanks!

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