These are chat archives for getredash/redash
Rethinking how data is queried, shared and visualized. A web application that allows to easily query an existing database, share the dataset and visualize it in different ways. Oh and you can also create dashboards.
@arikfr I'm trying to connect redash to impala and i'm getting an error can you please have a look?
[2016-03-29 05:31:57,566: ERROR/MainProcess] Task redash.tasks.execute_query[402f43aa-daaf-4f22-948f-a90a86885666] raised unexpected: AttributeError("'NoneType' object has no attribute 'close'",)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(args, **kwargs)
File "/opt/redash/redash.0.9.2.b1536/redash/tasks.py", line 31, in call
return super(BaseTask, self).call(args, kwargs)
File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 437, in protected_call
return self.run(*args, kwargs)
File "/opt/redash/redash.0.9.2.b1536/redash/tasks.py", line 293, in execute_query
data, error = query_runner.run_query(annotated_query)
File "/opt/redash/redash.0.9.2.b1536/redash/query_runner/impala_ds.py", line 145, in run_query
AttributeError: 'NoneType' object has no attribute 'close'
@galdoron based on the stacktrace, it seems there is an exception in the
connect call. You can update line 145 in
/opt/redash/redash.0.9.2.b1536/redash/query_runner/impala_ds.py to be:
if connection: connection.close()
connection.close if there is a
connection = connect(**self.configuration.to_dict())