2

我正在尝试针对 CDH 4.3 运行 presto 并收到以下错误消息:

presto:default> SHOW TABLES;
Error running command: Response does not contain a JSON value

服务器之间的连接(在 EC2 内部)已通过 telnet 检查并正常工作。据我所知,服务器运行正常。这里有一些相关的行(./launch run):

2013-11-13T08:37:57.875+0000     INFO   main    org.eclipse.jetty.server.AbstractConnector  Started SelectChannelConnector@0.0.0.0:18080
2013-11-13T08:38:01.037+0000     INFO   Discovery-2 io.airlift.discovery.client.CachingServiceSelector  Discovery server connect succeeded for refresh (collector/general)
2013-11-13T08:38:01.053+0000     INFO   Discovery-1 io.airlift.discovery.client.CachingServiceSelector  Discovery server connect succeeded for refresh (presto/general)
2013-11-13T08:38:02.737+0000     INFO   main    com.facebook.presto.importer.PeriodicImportController   Periodic Importer not enabled.
2013-11-13T08:38:06.389+0000     INFO   main    io.airlift.bootstrap.LifeCycleManager   Life cycle starting...
2013-11-13T08:38:06.390+0000     INFO   main    io.airlift.bootstrap.LifeCycleManager   Life cycle startup complete. System ready.
2013-11-13T08:38:06.392+0000     INFO   main    com.facebook.presto.server.PluginManager    -- Loading plugin /home/ec2-user/presto-server/data/plugin/hive-cdh4 --
2013-11-13T08:38:06.548+0000     INFO   main    com.facebook.presto.server.PluginManager    -- Finished loading plugin /home/ec2-user/presto-server/data/plugin/hive-cdh4 --
...
2013-11-13T08:38:11.642+0000     INFO   main    io.airlift.bootstrap.LifeCycleManager   Life cycle starting...
2013-11-13T08:38:11.648+0000     INFO   main    io.airlift.bootstrap.LifeCycleManager   Life cycle startup complete. System ready.
2013-11-13T08:38:11.698+0000     INFO   main    com.facebook.presto.metadata.CatalogManager Added catalog hive using connector hive-cdh4
2013-11-13T08:38:11.705+0000     INFO   main    com.facebook.presto.metadata.CatalogManager Added catalog jmx using connector jmx
2013-11-13T08:38:11.942+0000     INFO   main    com.facebook.presto.server.PrestoServer ======== SERVER STARTED ========

对此的任何帮助将不胜感激。这些是配置文件:

配置属性

coordinator=true
datasources=jmx,hive
http-server.http.port=18080
presto-metastore.db.type=h2
presto-metastore.db.filename=var/db/MetaStore
task.max-memory=1GB
discovery-server.enabled=true
discovery.uri=http://localhost:18080

jvm.config

-server
-Xmx1G
-XX:+UseConcMarkSweepGC
-XX:+ExplicitGCInvokesConcurrent
-XX:+CMSClassUnloadingEnabled
-XX:+AggressiveOpts
-XX:+HeapDumpOnOutOfMemoryError
-XX:OnOutOfMemoryError=kill -9 %p
-XX:PermSize=150M
-XX:MaxPermSize=150M
-XX:ReservedCodeCacheSize=150M
-Xbootclasspath/p:/home/ec2-user/presto-server/lib/floatingdecimal-0.1.jar

节点属性

node.environment=production
node.id=ffffffff-ffff-ffff-ffff-ffffffffffff
node.data-dir=/home/ec2-user/presto-server/data

目录/hive.properties

connector.name=hive-cdh4
hive.metastore.uri=thrift://ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com:10000
4

0 回答 0