Hive独立元存储:可以从Presto连接,而不是从Beeline连接

Hive独立元存储:可以从Presto连接,而不是从Beeline连接,hive,Hive,我正在尝试设置Presto和一个独立的Hive元存储来查询S3中的一些数据。我下载了hive“standalone metastore”包,安装并启动了MySQL,初始化并启动了metastore,还启动了Presto 看起来我可以从Presto连接到Metastore。使用etc/catalog/s3.properties中的此配置: connector.name=hive-hadoop2 hive.metastore.uri=thrift://localhost:9083 我可以像这样运行

我正在尝试设置Presto和一个独立的Hive元存储来查询S3中的一些数据。我下载了hive“standalone metastore”包,安装并启动了MySQL,初始化并启动了metastore,还启动了Presto

看起来我可以从Presto连接到Metastore。使用
etc/catalog/s3.properties中的此配置:

connector.name=hive-hadoop2
hive.metastore.uri=thrift://localhost:9083
我可以像这样运行查询

presto:default> select * from my_table;
Query <query id> failed: line 1:15: Table s3.default.my_table does not exist
即使我停止Presto,这种情况也会发生,在这种情况下,应该没有活动的连接。我还将
hive.server2.thrift.max.worker.threads
设置为200


我不知道该尝试什么或从那里看什么,任何建议都将不胜感激。

Beeline与HiveServer2(通常在端口10000上运行)对话,这是一项独立于Hive Metastore(通常在端口9083上运行)的服务。

就是这样,我感到困惑。我想我需要使用HiveMetaStoreClient来编写元数据。
beeline> !connect jdbc:hive2://localhost:9083
Connecting to jdbc:hive2://localhost:9083
Enter username for jdbc:hive2://localhost:9083: [empty]
Enter password for jdbc:hive2://localhost:9083: [empty]
20/10/01 14:40:21 [main]: WARN jdbc.HiveConnection: Failed to connect to localhost:9083
Unexpected end of file when reading from HS2 server. The root cause might be too many concurrent connections. Please ask the administrator to check the number of active connections, and adjust hive.server2.thrift.max.worker.threads if applicable.
Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:9083: null (state=08S01,code=0)