赞
踩
Index of /apache/phoenix (cnnic.cn)
- [atguigu@hadoop100 module]$ tar -zxvf apache-phoenix-5.0.0-HBase-2.0-bin.tar.gz -C /opt/module/
- [atguigu@hadoop100 module]$ mv apache-phoenix-5.0.0-HBase-2.0-bin phoenix
- [atguigu@hadoop102 ~]$ cd /opt/module/hbase-2.0.5/lib/
- [atguigu@hadoop102 lib]$ cp /opt/module/phoenix/phoenix-5.0.0-HBase-2.0-server.jar ./
- [atguigu@hadoop102 lib]$ cp /opt/module/phoenix/phoenix-core-5.0.0-HBase-2.0.jar ./
重启
- [atguigu@hadoop100 hbase-2.0.5]$ bin/stop-hbase.sh
- [atguigu@hadoop100 hbase-2.0.5]$ bin/start-hbase.sh
[atguigu@hadoop100 bin]$ cp /opt/module/hbase-2.0.5/conf/hbase-site.xml ./
[atguigu@hadoop100 bin]$ ./sqlline.py hadoop100:2181
- 0: jdbc:phoenix:hadoop100:2181> !tables
- +------------+--------------+-------------+---------------+----------+------------+--------------------------+
- | TABLE_CAT | TABLE_SCHEM | TABLE_NAME | TABLE_TYPE | REMARKS | TYPE_NAME | SELF_REFERENCING_COL_NAM |
- +------------+--------------+-------------+---------------+----------+------------+--------------------------+
- | | SYSTEM | CATALOG | SYSTEM TABLE | | | |
- | | SYSTEM | FUNCTION | SYSTEM TABLE | | | |
- | | SYSTEM | LOG | SYSTEM TABLE | | | |
- | | SYSTEM | SEQUENCE | SYSTEM TABLE | | | |
- | | SYSTEM | STATS | SYSTEM TABLE | | | |
- +------------+--------------+-------------+---------------+----------+------------+--------------------------+
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。