Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smallyao
Copy link
Contributor

@smallyao smallyao commented Aug 3, 2023

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
Copy link
Contributor Author

smallyao commented Aug 8, 2023

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

@smallyao
Copy link
Contributor Author

We can support this feature before bumping phoenix to 5.1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant