<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Hue 3.10.0 creates a fatal error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114622#M33917</link>
    <description>&lt;P&gt;@S Srinivasa it looks that libffi-devel pkg is not installed. &lt;/P&gt;&lt;P&gt;libffi-devel rpm provides ffi.h header file. Please try to install this pkg and retry again. &lt;/P&gt;&lt;P&gt;#yum install libffi-devel&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2016 22:21:15 GMT</pubDate>
    <dc:creator>rguruvannagari</dc:creator>
    <dc:date>2016-07-05T22:21:15Z</dc:date>
    <item>
      <title>Hue 3.10.0 creates a fatal error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114621#M33916</link>
      <description>&lt;P&gt;We have a HDP 2.4 on AWS. I tried to configure hue 3.10.0. I get the error below after trying to install it. &lt;/P&gt;&lt;PRE&gt;building '_cffi_backend' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecor                           d-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-st                           rong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/i                           nclude/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
 #include &amp;lt;ffi.h&amp;gt;
                 ^
compilation terminated.
error: command 'gcc' failed with exit status 1
make[2]: *** [/hue-3.10.0/desktop/core/build/cffi-1.5.2/egg.stamp] Error 1
make[2]: Leaving directory `/hue-3.10.0/desktop/core'
make[1]: *** [.recursive-install-bdist/core] Error 2
make[1]: Leaving directory `/hue-3.10.0/desktop'
make: *** [install-desktop] Error 2


&lt;/PRE&gt;&lt;P&gt;Thanks. &lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:50:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114621#M33916</guid>
      <dc:creator>sundararajan_sr</dc:creator>
      <dc:date>2026-04-21T13:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hue 3.10.0 creates a fatal error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114622#M33917</link>
      <description>&lt;P&gt;@S Srinivasa it looks that libffi-devel pkg is not installed. &lt;/P&gt;&lt;P&gt;libffi-devel rpm provides ffi.h header file. Please try to install this pkg and retry again. &lt;/P&gt;&lt;P&gt;#yum install libffi-devel&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 22:21:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114622#M33917</guid>
      <dc:creator>rguruvannagari</dc:creator>
      <dc:date>2016-07-05T22:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hue 3.10.0 creates a fatal error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114623#M33918</link>
      <description>&lt;P&gt;Many thanks for this. It worked. &lt;/P&gt;&lt;P&gt;I have a few more problems. I completed the configuration and changed the db path to mysql before starting hue. I used this post as a guide (&lt;A href="https://community.hortonworks.com/questions/399/how-to-move-hue-database-from-default-sqlite-datab.html%29."&gt;https://community.hortonworks.com/questions/399/how-to-move-hue-database-from-default-sqlite-datab.html).&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Issues:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1: Commands below do not work. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As the Hue user, configure Hue to load the existing data and create the necessary database tables.&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;/usr/lib/hue/build/env/bin/hue syncdb --noinput&lt;/LI&gt;&lt;LI&gt;/usr/lib/hue/build/env/bin/hue migrate&lt;/LI&gt;&lt;LI&gt;/usr/lib/hue/build/env/bin/hue loaddata /tmp/hue_db_dump.json&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Your system is now configured and you can start the Hue server as normal.&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;/etc/init.d/hue start&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;I am getting this error
/usr/lib/hue/build/env/bin/hue: command not found or no such file or directory

I tried to start hue with the following command, which also produces an error on the browser

/usr/local/hue/build/env/bin/supervisor

  File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/backends/mysql/base.py", line 435, in get_new_connection
    conn = Database.connect(**conn_params)
  File "/usr/local/hue/build/env/lib/python2.7/site-packages/MySQL_python-1.2.5-py2.7-linux-x86_64.egg/MySQLdb/__init__.py", line 81, in Connect
    return Connection(*args, **kwargs)
  File "/usr/local/hue/build/env/lib/python2.7/site-packages/MySQL_python-1.2.5-py2.7-linux-x86_64.egg/MySQLdb/connections.py", line 193, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (1045, "Access denied for user 'hue'@'namenode.teg' (using password: YES)")
&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Jul 2016 19:30:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114623#M33918</guid>
      <dc:creator>sundararajan_sr</dc:creator>
      <dc:date>2016-07-07T19:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hue 3.10.0 creates a fatal error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114624#M33919</link>
      <description>&lt;P&gt;I made some progress. I am getting the following error:&lt;/P&gt;&lt;PRE&gt;ProgrammingError: (1146, "Table 'huedb.desktop_settings' doesn't exist")&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Jul 2016 23:24:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114624#M33919</guid>
      <dc:creator>sundararajan_sr</dc:creator>
      <dc:date>2016-07-07T23:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Hue 3.10.0 creates a fatal error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114625#M33920</link>
      <description>&lt;P&gt;I hope someone can advise on this error. thanks&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 23:25:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114625#M33920</guid>
      <dc:creator>sundararajan_sr</dc:creator>
      <dc:date>2016-07-07T23:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hue 3.10.0 creates a fatal error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114626#M33921</link>
      <description>&lt;P&gt;The problem is I am unable to create a dump of the desktop.db. I downloaded the tar file and un-tarred it to a directory (hue-3.10.0). &lt;/P&gt;&lt;P&gt;1: I cannot find /var/lib/hue/desktop.db &lt;/P&gt;&lt;P&gt;2: I cannot dump to temp.json&lt;/P&gt;&lt;P&gt;3: huedb file does not have any tables in MySql,&lt;/P&gt;&lt;P&gt; 4. MySql also hosts db files for tomcat, hive and ambari. These dbs work fine. &lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 23:53:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114626#M33921</guid>
      <dc:creator>sundararajan_sr</dc:creator>
      <dc:date>2016-07-07T23:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hue 3.10.0 creates a fatal error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114627#M33922</link>
      <description>&lt;P&gt;I found the sqlite3 database file in &lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;/usr/local/hue/desktop/desktop.db&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But, I still cannot create a dump of this to .json to use mysql. &lt;/P&gt;&lt;P&gt;Thanks for the help. &lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 01:21:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114627#M33922</guid>
      <dc:creator>sundararajan_sr</dc:creator>
      <dc:date>2016-07-08T01:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hue 3.10.0 creates a fatal error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114628#M33923</link>
      <description>&lt;P&gt;Since the context of the errors are different than the original post, I will close this thread and post a new one. &lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 18:43:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-3-10-0-creates-a-fatal-error/m-p/114628#M33923</guid>
      <dc:creator>sundararajan_sr</dc:creator>
      <dc:date>2016-07-08T18:43:15Z</dc:date>
    </item>
  </channel>
</rss>

