agent: update zookeeper binary path

This commit is contained in:
Gyu-Ho Lee 2016-11-09 01:50:44 -08:00
parent 9f6571f556
commit adfa194111
No known key found for this signature in database
GPG Key ID: 1DDD39C7EB70C24C
1 changed files with 2 additions and 2 deletions

View File

@ -324,8 +324,8 @@ func (t *transporterServer) Transfer(ctx context.Context, r *Request) (*Response
}
t.logfile = f
// this changes for different releases
flagString := `-cp zookeeper-3.4.8.jar:lib/slf4j-api-1.6.1.jar:lib/slf4j-log4j12-1.6.1.jar:lib/log4j-1.2.16.jar:conf org.apache.zookeeper.server.quorum.QuorumPeerMain`
// TODO: change for different releases
flagString := `-cp zookeeper-3.4.9.jar:lib/slf4j-api-1.6.1.jar:lib/slf4j-log4j12-1.6.1.jar:lib/log4j-1.2.16.jar:conf org.apache.zookeeper.server.quorum.QuorumPeerMain`
args := []string{shell, "-c", javaBinaryPath + " " + flagString + " " + configFilePath}
cmd := exec.Command(args[0], args[1:]...)