vivostar commented on PR #1018:
URL: https://github.com/apache/bigtop/pull/1018#issuecomment-1254528270

   tested on ubuntu-18.04
   ```shell
   ./docker-hadoop.sh -d \
          --create 1 \
          --image bigtop/puppet:trunk-ubuntu-18.04 \
          --memory 8g \
          --repo 
http://repos.bigtop.apache.org/releases/3.1.0/ubuntu/18.04/\$\(ARCH\)\
          --disable-gpg-check \
          --stack hdfs,yarn,mapreduce,hbase,phoenix
   ./docker-hadoop.sh -e 1 /bin/bash
   
   /# python3 /usr/lib/phoenix/bin/sqlline.py localhost
   ...
   0: jdbc:phoenix:localhost> CREATE TABLE t(c VARCHAR PRIMARY KEY);
   No rows affected (1.218 seconds)
   0: jdbc:phoenix:localhost> UPSERT INTO t VALUES ('foo');
   1 row affected (0.085 seconds)
   0: jdbc:phoenix:localhost> SELECT * FROM t;
   +-----+
   |  C  |
   +-----+
   | foo |
   +-----+
   1 row selected (0.031 seconds)
   ```
   tested on debian-10
   ```shell
   ./docker-hadoop.sh -d \
          --create 3 \
          --image bigtop/puppet:trunk-debian-10 \
          --memory 8g \
          --repo 
http://repos.bigtop.apache.org/releases/3.1.0/debian/10/\$\(ARCH\) \
          --disable-gpg-check \
          --stack hdfs,yarn,mapreduce,hbase,phoenix
   ./docker-hadoop.sh -e 1 /bin/bash
   
   /# python3 /usr/lib/phoenix/bin/sqlline.py localhost
   ...
   0: jdbc:phoenix:localhost> CREATE TABLE t(c VARCHAR PRIMARY KEY);
   No rows affected (1.218 seconds)
   0: jdbc:phoenix:localhost> UPSERT INTO t VALUES ('foo');
   1 row affected (0.085 seconds)
   0: jdbc:phoenix:localhost> SELECT * FROM t;
   +-----+
   |  C  |
   +-----+
   | foo |
   +-----+
   1 row selected (0.031 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to