AnsweredAssumed Answered

Hue fails to start after 5.1 install

Question asked by saviv on Jul 11, 2016

Posting this in case anyone else encounters the same issue.


After installing 5.1 on CentOS 6.5, Hue fails to start with error in log /opt/mapr/hue/hue-3.9.0/logs/hue-mapr-runcpserver-<node>.out:


OSError: /usr/java/jre1.7.0_65/jre/lib/amd64/server/ cannot open shared object file: No such file or directory


When you try access http://<node>:8888/ your browser will not connect.


My fix was to simply edit the script /opt/mapr/hue/hue-3.9.0/desktop/core/src/desktop/lib/ and change line 31 from:


lib1 = cdll.LoadLibrary(java_home + '/jre/lib/amd64/server/')




lib1 = cdll.LoadLibrary(java_home + '/lib/amd64/server/')


Restart the service from the dashboard.