Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1847

Hue fails to load the 3rd party modules in /usr/lib64/python2.6/site-packages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.8.0
    • None
    • hue
    • None
    • BigTop and Hue on CentOS6

    Description

      HUE installs its own python2.6 (inside /usr/lib/hue/build/env/bin) and modules location: /usr/lib/python2.6/site-packages

      Hue's RDBMS view (when configured with PostgresSQL) requires the psycopg2 module.
      The 'yum install python-psycopg2' command installs psycopg2 in the default python lib folder: /usr/lib64/python2.6/site-packages . The later is not accessible by the Hue's python configuration which in turn leads to errors like this:

      "Server error occured: Error loading psycopg2 module: No module named psycopg2"

      Attachments

        1. BIGTOP-1847.patch
          1.0 kB
          Christian Tzolov
        2. Screen Shot 2015-04-23 at 10.37.27 AM.png
          234 kB
          Christian Tzolov

        Activity

          People

            Unassigned Unassigned
            tzolov Christian Tzolov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: