<?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 dumpdata returns &amp;quot;CommandError: Unable to serialize database: no such table: desktop_do in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-dumpdata-returns-quot-CommandError-Unable-to-serialize/m-p/29835#M6655</link>
    <description>Are you using CM?&lt;BR /&gt;&lt;BR /&gt;If yes before running the command you need to:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;*Note*:&lt;BR /&gt;&lt;BR /&gt;If using CM, export this variable in order to point to the correct database:&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/-hue-HUE_SERVER-id&lt;BR /&gt;echo $HUE_CONF_DIR&lt;BR /&gt;export HUE_CONF_DIR&lt;BR /&gt;&lt;BR /&gt;Where is the most recent ID in that process directory for&lt;BR /&gt;hue-HUE_SERVER.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gethue.com/export-and-import-your-oozie-workflows/" target="_blank"&gt;http://gethue.com/export-and-import-your-oozie-workflows/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 20 Jul 2015 16:19:02 GMT</pubDate>
    <dc:creator>Romainr</dc:creator>
    <dc:date>2015-07-20T16:19:02Z</dc:date>
    <item>
      <title>Hue dumpdata returns "CommandError: Unable to serialize database: no such table: desktop_document2"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-dumpdata-returns-quot-CommandError-Unable-to-serialize/m-p/29818#M6654</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to migrate the Hue database from sqlite3 to MySQL and dump the data from sqlite to a JSON file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;logged on as user "hue" (who is the "owner" of Hue)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ /opt/cloudera/parcels/CDH-5.4.4-1.cdh5.4.4.p0.4/lib/hue/build/env/bin/hue dumpdata &amp;gt;hue_dumpdata.2015-07-20.json&lt;BR /&gt;CommandError: Unable to serialize database: no such table: desktop_document2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use sqlite to display the list of tables, I can see it there:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ sqlite3 /var/hadoop/data/hue/desktop.db&lt;BR /&gt;SQLite version 3.6.20&lt;BR /&gt;Enter ".help" for instructions&lt;BR /&gt;Enter SQL statements terminated with a ";"&lt;BR /&gt;sqlite&amp;gt; .tables '%';&lt;BR /&gt;auth_group&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oozie_datainput&lt;BR /&gt;auth_group_permissions&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oozie_dataoutput&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;desktop_document&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oozie_generic&lt;BR /&gt;desktop_document2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oozie_history&lt;BR /&gt;desktop_document2_dependencies&amp;nbsp; oozie_hive&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's wrong with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Slavo&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:58:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-dumpdata-returns-quot-CommandError-Unable-to-serialize/m-p/29818#M6654</guid>
      <dc:creator>slavo</dc:creator>
      <dc:date>2026-04-21T13:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hue dumpdata returns "CommandError: Unable to serialize database: no such table: desktop_do</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-dumpdata-returns-quot-CommandError-Unable-to-serialize/m-p/29835#M6655</link>
      <description>Are you using CM?&lt;BR /&gt;&lt;BR /&gt;If yes before running the command you need to:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;*Note*:&lt;BR /&gt;&lt;BR /&gt;If using CM, export this variable in order to point to the correct database:&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/-hue-HUE_SERVER-id&lt;BR /&gt;echo $HUE_CONF_DIR&lt;BR /&gt;export HUE_CONF_DIR&lt;BR /&gt;&lt;BR /&gt;Where is the most recent ID in that process directory for&lt;BR /&gt;hue-HUE_SERVER.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gethue.com/export-and-import-your-oozie-workflows/" target="_blank"&gt;http://gethue.com/export-and-import-your-oozie-workflows/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jul 2015 16:19:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hue-dumpdata-returns-quot-CommandError-Unable-to-serialize/m-p/29835#M6655</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2015-07-20T16:19:02Z</dc:date>
    </item>
  </channel>
</rss>

