【Hadoop】CDH、Presto配置问题

匿名 (未验证) 提交于 2019-12-02 23:52:01

1、hive.properties中connector.name必须是hive-hadoop2 ,否则启动presto会自动退出

        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:210)         at com.facebook.presto.connector.ConnectorManager.createConnection(ConnectorManager.java:172)         at com.facebook.presto.metadata.StaticCatalogStore.loadCatalog(StaticCatalogStore.java:96)         at com.facebook.presto.metadata.StaticCatalogStore.loadCatalogs(StaticCatalogStore.java:74)         at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:119)         at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:67)2、hive.properties配置core-site.xml和hdfs-site.xml文件,否则会报nameservices1错误core-site.xml和hdfs-site.xml在CDH配置后的路径是:/etc/hadoop/conf/目录下。
3、hive.properties配置如下connector.name=hive-hadoop2hive.metastore.uri=thrift://node001.XXXX.com:9083hive.config.resources=/etc/hadoop/conf/core-site.xml,/etc/haoop/conf/hdfs-site.xml
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!