无法使用presto显示hive metastore中的表

ohtdti5x  于 2021-06-04  发布在  Hadoop
关注(0)|答案(1)|浏览(612)

我正在尝试用hadoop2和hiveremotemetastore配置presto0.60。当我试图通过以下错误访问“presto cli”表时。

./presto.jar --server name:9083 --catalog default --debug

错误:

2014-03-18T18:50:23.739+0100     WARN   completer-0 com.google.common.cache.LocalCace
Exception thrown during refresh
java.util.concurrent.ExecutionException: java.lang.RuntimeException: 
java.net.SocketTimeoutException: Read timeout
at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299) ~[presto.jar:0.60]
at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286) ~[presto.jar:0.60]

at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) [presto.jar:0.60]
at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:135) ~[presto.jar:0.60]
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2346) [presto.at com.google.common.cache.LocalCache$Segment$1.run(LocalCache.java:2329) ~[presto.jar:0.60]
at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297) [presto.jar:0.60]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156) [presto.jar:0.60]

谢谢

k4emjkb1

k4emjkb11#

请改为尝试以下命令:

./presto.jar --server <presto_coordinator>:8080 --catalog default --debug

相关问题