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:
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.
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.
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.
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.
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.
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.
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.
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
Asked: 2023-05-14 13:14:37 +0000
Seen: 18 times
Last updated: May 14 '23
In PySpark, how does the lead function work when the value of a column changes?
How can SQL output be structured in a column-based XML format instead of row-based?
How can pgcrypto be used to secure data on Postgres?
What is the SQL grammar used for addSql in Doctrine?
How can Django Admin accommodate a variety of formats and locales for its input fields?
How can an array be passed using typo3 flexform xml and itemsProcConfig?