AnsweredAssumed Answered

HUE not starting

Question asked by upilli2001 on Nov 10, 2015
Latest reply on Nov 10, 2015 by mufeed
I have built a mapr cluster version 5.0.0.32987.GA. I am not able to start my Hue process. I am using Redhat Linux version 6.3. Please find the logs below. Do we need to set any JAVA_HOME parameter.

    Mon Nov  2 03:55:52 PST 2015 runcpserver started, pid 27904
    Traceback (most recent call last):
      File "/opt/mapr/hue/hue-3.8.1/bin/../build/env/bin/hue", line 12, in
        load_entry_point('desktop==3.8.1', 'console_scripts', 'hue')()
      File "/opt/mapr/hue/hue-3.8.1/desktop/core/src/desktop/manage_entry.py", line 57, in entry
        execute_from_command_line(sys.argv)
      File "/opt/mapr/hue/hue-3.8.1/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/management/__init__.py", line 399, in execute_from_
    command_line
        utility.execute()
      File "/opt/mapr/hue/hue-3.8.1/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/management/__init__.py", line 392, in execute
        self.fetch_command(subcommand).run_from_argv(self.argv)
      File "/opt/mapr/hue/hue-3.8.1/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/management/__init__.py", line 261, in fetch_command
        commands = get_commands()
      File "/opt/mapr/hue/hue-3.8.1/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/management/__init__.py", line 107, in get_commands
        apps = settings.INSTALLED_APPS
      File "/opt/mapr/hue/hue-3.8.1/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/conf/__init__.py", line 54, in __getattr__
        self._setup(name)
      File "/opt/mapr/hue/hue-3.8.1/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/conf/__init__.py", line 49, in _setup
        self._wrapped = Settings(settings_module)
      File "/opt/mapr/hue/hue-3.8.1/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/conf/__init__.py", line 128, in __init__
        mod = importlib.import_module(self.SETTINGS_MODULE)
      File "/opt/mapr/hue/hue-3.8.1/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/utils/importlib.py", line 40, in import_module
        __import__(name)
      File "/opt/mapr/hue/hue-3.8.1/desktop/core/src/desktop/settings.py", line 400, in
        from desktop.monkey_patches import disable_database_logging
      File "/opt/mapr/hue/hue-3.8.1/desktop/core/src/desktop/monkey_patches.py", line 26, in
        from desktop.lib.django_util import get_username_re_rule
      File "/opt/mapr/hue/hue-3.8.1/desktop/core/src/desktop/lib/django_util.py", line 40, in
        import desktop.lib.thrift_util
      File "/opt/mapr/hue/hue-3.8.1/desktop/core/src/desktop/lib/thrift_util.py", line 43, in
        import maprsasl
      File "/opt/mapr/hue/hue-3.8.1/desktop/core/src/desktop/lib/maprsasl.py", line 31, in
        lib1 = cdll.LoadLibrary(java_home + '/jre/lib/amd64/server/libjvm.so')
      File "/opt/mapr/hue/hue-3.8.1/build/env/lib/python2.6/ctypes/__init__.py", line 431, in LoadLibrary
        return self._dlltype(name)
      File "/opt/mapr/hue/hue-3.8.1/build/env/lib/python2.6/ctypes/__init__.py", line 353, in __init__
        self._handle = _dlopen(self._name, mode)
    OSError: /usr/java/jre1.8.0_65/jre/lib/amd64/server/libjvm.so: cannot open shared object file: No such file or directory

Outcomes