
bde2020/hive.
To run Hive with postgresql metastore:
docker-compose up -d
To deploy in Docker Swarm:
docker stack deploy -c docker-compose.yml hive
To run a PrestoDB 0.181 with Hive connector:
docker-compose up -d presto-coordinator
This deploys a Presto server listens on port 8080
Load data into Hive:
$ docker-compose exec hive-server bash # /opt/hive/bin/beeline -u jdbc:hive2://localhost:*** > CREATE TABLE pokes (foo INT, bar STRING); > LOAD DATA LOCAL INPATH '/opt/hive/examples/files/kv1.txt' OVERWRITE INTO TABLE pokes;
Then query it from PrestoDB. You can get presto.jar from PrestoDB website:
$ wget [***] $ mv presto-cli-0.183-executable.jar presto.jar $ chmod +x presto.jar $ ./presto.jar --server localhost:8080 --catalog hive --schema default presto> select * from pokes;



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务