[
https://issues.apache.org/jira/browse/PHOENIX-4892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16619428#comment-16619428
]
ASF GitHub Bot commented on PHOENIX-4892:
-----------------------------------------
Github user MrSandmanRUS commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/343#discussion_r218525645
--- Diff: bin/phoenix_utils.py ---
@@ -71,6 +71,7 @@ def setPath():
PHOENIX_CLIENT_JAR_PATTERN = "phoenix-*-client.jar"
PHOENIX_THIN_CLIENT_JAR_PATTERN = "phoenix-*-thin-client.jar"
PHOENIX_QUERYSERVER_JAR_PATTERN = "phoenix-*-queryserver.jar"
+ PHOENIX_LOADBALANCER_JAR_PATTERN =
"phoenix-load-balancer-*[!t][!e][!s][!t][!s].jar"
--- End diff --
Unfortunately, it is impossible. Here used fnmatch
(https://docs.python.org/2/library/fnmatch.html) and [!tests] means matches any
character not in "tests" (just 1 character in the end), so if we will have
phoenix-load-balancer-someversion-snapshot.jar we will not find it.
> Unable to start load balancer with queryserver
> ----------------------------------------------
>
> Key: PHOENIX-4892
> URL: https://issues.apache.org/jira/browse/PHOENIX-4892
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.12.0, 4.13.0, 4.13.1, 5.0.0
> Reporter: Vitaliy
> Assignee: Vitaliy
> Priority: Minor
>
> Load balancer can not be started with queryserver, because:
> # Do not specified the path to the load balancer.jar in phoenix_utils.py and
> queryserver.py.
> # Do not specified service for Registry (for ServiceLoader).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)