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:53:27 UTC

[GitHub] [bigtop] iwasakims opened a new pull request #831: BIGTOP-3599. Bump Phoenix to 5.1.2.

iwasakims opened a new pull request #831:
URL: https://github.com/apache/bigtop/pull/831


   https://issues.apache.org/jira/browse/BIGTOP-3599
   
   Phoenix 5.1.0 has compilation error against HBase 2.4.8. Upgrading to Phoenix 5.1.2 should fix this.
   
   ```
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project phoenix-core: Compilation failure: Compilation failure:
   [ERROR] /home/fedora/srcs/bigtop/build/phoenix/rpm/BUILD/phoenix-5.1.0/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/MultiHfileOutputFormat.java:[262,69] cannot find symbol
   [ERROR]   symbol:   method getBytesPerChecksum(org.apache.hadoop.conf.Configuration)
   [ERROR]   location: class org.apache.hadoop.hbase.regionserver.HStore
   [ERROR] /home/fedora/srcs/bigtop/build/phoenix/rpm/BUILD/phoenix-5.1.0/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/MultiHfileOutputFormat.java:[261,65] cannot find symbol
   [ERROR]   symbol:   method getChecksumType(org.apache.hadoop.conf.Configuration)
   [ERROR]   location: class org.apache.hadoop.hbase.regionserver.HStore
   ```
   
   Since Phoenix 5.1.2 can be built against HBase 2.2.6 too, we can merge this even before https://github.com/apache/bigtop/pull/830.


-- 
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 #831: BIGTOP-3599. Bump Phoenix to 5.1.2.

Posted by GitBox <gi...@apache.org>.
iwasakims merged pull request #831:
URL: https://github.com/apache/bigtop/pull/831


   


-- 
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] elukey commented on pull request #831: BIGTOP-3599. Bump Phoenix to 5.1.2.

Posted by GitBox <gi...@apache.org>.
elukey commented on pull request #831:
URL: https://github.com/apache/bigtop/pull/831#issuecomment-997647131


   I was able to build the package, and I tried to run the manual smoke test, but the STOCK_SYMBOL.sql file seems not present in the deb (the simpler test in #733 worked fine):
   
   ```
   root@548bdf3628fe:/# dpkg -c /bigtop-home/output/phoenix/phoenix_5.1.2-1_all.deb 
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./etc/
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./etc/default/
   -rw-r--r-- root/root       993 2021-12-19 20:22 ./etc/default/phoenix
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./etc/phoenix/
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./etc/phoenix/conf.dist/
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./usr/
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./usr/lib/
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./usr/lib/phoenix/
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./usr/lib/phoenix/bin/
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./usr/lib/phoenix/bin/argparse-1.4.0/
   -rw-r--r-- root/root     89214 2021-12-19 20:22 ./usr/lib/phoenix/bin/argparse-1.4.0/argparse.py
   -rwxr-xr-x root/root     32864 2021-12-19 20:22 ./usr/lib/phoenix/bin/daemon.py
   -rwxr-xr-x root/root      1899 2021-12-19 20:22 ./usr/lib/phoenix/bin/end2endTest.py
   -rw-r--r-- root/root      1621 2021-12-19 20:22 ./usr/lib/phoenix/bin/hadoop-metrics2-hbase.properties
   -rw-r--r-- root/root      3056 2021-12-19 20:22 ./usr/lib/phoenix/bin/hadoop-metrics2-phoenix.properties
   -rw-r--r-- root/root      1886 2021-12-19 20:22 ./usr/lib/phoenix/bin/hbase-omid-client-config.yml
   -rw-r--r-- root/root      1084 2021-12-19 20:22 ./usr/lib/phoenix/bin/hbase-site.xml
   -rw-r--r-- root/root      2583 2021-12-19 20:22 ./usr/lib/phoenix/bin/log4j.properties
   -rwxr-xr-x root/root      5194 2021-12-19 20:22 ./usr/lib/phoenix/bin/performance.py
   -rwxr-xr-x root/root      2804 2021-12-19 20:22 ./usr/lib/phoenix/bin/pherf-standalone.py
   -rwxr-xr-x root/root      9037 2021-12-19 20:22 ./usr/lib/phoenix/bin/phoenix_utils.py
   -rwxr-xr-x root/root      2814 2021-12-19 20:22 ./usr/lib/phoenix/bin/psql.py
   -rw-r--r-- root/root      1823 2021-12-19 20:22 ./usr/lib/phoenix/bin/readme.txt
   -rwxr-xr-x root/root      4646 2021-12-19 20:22 ./usr/lib/phoenix/bin/sqlline.py
   -rwxr-xr-x root/root      7226 2021-12-19 20:22 ./usr/lib/phoenix/bin/traceserver.py
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./usr/lib/phoenix/lib/
   -rw-r--r-- root/root 151851727 2021-12-19 20:22 ./usr/lib/phoenix/phoenix-client-hbase-2.2-5.1.2.jar
   -rw-r--r-- root/root  11185569 2021-12-19 20:22 ./usr/lib/phoenix/phoenix-pherf-5.1.2.jar
   -rw-r--r-- root/root  67225842 2021-12-19 20:22 ./usr/lib/phoenix/phoenix-server-hbase-2.2-5.1.2.jar
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./usr/share/
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./usr/share/doc/
   drwxr-xr-x root/root         0 2021-12-19 20:22 ./usr/share/doc/phoenix/
   -rw-r--r-- root/root       130 2021-12-19 20:22 ./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 2021-12-19 20:22 ./usr/share/doc/phoenix/copyright
   lrwxrwxrwx root/root         0 2021-12-19 20:22 ./usr/lib/phoenix/phoenix-client.jar -> phoenix-client-hbase-2.2-5.1.2.jar
   lrwxrwxrwx root/root         0 2021-12-19 20:22 ./usr/lib/phoenix/phoenix-server.jar -> phoenix-server-hbase-2.2-5.1.2.jar
   ```


-- 
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] elukey commented on pull request #831: BIGTOP-3599. Bump Phoenix to 5.1.2.

Posted by GitBox <gi...@apache.org>.
elukey commented on pull request #831:
URL: https://github.com/apache/bigtop/pull/831#issuecomment-997682841


   I think that we are missing to copy the examples dir in Debian's rules, we can follow up later.
   
   +1 to merge


-- 
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 commented on pull request #831: BIGTOP-3599. Bump Phoenix to 5.1.2.

Posted by GitBox <gi...@apache.org>.
iwasakims commented on pull request #831:
URL: https://github.com/apache/bigtop/pull/831#issuecomment-997725214


   Thanks, @elukey. Actually the contents under /usr/share/doc are different between .rpm and .deb. I will file a follow-up JIRA after merging this.
   
   ```
   $ dpkg -c output/phoenix/phoenix_5.1.2-1_all.deb | grep '/usr/share/doc'
   drwxr-xr-x root/root         0 2021-12-20 07:14 ./usr/share/doc/
   drwxr-xr-x root/root         0 2021-12-20 07:14 ./usr/share/doc/phoenix/
   -rw-r--r-- root/root       130 2021-12-20 07:14 ./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 2021-12-20 07:14 ./usr/share/doc/phoenix/copyright
   ```
   
   ```
   $ rpm -q -l -p output/phoenix/noarch/phoenix-5.1.2-1.el8.noarch.rpm | grep '/usr/share/doc'
   /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] iwasakims commented on pull request #831: BIGTOP-3599. Bump Phoenix to 5.1.2.

Posted by GitBox <gi...@apache.org>.
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