<?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: Error while querying Hive tables from HUE in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-while-querying-HIve-tables-from-HUE/m-p/295097#M217592</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/5016"&gt;@lwang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to get the details . But when i configure my oracle database i am seeing below error .I dont see any tables were also create in oracle metadata db .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[29/Apr/2020 12:36:36 +0000] exception ERROR Internal Server Error: /&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/core/handlers/exception.py", line 41, in inner&lt;BR /&gt;response = get_response(request)&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/core/handlers/base.py", line 244, in _legacy_get_response&lt;BR /&gt;response = middleware_method(request)&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/middleware/locale.py", line 25, in process_request&lt;BR /&gt;language = translation.get_language_from_request(request, check_path=i18n_patterns_used)&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/utils/translation/__init__.py", line 211, in get_language_from_request&lt;BR /&gt;return _trans.get_language_from_request(request, check_path)&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/utils/translation/trans_real.py", line 519, in get_language_from_request&lt;BR /&gt;lang_code = request.session.get(LANGUAGE_SESSION_KEY)&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/contrib/sessions/backends/base.py", line 68, in get&lt;BR /&gt;return self._session.get(key, default)&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/contrib/sessions/backends/base.py", line 207, in _get_session&lt;BR /&gt;self._session_cache = self.load()&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/contrib/sessions/backends/db.py", line 35, in load&lt;BR /&gt;expire_date__gt=timezone.now()&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/db/models/manager.py", line 85, in manager_method&lt;BR /&gt;return getattr(self.get_queryset(), name)(*args, **kwargs)&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/db/models/query.py", line 374, in get&lt;BR /&gt;num = len(clone)&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/db/models/query.py", line 232, in __len__&lt;BR /&gt;self._fetch_all()&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/db/models/query.py", line 1121, in _fetch_all&lt;BR /&gt;self._result_cache = list(self._iterable_class(self))&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/db/models/query.py", line 53, in __iter__&lt;BR /&gt;results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)&lt;BR /&gt;File "/usr/local/hue/build/env/lib/python2.7/site-packages/Django-1.11.22-py2.7.egg/django/db/models/sql/compiler.py", line 899, in execute_sql&lt;BR /&gt;raise original_exception&lt;BR /&gt;DatabaseError: ORA-00942: table or view does not exist&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are my databse detaisl i put in hue.ini&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[[database]]&lt;BR /&gt;# Database engine is typically one of:&lt;BR /&gt;# postgresql_psycopg2, mysql, sqlite3 or oracle.&lt;BR /&gt;#&lt;BR /&gt;# Note that for sqlite3, 'name', below is a path to the filename. For other backends, it is the database name&lt;BR /&gt;# Note for Oracle, options={"threaded":true} must be set in order to avoid crashes.&lt;BR /&gt;# Note for Oracle, you can use the Oracle Service Name by setting "host=" and "port=" and then "name=(host):(port)/(service_name)".&lt;BR /&gt;# Note for MariaDB use the 'mysql' engine.&lt;BR /&gt;engine=oracle&lt;BR /&gt;host=&lt;BR /&gt;port=0&lt;BR /&gt;user=hue&lt;BR /&gt;password=xxxxx&lt;BR /&gt;# conn_max_age option to make database connection persistent value in seconds&lt;BR /&gt;# &lt;A href="https://docs.djangoproject.com/en/1.11/ref/databases/#persistent-connections" target="_blank" rel="noopener"&gt;https://docs.djangoproject.com/en/1.11/ref/databases/#persistent-connections&lt;/A&gt;&lt;BR /&gt;## conn_max_age=0&lt;BR /&gt;# Execute this script to produce the database password. This will be used when 'password' is not set.&lt;BR /&gt;## password_script=/path/script&lt;BR /&gt;name=&lt;BR /&gt;options={"threaded":true}&lt;BR /&gt;# Database schema, to be used only when public schema is revoked in postgres&lt;BR /&gt;## schema=public&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and i see the below coming up when i open hue UI with error page .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="99px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="99.2333px"&gt;DATABASES&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Apr 2020 23:20:59 GMT</pubDate>
    <dc:creator>bhara</dc:creator>
    <dc:date>2020-04-29T23:20:59Z</dc:date>
  </channel>
</rss>

