You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by GitBox <gi...@apache.org> on 2021/11/17 12:58:35 UTC

[GitHub] [bigtop] iwasakims commented on pull request #831: BIGTOP-3599. Bump Phoenix to 5.1.2.

iwasakims commented on pull request #831:
URL: https://github.com/apache/bigtop/pull/831#issuecomment-971554845


   Since we do not have puppet manifests and smoke-tests of Phoenix, I manually tested this like https://github.com/apache/bigtop/pull/733.
   
   ```
   $ ./gradlew phoenix-clean phoenix-pkg repo
   $ cd provisioner/docker
   $ ./docker-hadoop.sh --create 1 --image bigtop/puppet:trunk-centos-8 --memory 16g --repo file:///bigtop-home/output --disable-gpg-check --stack hdfs,yarn,mapreduce,hbase
   $ ./docker-hadoop.sh --exec 1 /bin/bash
   [root@fc569b78dd69 /]# yum install -y phoenix python3
   [root@fc569b78dd69 /]# ln -s /usr/lib/phoenix/phoenix-server.jar /usr/lib/hbase/lib/phoenix-server.jar
   [root@fc569b78dd69 /]# systemctl restart hbase-master hbase-regionserver
   [root@fc569b78dd69 /]# python3 /usr/lib/phoenix/bin/psql.py /usr/share/doc/phoenix-5.1.2/examples/STOCK_SYMBOL.sql /usr/share/doc/phoenix-5.1.2/examples/STOCK_SYMBOL.csv
   [root@fc569b78dd69 /]# python3 /usr/lib/phoenix/bin/sqlline.py
   0: jdbc:phoenix:> SELECT * FROM stock_symbol;
   +--------+----------------------+
   | SYMBOL |       COMPANY        |
   +--------+----------------------+
   | AAPL   | APPLE Inc.           |
   | CRM    | SALESFORCE           |
   | GOOG   | Google               |
   | HOG    | Harlet-Davidson Inc. |
   | HPQ    | Hewlett Packard      |
   | INTC   | Intel                |
   | MSFT   | Microsoft            |
   | WAG    | Walgreens            |
   | WMT    | Walmart              |
   +--------+----------------------+
   9 rows selected (0.046 seconds)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org