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 2022/08/27 16:24:00 UTC
[GitHub] [bigtop] yamasakisua opened a new pull request, #988: BIGTOP-3787. Add docs in Phoenix .deb package
yamasakisua opened a new pull request, #988:
URL: https://github.com/apache/bigtop/pull/988
- [x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
- [x] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/
I list .rpm and .deb files as below.
- .rpm file.
```
drwxr-xr-x root/root 0 2022-08-22 02:46 ./usr/share/doc/
drwxr-xr-x root/root 0 2022-08-22 02:46 ./usr/share/doc/phoenix/
-rw-r--r-- root/root 33895 2020-01-22 15:10 ./usr/share/doc/phoenix/LICENSE.gz
-rw-r--r-- root/root 3325 2020-01-22 15:10 ./usr/share/doc/phoenix/NOTICE.gz
-rw-r--r-- root/root 129 2022-08-22 02:46 ./usr/share/doc/phoenix/changelog.Debian.gz
-rw-r--r-- root/root 25756 2021-05-30 15:25 ./usr/share/doc/phoenix/changelog.gz
-rw-r--r-- root/root 318 2022-08-22 02:46 ./usr/share/doc/phoenix/copyright
drwxr-xr-x root/root 0 2020-01-22 15:10 ./usr/share/doc/phoenix/examples/
-rw-r--r-- root/root 149 2020-01-22 15:10 ./usr/share/doc/phoenix/examples/STOCK_SYMBOL.csv
-rw-r--r-- root/root 183 2020-01-22 15:10 ./usr/share/doc/phoenix/examples/STOCK_SYMBOL.sql
-rw-r--r-- root/root 2091 2020-01-22 15:10 ./usr/share/doc/phoenix/examples/WEB_STAT.csv
-rw-r--r-- root/root 296 2020-01-22 15:10 ./usr/share/doc/phoenix/examples/WEB_STAT.sql
-rw-r--r-- root/root 563 2020-01-22 15:10 ./usr/share/doc/phoenix/examples/WEB_STAT_QUERIES.sql
```
- .dev files.
```
/usr/share/doc/phoenix-5.1.2
/usr/share/doc/phoenix-5.1.2/LICENSE
/usr/share/doc/phoenix-5.1.2/NOTICE
/usr/share/doc/phoenix-5.1.2/examples
/usr/share/doc/phoenix-5.1.2/examples/STOCK_SYMBOL.csv
/usr/share/doc/phoenix-5.1.2/examples/STOCK_SYMBOL.sql
/usr/share/doc/phoenix-5.1.2/examples/WEB_STAT.csv
/usr/share/doc/phoenix-5.1.2/examples/WEB_STAT.sql
/usr/share/doc/phoenix-5.1.2/examples/WEB_STAT_QUERIES.sql
```
--
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
[GitHub] [bigtop] yamasakisua commented on pull request #988: BIGTOP-3787. Add docs in Phoenix .deb package
Posted by GitBox <gi...@apache.org>.
yamasakisua commented on PR #988:
URL: https://github.com/apache/bigtop/pull/988#issuecomment-1229222971
I could test Phoenix with STOCK_SYMBOL.sql.
```
$ ./docker-hadoop.sh -C config_debian-10.yaml -c 3 -k "zookeeper, hdfs, hbase" -L -G
$ ./docker-hadoop.sh --exec 1 bash
root@9fb115917682:/# apt-get install -y phoenix python3
root@9fb115917682:/# ln -s /usr/lib/phoenix/phoenix-server.jar /usr/lib/hbase/lib/phoenix-server.jar
root@9fb115917682:/# systemctl restart hbase-master hbase-regionserver
root@9fb115917682:/# python3 /usr/lib/phoenix/bin/psql.py /usr/share/doc/phoenix/examples/STOCK_SYMBOL.sql /usr/share/doc/phoenix/examples/STOCK_SYMBOL.csv
root@9fb115917682:/# python3 /usr/lib/phoenix/bin/sqlline.py
Setting property: [incremental, false]
Setting property: [isolation, TRANSACTION_READ_COMMITTED]
issuing: !connect -p driver org.apache.phoenix.jdbc.PhoenixDriver -p user "none" -p password "none" "jdbc:phoenix:"
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/lib/phoenix/phoenix-client-hbase-2.4-5.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/lib/hadoop/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory]
Connecting to jdbc:phoenix:
22/08/27 16:26:39 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Connected to: Phoenix (version 5.1)
Driver: PhoenixEmbeddedDriver (version 5.1)
Autocommit status: true
Transaction isolation: TRANSACTION_READ_COMMITTED
sqlline version 1.9.0
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.097 seconds)
0: jdbc:phoenix:>
--
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
[GitHub] [bigtop] iwasakims merged pull request #988: BIGTOP-3787. Add docs in Phoenix .deb package
Posted by GitBox <gi...@apache.org>.
iwasakims merged PR #988:
URL: https://github.com/apache/bigtop/pull/988
--
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