请问能不能指导一下superset连接hive的整个过程。好迷茫,百度了好久,都没有类似的帖子,全是连接报错解决的帖子。
你可以试试下面的步骤:
1、Click Superset.
2、In the Summary portion of Quick Links, click Superset and log in using your Superset user name and password.
An empty dashboard appears.
3、From Sources, select Databases.
4、In Add Filter, add a new record.
5、In Add Database, enter the name of your Hive database: for example, default.
6、Enter the SQLAlchemy URL for accessing your database.
For example, assuming HiveServer is running on node c7402, connect the database named default to the Superset listening port 10000:
hive://hive@c7402:10000/default
ZooKeeper-based URL discovery is not supported.
7、Click Test Connection.
The success message appears, and the names of any tables in the database appear at the bottom of the page.
8、Scroll to the bottom of the page, and click Save.
hive://hive@{hostname}:{port}/{database}