presto查询报错
./presto-cli-0.251-executable.jar --server 192.168.31.126:9083 --catalog hive --schema default
输出:
presto:default> show databases;
Error running command: java.io.IOException: unexpected end of stream on Connection{192.168.31.126:9083, proxy=DIRECT hostAddress=/192.168.31.126:9083 cipherSuite=none protocol=http/1.1}
配置:
connector.name=hive-master
hive.metastore.uri=thrift://192.168.31.126:9083
hive.config.resources=${HADOOP_HOME}/etc/hadoop/core-site.xml,${HADOOP_HOME}/etc/hadoop/hdfs-site.xml
hite-site.xml
catalog/hive.properties