Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ext JS library not installed correctly in Oozie

I'm getting the following message when I access to the oozie UI.

Oozie web console is disabled.

To enable Oozie web console install the Ext JS library.

I'm using HDP distribution and installed through ambari service installer.

I tried to follow the following links:

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_command-line-installation/content/install_oozie_rpms.html

Getting the following message when trying to install it using yum:

$ sudo yum install extjs-2.2-1

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

  • base: centos.mirror.ptisp.pt

  • epel: epel.besthosting.ua

  • extras: centos.mirror.ptisp.pt

  • updates: centos.alpha-labs.net

No package extjs-2.2-1 available.

Error: Nothing to do

https://community.hortonworks.com/articles/61363/issue-oozie-web-console-is-disabledto-enable-oozie.html

I can't find the place in Amabari UI where to place the property oozie.authentication.cookie.domain.

What can I fix it? I'm really lost.

like image 461
JaviOverflow Avatar asked Mar 14 '18 11:03

JaviOverflow


1 Answers

I finally solved it by installing a third-party version of ExtJS from the following url: http://archive.cloudera.com/gplextras/misc/ext-2.2.zip

Then following the steps:

  1. Stop Oozie service from Ambari
  2. Copy it to the path:

/usr/hdp/current/oozie-client/libext/

  1. Regenerate the war file by executing:

$ /usr/hdp/current/oozie-server/bin/oozie-setup.sh prepare-war

  1. Start Oozie again

Hope it helps!

Step by step instruction:

wget http://archive.cloudera.com/gplextras/misc/ext-2.2.zip

sudo cp ext-2.2.zip /usr/hdp/current/oozie-client/libext/
sudo chown oozie:hadoop /usr/hdp/current/oozie-client/libext/ext-2.2.zip
sudo -u oozie /usr/hdp/current/oozie-server/bin/oozie-setup.sh prepare-war
like image 152
JaviOverflow Avatar answered Nov 10 '22 21:11

JaviOverflow