#简介
Presto是一个开源的分布式SQL查询引擎,适用于交互式分析查询,数据量支持GB到PB字节。Presto是一个开源的分布式SQL查询引擎,适用于交互式分析查询,数据量支持GB到PB字节。
#官网
http://prestodb-china.com/
#源码
京东源码 https://github.com/CHINA-JD/presto/
官方源码 https://github.com/prestodb/presto
#文档
https://prestodb-china.com/docs/current/index.html
#启动服务
/var/presto/presto-server/bin/launcher start
#停止服务
/var/presto/presto-server/bin/launcher stop
#命令行访问
https://prestodb.io/docs/current/installation/cli.html
#10.111.111.241上的客户端命令行操作
>cd /var/presto/client
>./presto --server localhost:8080 --catalog hive --schema default
>show tables;
#查看端口占用
netstat -nalp|grep 8080
#查看线程
ps -aux | grep pid
#开放某个端口 在/etc/sysconfig/iptables里添加
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
#简单安装配置
http://blog.csdn.net/wulantian/article/details/50749711
Presto是一个开源的分布式SQL查询引擎,适用于交互式分析查询,数据量支持GB到PB字节。Presto是一个开源的分布式SQL查询引擎,适用于交互式分析查询,数据量支持GB到PB字节。
#官网
http://prestodb-china.com/
#源码
京东源码 https://github.com/CHINA-JD/presto/
官方源码 https://github.com/prestodb/presto
#文档
https://prestodb-china.com/docs/current/index.html
#启动服务
/var/presto/presto-server/bin/launcher start
#停止服务
/var/presto/presto-server/bin/launcher stop
#命令行访问
https://prestodb.io/docs/current/installation/cli.html
#10.111.111.241上的客户端命令行操作
>cd /var/presto/client
>./presto --server localhost:8080 --catalog hive --schema default
>show tables;
#查看端口占用
netstat -nalp|grep 8080
#查看线程
ps -aux | grep pid
#开放某个端口 在/etc/sysconfig/iptables里添加
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
#简单安装配置
http://blog.csdn.net/wulantian/article/details/50749711