Github user MrSandmanRUS commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/343#discussion_r218529331
  
    --- Diff: bin/phoenix_utils.py ---
    @@ -162,6 +163,13 @@ def setPath():
         if phoenix_queryserver_jar == "":
             phoenix_queryserver_jar = 
findFileInPathWithoutRecursion(PHOENIX_QUERYSERVER_JAR_PATTERN, 
os.path.join(current_dir, ".."))
     
    +    global phoenix_loadbalancer_jar
    +    phoenix_loadbalancer_jar = find(PHOENIX_LOADBALANCER_JAR_PATTERN, 
os.path.join(current_dir, "..", "phoenix-loadbalancer", "target", "*"))
    +    if phoenix_loadbalancer_jar == "":
    +        phoenix_loadbalancer_jar = 
findFileInPathWithoutRecursion(PHOENIX_LOADBALANCER_JAR_PATTERN, 
os.path.join(current_dir, "..", "lib"))
    --- End diff --
    
    @joshelser Load balancer is presented as a separate jar-file and the 
query-server.jar is uses for connection to load-balancer special java-class - 
ServiceLoader, which is looking for the right jar-file with implementation of 
necessary class. For release you just need to rebuild load-balancer.jar with my 
fix ("added service for registry in meta-inf"). For this you can use pom.xml in 
the load-balancer package.


---

Reply via email to