hue server start error

  • [[ runcpserver == runcpserver ]]
  • grep -q ‘^\sssl_certificate\s=\s*.+’ hue.ini hue_safety_valve.ini hue_safety_valve_server.ini
  • ‘[’ ‘!’ -z ‘’ ‘]’
  • run_syncdb_and_migrate_subcommands
  • /opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/hue/build/env/bin/hue syncdb --noinput
    Could not find platform dependent libraries <exec_prefix>
    Consider setting $PYTHONHOME to [:<exec_prefix>]
    Traceback (most recent call last):
    File “/opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/hue/build/env/bin/hue”, line 6, in
    from pkg_resources import load_entry_point
    File “/opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/hue/build/env/lib/python2.7/site-packages/pkg_resources/init.py”, line 18, in
    from future import absolute_import
    ImportError: No module named future
  • ‘[’ -z ‘’ ‘]’
  • MERGE_FLAG=–merge
  • ‘[’ 5 -ge 5 ‘]’
  • /opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/hue/build/env/bin/hue migrate --merge
    Could not find platform dependent libraries <exec_prefix>
    Consider setting $PYTHONHOME to [:<exec_prefix>]
    Traceback (most recent call last):
    File “/opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/hue/build/env/bin/hue”, line 6, in
    from pkg_resources import load_entry_point
    File “/opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/hue/build/env/lib/python2.7/site-packages/pkg_resources/init.py”, line 18, in
    from future import absolute_import
    ImportError: No module named future
  • ‘[’ dumpdata = runcpserver ‘]’
  • ‘[’ syncdb = runcpserver ‘]’
  • exec /opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/hue/build/env/bin/hue runcpserver
    Could not find platform dependent libraries <exec_prefix>
    Consider setting $PYTHONHOME to [:<exec_prefix>]
    Traceback (most recent call last):
    File “/opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/hue/build/env/bin/hue”, line 6, in
    from pkg_resources import load_entry_point
    File “/opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/lib/hue/build/env/lib/python2.7/site-packages/pkg_resources/init.py”, line 18, in
    from future import absolute_import
    ImportError: No module named futurestrong text