Ask Your Question
4

How can I resolve the issue where Superset is unable to connect to Apache Drill and shows the error message "Final Drill query state is FAILED HTTP ERROR: None" while executing the SQL command "SHOW DATABASES"?

asked 2023-05-14 13:14:37 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-14 13:30:02 +0000

huitzilopochtli gravatar image

There could be multiple reasons for the issue where Superset is unable to connect to Apache Drill and shows the error message "Final Drill query state is FAILED HTTP ERROR: None" while executing the SQL command "SHOW DATABASES". Here are some of the possible solutions:

  1. Check the connectivity: Ensure that the Superset server can connect to the Apache Drill server. You can try testing the connectivity by executing a simple SQL command like "SELECT 1" through Superset's SQL Lab to see if it returns any results.

  2. Verify the Drill storage plugin configuration: Make sure that the Apache Drill storage plugin configuration is correct, including the ZooKeeper ensemble name and the Drillbit address. You can check the drill-override.conf file for any errors or typos.

  3. Check the Drillbit logs: Look for any errors or exceptions in the Apache Drillbit logs that could be causing the issue. The Drillbit logs are typically located in the /var/log/drill directory.

  4. Update the Drill JDBC driver: If you're using an older version of the Drill JDBC driver, try updating it to the latest version. You can download the latest version of the Drill JDBC driver from the Apache Drill website.

  5. Reconfigure the Drill metadata store: Try reconfiguring the Apache Drill metadata store, which stores the Drillbit metadata, to see if it resolves the issue. You can try changing the metadata store from ZooKeeper to a file-based store or vice versa.

  6. Increase the timeout settings: Increase the query timeout and retry settings in the Superset and Drill configuration files to ensure that the queries have enough time to complete.

  7. Contact support: If none of the above solutions work, you may need to contact the Apache Drill or Superset support team for further assistance. They may be able to provide more detailed troubleshooting steps or help you resolve the issue.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-14 13:14:37 +0000

Seen: 18 times

Last updated: May 14 '23