This is an automated email from the ASF dual-hosted git repository.

gjacoby pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.4 by this push:
     new 52cd837  PHOENIX-5444 Incorrect Phoenix Client Path in phoenix_utils.py
52cd837 is described below

commit 52cd837b672713c128c42063678e9b6b21903b51
Author: Daniel Wong <41923099+dbw...@users.noreply.github.com>
AuthorDate: Tue Aug 13 19:04:11 2019 -0700

    PHOENIX-5444 Incorrect Phoenix Client Path in phoenix_utils.py
    
    Update to use existing pattern in the utility class.
    
    Signed-off-by: Geoffrey Jacoby <gjac...@apache.org>
---
 bin/phoenix_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/phoenix_utils.py b/bin/phoenix_utils.py
index 98a0896..2b01345 100755
--- a/bin/phoenix_utils.py
+++ b/bin/phoenix_utils.py
@@ -111,7 +111,7 @@ def setPath():
     phoenix_jar_path = os.path.join(current_dir, "..", "phoenix-client", 
"target","*")
 
     global phoenix_client_jar
-    phoenix_client_jar = find("phoenix-*-client.jar", phoenix_jar_path)
+    phoenix_client_jar = find(PHOENIX_CLIENT_JAR_PATTERN, phoenix_jar_path)
     if phoenix_client_jar == "":
         phoenix_client_jar = 
findFileInPathWithoutRecursion(PHOENIX_CLIENT_JAR_PATTERN, 
os.path.join(current_dir, ".."))
     if phoenix_client_jar == "":

Reply via email to