EsharEditor / ambari-hue-service

Ambari stack service for easily installing and managing Hue on HDP cluster
Apache License 2.0
107 stars 68 forks source link

Installation Issue #16

Open lorenzo93 opened 7 years ago

lorenzo93 commented 7 years ago

Hi,

I'm trying to install this extension on Ubuntu 14.04, with Ambari server.

The installation fails, saying "Unable to locate package krb5-devel"

Googling around I find out that that package is no longer manteined. Is there a workaround?

solacarol commented 7 years ago

I have the same problem

EsharEditor commented 7 years ago

Hi: Sorry for late reply! You can try to install this package "libkrb5-dev" on Ubuntu.I think that if you want to use the 'ambari-hue-service' on Ubuntu, you should modify packages in 'metainfo.xml' file before using it.The following are the library development packages and tools on Ubuntu. image

solacarol commented 7 years ago

I installed the package through apt-get install libkrb5-dev and I changed the package name in the file /var/lib/ambari-server/resources/stacks/HDP/2.5/services/HUE/metainfo.xml, now the error is in the package libxml2-devel (E: Unable to locate package libxml2-devel), I will repeat the procedure and see if I succeed (Obs: I had to restart the ambari)

solacarol commented 7 years ago

My file 'metainfo.xml' is with the packages like this, I think it's missing some

And now the error in the installation is this:

File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call raise ExecutionFailed(err_msg, code, out, err) resource_management.core.exceptions.ExecutionFailed: Execution of 'cat /etc/yum.repos.d/HDP.repo | grep "baseurl" | awk -F '=' '{print $2"hue/hue-3.11.0.tgz"}' | xargs wget -O hue.tgz' returned 123. cat: /etc/yum.repos.d/HDP.repo: No such file or directory wget: missing URL Usage: wget [OPTION]... [URL]...

I have no idea what to do, and I do not know if it has any relation to the packages. Thank you in advance.

EsharEditor commented 7 years ago

Hi: I suggest you modify this code with the error section to get HUE package. And you should compile the HUE and use a repository with the HUE installation package.