Apache-Phoenix | 5.1 | HBase 2.5 | Build #274 SUCCESS
5.1 branch HBase 2.5 build #274 status SUCCESS Build #274 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/274/
Apache-Phoenix | 5.1 | HBase 2.4 | Build #274 SUCCESS
5.1 branch HBase 2.4 build #274 status SUCCESS Build #274 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/274/
Apache-Phoenix | 5.1 | HBase 2.3 | Build #274 SUCCESS
5.1 branch HBase 2.3 build #274 status SUCCESS Build #274 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/274/
Apache-Phoenix | master | HBase 2.5 | Build #585 FAILURE
master branch HBase 2.5 build #585 status FAILURE Build #585 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/585/
Apache-Phoenix | master | HBase 2.4 | Build #585 SUCCESS
master branch HBase 2.4 build #585 status SUCCESS Build #585 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/585/
[phoenix] branch master updated: PHOENIX-7055 Small improvements and bug fixes to sqlline
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix.git The following commit(s) were added to refs/heads/master by this push: new a9fd540fef PHOENIX-7055 Small improvements and bug fixes to sqlline a9fd540fef is described below commit a9fd540fef2e4e1e5063b4ab914e250ee12d0d28 Author: Hari Dara AuthorDate: Thu Sep 28 16:56:49 2023 +0530 PHOENIX-7055 Small improvements and bug fixes to sqlline --- bin/phoenix_utils.py | 8 +--- bin/sqlline.py | 17 ++--- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/bin/phoenix_utils.py b/bin/phoenix_utils.py index de00f4efa9..404acc19ad 100755 --- a/bin/phoenix_utils.py +++ b/bin/phoenix_utils.py @@ -207,9 +207,11 @@ def shell_quote(args): return " ".join([pipes.quote(tryDecode(v)) for v in args]) def common_sqlline_args(parser): -parser.add_argument('-v', '--verbose', help='Verbosity on sqlline.', default='true') -parser.add_argument('-c', '--color', help='Color setting for sqlline.', default='true') -parser.add_argument('-fc', '--fastconnect', help='Fetch all schemas on initial connection', default='false') +parser.add_argument('-v', '--verbose', help='Verbosity on sqlline.', action="store_true") +parser.add_argument('-c', '--color', help='Color setting for sqlline.', action="store_true") +parser.add_argument('-fc', '--fastconnect', +help='Fetch all schemas on initial connection', +action="store_true") if __name__ == "__main__": setPath() diff --git a/bin/sqlline.py b/bin/sqlline.py index 96ccdb6eb9..62f0814c9f 100755 --- a/bin/sqlline.py +++ b/bin/sqlline.py @@ -53,6 +53,11 @@ parser = argparse.ArgumentParser(description='Launches the Apache Phoenix Client parser.add_argument('zookeepers', nargs='?', help='The ZooKeeper quorum string', default='') # Positional argument 'sqlfile' is optional parser.add_argument('sqlfile', nargs='?', help='A file of SQL commands to execute', default='') +parser.add_argument('--noconnect', help='Start without making a connection', +action="store_true") +parser.add_argument('--verbose-command', +help='Show the Java command on the console before executing it', +action="store_true") # Common arguments across sqlline.py and sqlline-thin.py phoenix_utils.common_sqlline_args(parser) # Parse the args @@ -123,8 +128,14 @@ java_cmd = java + ' $PHOENIX_OPTS ' + \ '" -Dlog4j2.configurationFile=file:' + os.path.join(phoenix_utils.current_dir, "log4j2.properties") + \ disable_jna + \ " sqlline.SqlLine -d org.apache.phoenix.jdbc.PhoenixDriver" + \ -" -u jdbc:phoenix:" + phoenix_utils.shell_quote([zookeeper]) + \ -" -n none -p none --color=" + colorSetting + " --fastConnect=" + tryDecode(args.fastconnect) + \ -" --verbose=" + tryDecode(args.verbose) + " --incremental=false --isolation=TRANSACTION_READ_COMMITTED " + sqlfile +(not args.noconnect and " -u jdbc:phoenix:" + phoenix_utils.shell_quote([zookeeper]) or "") + \ +" -n none -p none --color=" + \ +(args.color and "true" or "false") + \ +" --fastConnect=" + (args.fastconnect and "true" or "false") + \ +" --verbose=" + (args.verbose and "true" or "false") + \ +" --incremental=false --isolation=TRANSACTION_READ_COMMITTED " + sqlfile + +if args.verbose_command: +print("Executing java command: " + java_cmd) os.execl("/bin/sh", "/bin/sh", "-c", java_cmd)
[phoenix] branch 5.1 updated: PHOENIX-7055 Small improvements and bug fixes to sqlline
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch 5.1 in repository https://gitbox.apache.org/repos/asf/phoenix.git The following commit(s) were added to refs/heads/5.1 by this push: new 37a937830b PHOENIX-7055 Small improvements and bug fixes to sqlline 37a937830b is described below commit 37a937830bdee343a6e5f8a961563d75784b545d Author: Hari Dara AuthorDate: Thu Sep 28 16:56:49 2023 +0530 PHOENIX-7055 Small improvements and bug fixes to sqlline --- bin/phoenix_utils.py | 8 +--- bin/sqlline.py | 17 ++--- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/bin/phoenix_utils.py b/bin/phoenix_utils.py index 012d09d9f7..3ae92fd5ed 100755 --- a/bin/phoenix_utils.py +++ b/bin/phoenix_utils.py @@ -203,9 +203,11 @@ def shell_quote(args): return " ".join([pipes.quote(tryDecode(v)) for v in args]) def common_sqlline_args(parser): -parser.add_argument('-v', '--verbose', help='Verbosity on sqlline.', default='true') -parser.add_argument('-c', '--color', help='Color setting for sqlline.', default='true') -parser.add_argument('-fc', '--fastconnect', help='Fetch all schemas on initial connection', default='false') +parser.add_argument('-v', '--verbose', help='Verbosity on sqlline.', action="store_true") +parser.add_argument('-c', '--color', help='Color setting for sqlline.', action="store_true") +parser.add_argument('-fc', '--fastconnect', +help='Fetch all schemas on initial connection', +action="store_true") if __name__ == "__main__": setPath() diff --git a/bin/sqlline.py b/bin/sqlline.py index 615decb9d4..bc1cab1cfc 100755 --- a/bin/sqlline.py +++ b/bin/sqlline.py @@ -53,6 +53,11 @@ parser = argparse.ArgumentParser(description='Launches the Apache Phoenix Client parser.add_argument('zookeepers', nargs='?', help='The ZooKeeper quorum string', default='') # Positional argument 'sqlfile' is optional parser.add_argument('sqlfile', nargs='?', help='A file of SQL commands to execute', default='') +parser.add_argument('--noconnect', help='Start without making a connection', +action="store_true") +parser.add_argument('--verbose-command', +help='Show the Java command on the console before executing it', +action="store_true") # Common arguments across sqlline.py and sqlline-thin.py phoenix_utils.common_sqlline_args(parser) # Parse the args @@ -123,8 +128,14 @@ java_cmd = java + ' $PHOENIX_OPTS ' + \ '" -Dlog4j.configuration=file:' + os.path.join(phoenix_utils.current_dir, "log4j.properties") + \ disable_jna + \ " sqlline.SqlLine -d org.apache.phoenix.jdbc.PhoenixDriver" + \ -" -u jdbc:phoenix:" + phoenix_utils.shell_quote([zookeeper]) + \ -" -n none -p none --color=" + colorSetting + " --fastConnect=" + tryDecode(args.fastconnect) + \ -" --verbose=" + tryDecode(args.verbose) + " --incremental=false --isolation=TRANSACTION_READ_COMMITTED " + sqlfile +(not args.noconnect and " -u jdbc:phoenix:" + phoenix_utils.shell_quote([zookeeper]) or "") + \ +" -n none -p none --color=" + \ +(args.color and "true" or "false") + \ +" --fastConnect=" + (args.fastconnect and "true" or "false") + \ +" --verbose=" + (args.verbose and "true" or "false") + \ +" --incremental=false --isolation=TRANSACTION_READ_COMMITTED " + sqlfile + +if args.verbose_command: +print("Executing java command: " + java_cmd) os.execl("/bin/sh", "/bin/sh", "-c", java_cmd)
Apache-Phoenix | 5.1 | HBase 2.1 | Build #275 FAILURE
5.1 branch HBase 2.1 build #275 status FAILURE Build #275 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/275/
Apache-Phoenix | 5.1 | HBase 2.2 | Build #275 FAILURE
5.1 branch HBase 2.2 build #275 status FAILURE Build #275 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/275/
[phoenix-connectors] branch dependabot/maven/phoenix5-hive/org.apache.calcite-calcite-core-1.32.0 deleted (was 940988f)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/phoenix5-hive/org.apache.calcite-calcite-core-1.32.0 in repository https://gitbox.apache.org/repos/asf/phoenix-connectors.git was 940988f Bump calcite-core from 1.16.0 to 1.32.0 in /phoenix5-hive The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
Apache-Phoenix | 5.1 | HBase 2.5 | Build #275 FAILURE
5.1 branch HBase 2.5 build #275 status FAILURE Build #275 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/275/
Apache-Phoenix | 5.1 | HBase 2.4 | Build #275 SUCCESS
5.1 branch HBase 2.4 build #275 status SUCCESS Build #275 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/275/
Apache-Phoenix | 5.1 | HBase 2.3 | Build #275 SUCCESS
5.1 branch HBase 2.3 build #275 status SUCCESS Build #275 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/275/
Apache-Phoenix | master | HBase 2.4 | Build #586 SUCCESS
master branch HBase 2.4 build #586 status SUCCESS Build #586 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/586/
Apache-Phoenix | master | HBase 2.5 | Build #586 SUCCESS
master branch HBase 2.5 build #586 status SUCCESS Build #586 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/586/
[phoenix] branch dependabot/maven/org.apache.zookeeper-zookeeper-3.7.2 created (now 8efb26e095)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.zookeeper-zookeeper-3.7.2 in repository https://gitbox.apache.org/repos/asf/phoenix.git at 8efb26e095 Bump org.apache.zookeeper:zookeeper from 3.5.7 to 3.7.2 No new revisions were added by this update.
[phoenix-queryserver] branch master updated: PHOENIX-6994 Do not duplicate options specified in PHOENIX_QUERYSERVER_OPTS in queryserver.py
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix-queryserver.git The following commit(s) were added to refs/heads/master by this push: new 6f7d3bd PHOENIX-6994 Do not duplicate options specified in PHOENIX_QUERYSERVER_OPTS in queryserver.py 6f7d3bd is described below commit 6f7d3bd1685dcda1362e1a231e4e95baaa93f087 Author: Istvan Toth AuthorDate: Wed Oct 11 15:37:01 2023 +0200 PHOENIX-6994 Do not duplicate options specified in PHOENIX_QUERYSERVER_OPTS in queryserver.py --- bin/queryserver.py | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bin/queryserver.py b/bin/queryserver.py index ec73f1f..9609157 100755 --- a/bin/queryserver.py +++ b/bin/queryserver.py @@ -128,10 +128,11 @@ java_cmd = '%(java)s -cp ' +\ phoenix_queryserver_utils.phoenix_client_jar + os.pathsep + \ phoenix_queryserver_utils.phoenix_queryserver_jar + \ " -Dproc_phoenixserver" + \ -' -Dlog4j2.configurationFile=file:' + os.path.join(phoenix_queryserver_utils.current_dir, "log4j2.properties") + \ -" -Dpsql.root.logger=%(root_logger)s" + \ -" -Dpsql.log.dir=%(log_dir)s" + \ -" -Dpsql.log.file=%(log_file)s" + \ +('' if '-Dlog4j2.configurationFile' in opts else ' -Dlog4j2.configurationFile=file:' ++ os.path.join(phoenix_queryserver_utils.current_dir, "log4j2.properties")) + \ +('' if '-Dpsql.root.logger' in opts else " -Dpsql.root.logger=%(root_logger)s") + \ +('' if '-Dpsql.log.dir' in opts else " -Dpsql.log.dir=%(log_dir)s") + \ +('' if '-Dpsql.log.file' in opts else " -Dpsql.log.file=%(log_file)s") + \ " " + opts + \ " org.apache.phoenix.queryserver.server.QueryServer " + args