Details
Description
I am trying to index data from and External Database unsing Indexer. I can select the database, and as soon as I select the table, it gives me an error and the log shows:
[08/Jun/2018 13:58:37 -0700] middleware INFO Processing exception: 'server_name': Traceback (most recent call last):
File "/usr/hdp/current/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py", line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/hdp/current/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/transaction.py", line 371, in inner
return func(*args, **kwargs)
File "/usr/hdp/current/hue/desktop/libs/indexer/src/indexer/api3.py", line 164, in guess_field_types
db = rdbms.get(request.user, query_server=query_server)
File "/usr/hdp/current/hue/desktop/libs/librdbms/src/librdbms/server/dbms.py", line 37, in get
if query_server['server_name'] == 'mysql':
KeyError: 'server_name'
Seems like the query_server object is getting back empty. I believe it should not use RDBMS since I selected JDBC.