bigtop icon indicating copy to clipboard operation
bigtop copied to clipboard

BIGTOP-3977: Support appending suffix to phoenix rpm package name

Open smallyao opened this issue 1 year ago • 2 comments

Description of PR

Append suffix to phoenix rpm package name

How was this patch tested?

1 Run './gradlew phoenix-clean phoenix-pkg -PparentDir=/usr/bigtop -PpkgSuffix ' 2 rpm -qpi build/phoenix/rpm/RPMS/noarch/phoenix_3_3_0-5.1.2-1.el7.noarch.rpm

Name        : phoenix_3_3_0
Version     : 5.1.2
Release     : 1.el7
Architecture: noarch
Install Date: (not installed)
Group       : Development/Libraries
Size        : 245557729
License     : ASL 2.0
Signature   : (none)
Source RPM  : phoenix_3_3_0-5.1.2-1.el7.src.rpm
Build Date  : Thu 03 Aug 2023 08:45:55 PM CST
Build Host  : hecs-161106
Relocations : (not relocatable)
URL         : http://phoenix.apache.org
Summary     : Phoenix is a SQL skin over HBase and client-embedded JDBC driver.
Description :
Phoenix is a SQL skin over HBase, delivered as a client-embedded JDBC driver.
The Phoenix query engine transforms an SQL query into one or more HBase scans,
and orchestrates their execution to produce standard JDBC result sets. Direct
use of the HBase API, along with coprocessors and custom filters, results in
performance on the order of milliseconds for small queries, or seconds for
tens of millions of rows. Applications interact with Phoenix through a
standard JDBC interface; all the usual interfaces are supported.

3 rpm -qpl build/phoenix/rpm/RPMS/noarch/phoenix_3_3_0-5.1.2-1.el7.noarch.rpm

/etc/phoenix/conf.dist
/usr/bigtop/3.3.0/usr/lib/phoenix/bin
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/argparse-1.4.0
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/argparse-1.4.0/argparse.py
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/daemon.py
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/end2endTest.py
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/hadoop-metrics2-hbase.properties
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/hadoop-metrics2-phoenix.properties
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/hbase-omid-client-config.yml
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/hbase-site.xml
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/log4j.properties
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/performance.py
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/pherf-standalone.py
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/phoenix_utils.py
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/psql.py
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/readme.txt
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/sqlline.py
/usr/bigtop/3.3.0/usr/lib/phoenix/bin/traceserver.py
/usr/bigtop/3.3.0/usr/lib/phoenix/examples
/usr/bigtop/3.3.0/usr/lib/phoenix/examples/STOCK_SYMBOL.csv
/usr/bigtop/3.3.0/usr/lib/phoenix/examples/STOCK_SYMBOL.sql
/usr/bigtop/3.3.0/usr/lib/phoenix/examples/WEB_STAT.csv
/usr/bigtop/3.3.0/usr/lib/phoenix/examples/WEB_STAT.sql
/usr/bigtop/3.3.0/usr/lib/phoenix/examples/WEB_STAT_QUERIES.sql
/usr/bigtop/3.3.0/usr/lib/phoenix/phoenix-client-hbase-2.4-5.1.2.jar
/usr/bigtop/3.3.0/usr/lib/phoenix/phoenix-client.jar
/usr/bigtop/3.3.0/usr/lib/phoenix/phoenix-pherf-5.1.2.jar
/usr/bigtop/3.3.0/usr/lib/phoenix/phoenix-server-hbase-2.4-5.1.2.jar
/usr/bigtop/3.3.0/usr/lib/phoenix/phoenix-server.jar
/usr/share/doc/phoenix-5.1.2
/usr/share/doc/phoenix-5.1.2/LICENSE
/usr/share/doc/phoenix-5.1.2/NOTICE

4 Run './gradlew phoenix-clean phoenix-pkg' 5 rpm -qpi build/phoenix/rpm/RPMS/noarch/phoenix-5.1.2-1.el7.noarch.rpm

Name        : phoenix
Version     : 5.1.2
Release     : 1.el7
Architecture: noarch
Install Date: (not installed)
Group       : Development/Libraries
Size        : 245557729
License     : ASL 2.0
Signature   : (none)
Source RPM  : phoenix-5.1.2-1.el7.src.rpm
Build Date  : Thu 03 Aug 2023 09:03:36 PM CST
Build Host  : hecs-161106
Relocations : (not relocatable)
URL         : http://phoenix.apache.org
Summary     : Phoenix is a SQL skin over HBase and client-embedded JDBC driver.
Description :
Phoenix is a SQL skin over HBase, delivered as a client-embedded JDBC driver.
The Phoenix query engine transforms an SQL query into one or more HBase scans,
and orchestrates their execution to produce standard JDBC result sets. Direct
use of the HBase API, along with coprocessors and custom filters, results in
performance on the order of milliseconds for small queries, or seconds for
tens of millions of rows. Applications interact with Phoenix through a
standard JDBC interface; all the usual interfaces are supported.

6 rpm -qpl build/phoenix/rpm/RPMS/noarch/phoenix-5.1.2-1.el7.noarch.rpm

/etc/phoenix/conf.dist
/usr/lib/phoenix/bin
/usr/lib/phoenix/bin/argparse-1.4.0
/usr/lib/phoenix/bin/argparse-1.4.0/argparse.py
/usr/lib/phoenix/bin/daemon.py
/usr/lib/phoenix/bin/end2endTest.py
/usr/lib/phoenix/bin/hadoop-metrics2-hbase.properties
/usr/lib/phoenix/bin/hadoop-metrics2-phoenix.properties
/usr/lib/phoenix/bin/hbase-omid-client-config.yml
/usr/lib/phoenix/bin/hbase-site.xml
/usr/lib/phoenix/bin/log4j.properties
/usr/lib/phoenix/bin/performance.py
/usr/lib/phoenix/bin/pherf-standalone.py
/usr/lib/phoenix/bin/phoenix_utils.py
/usr/lib/phoenix/bin/psql.py
/usr/lib/phoenix/bin/readme.txt
/usr/lib/phoenix/bin/sqlline.py
/usr/lib/phoenix/bin/traceserver.py
/usr/lib/phoenix/examples
/usr/lib/phoenix/examples/STOCK_SYMBOL.csv
/usr/lib/phoenix/examples/STOCK_SYMBOL.sql
/usr/lib/phoenix/examples/WEB_STAT.csv
/usr/lib/phoenix/examples/WEB_STAT.sql
/usr/lib/phoenix/examples/WEB_STAT_QUERIES.sql
/usr/lib/phoenix/phoenix-client-hbase-2.4-5.1.2.jar
/usr/lib/phoenix/phoenix-client.jar
/usr/lib/phoenix/phoenix-pherf-5.1.2.jar
/usr/lib/phoenix/phoenix-server-hbase-2.4-5.1.2.jar
/usr/lib/phoenix/phoenix-server.jar
/usr/share/doc/phoenix-5.1.2
/usr/share/doc/phoenix-5.1.2/LICENSE
/usr/share/doc/phoenix-5.1.2/NOTICE

For code changes:

  • [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
  • [ ] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

smallyao avatar Aug 03 '23 12:08 smallyao

@sekikn @kevinw66 Could you please review this patch? I am trying to support phoenix in ambari.

smallyao avatar Aug 08 '23 01:08 smallyao

We can support this feature before bumping phoenix to 5.1.3

smallyao avatar Aug 24 '23 02:08 smallyao