You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2020/04/09 14:36:03 UTC

[phoenix-queryserver] branch master updated: PHOENIX-5830 Fix python printing in query-server

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 027ee5e  PHOENIX-5830 Fix python printing in query-server
027ee5e is described below

commit 027ee5ec3f5289960c6061dd898139059b72d753
Author: Richard Antal <an...@gmail.com>
AuthorDate: Thu Apr 9 14:24:20 2020 +0200

    PHOENIX-5830 Fix python printing in query-server
---
 bin/sqlline-thin.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/sqlline-thin.py b/bin/sqlline-thin.py
index 4d15b18..2a8bb74 100755
--- a/bin/sqlline-thin.py
+++ b/bin/sqlline-thin.py
@@ -100,7 +100,7 @@ def get_hbase_param(key, default):
 
     hbase_cmd = phoenix_utils.which(hbase_exec_name)
     if hbase_cmd is None:
-        print 'Failed to find hbase executable on PATH, defaulting %s to %s.' % key, default
+        print 'Failed to find hbase executable on PATH, defaulting %s to %s.' % (key, default)
         return default
 
     env['HBASE_CONF_DIR'] = phoenix_utils.hbase_conf_dir
@@ -108,7 +108,7 @@ def get_hbase_param(key, default):
             env=env, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
     (stdout, stderr) = proc.communicate()
     if proc.returncode != 0:
-        print 'Failed to extract %s from hbase-site.xml, defaulting to %s.' % key, default
+        print 'Failed to extract %s from hbase-site.xml, defaulting to %s.' % (key, default)
         return default
     # Don't expect this to happen, but give a default value just in case
     if stdout is None: