Closed adamtulinius closed 9 years ago
I will investigate. It seems that this thread is showing a similar issue: https://github.com/renatoathaydes/Automaton/issues/23 not sure if it can help or not.
Will get back to you shortly
I cannot reproduce. Here is my output (with java 7 and java 8).
> java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
> ./bin/setup-pre-510.sh
### Setting up pre 5.1.0 distributions...
2015/05/14 08:55:50.401 INFO [SetupMain] Generating distributions
2015/05/14 08:55:53.641 INFO [GluPackager] Generated agent package file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/agents/org.linkedin.glu.agent-server-5.6.0/ => localhost:12906
2015/05/14 08:56:01.280 INFO [GluPackager] Generated console package file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/consoles/org.linkedin.glu.console-server-5.6.0/ => localhost:8080
2015/05/14 08:56:02.049 INFO [GluPackager] Generated ZooKeeper instance [1] file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/zookeeper-clusters/zookeeper-cluster/org.linkedin.zookeeper-server-2.1.0/ => 127.0.0.1:2181
2015/05/14 08:56:02.050 INFO [GluPackager] Generated ZooKeeper cluster [default] file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/zookeeper-clusters/zookeeper-cluster/
2015/05/14 08:56:02.689 INFO [GluPackager] Generated agent cli package file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/agent-cli/org.linkedin.glu.agent-cli-5.6.0/
2015/05/14 08:56:02.774 INFO [GluPackager] Generated console cli package file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/console-cli/org.linkedin.glu.console-cli-5.6.0/
2015/05/14 08:56:02.858 INFO [GluPackager] Generated install script file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/bin/install-zookeepers.sh
2015/05/14 08:56:02.891 INFO [GluPackager] Generated install script file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/bin/install-agents.sh
2015/05/14 08:56:02.926 INFO [GluPackager] Generated install script file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/bin/install-consoles.sh
2015/05/14 08:56:02.964 INFO [GluPackager] Generated install script file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/bin/install-agent-cli.sh
2015/05/14 08:56:02.995 INFO [GluPackager] Generated install script file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/bin/install-console-cli.sh
2015/05/14 08:56:03.027 INFO [GluPackager] Generated install script file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/bin/install-all.sh
2015/05/14 08:56:03.027 INFO [SetupMain] All distributions generated successfully.
### Creating agent upgrade...
### Creating console war...
### Moving files around...
### Creating shortcuts...
### Cleanup...
### Setup complete.
#####################
> java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
> ./bin/setup-pre-510.sh
### Setting up pre 5.1.0 distributions...
2015/05/14 08:57:41.804 INFO [SetupMain] Generating distributions
2015/05/14 08:57:42.960 INFO [GluPackager] Generated agent package file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/agents/org.linkedin.glu.agent-server-5.6.0/ => localhost:12906
2015/05/14 08:57:45.169 INFO [GluPackager] Generated console package file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/consoles/org.linkedin.glu.console-server-5.6.0/ => localhost:8080
2015/05/14 08:57:45.473 INFO [GluPackager] Generated ZooKeeper instance [1] file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/zookeeper-clusters/zookeeper-cluster/org.linkedin.zookeeper-server-2.1.0/ => 127.0.0.1:2181
2015/05/14 08:57:45.474 INFO [GluPackager] Generated ZooKeeper cluster [default] file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/zookeeper-clusters/zookeeper-cluster/
2015/05/14 08:57:45.800 INFO [GluPackager] Generated agent cli package file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/agent-cli/org.linkedin.glu.agent-cli-5.6.0/
2015/05/14 08:57:45.810 INFO [GluPackager] Generated console cli package file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/console-cli/org.linkedin.glu.console-cli-5.6.0/
2015/05/14 08:57:45.845 INFO [GluPackager] Generated install script file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/bin/install-zookeepers.sh
2015/05/14 08:57:45.872 INFO [GluPackager] Generated install script file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/bin/install-agents.sh
2015/05/14 08:57:45.903 INFO [GluPackager] Generated install script file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/bin/install-consoles.sh
2015/05/14 08:57:45.930 INFO [GluPackager] Generated install script file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/bin/install-agent-cli.sh
2015/05/14 08:57:45.960 INFO [GluPackager] Generated install script file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/bin/install-console-cli.sh
2015/05/14 08:57:45.981 INFO [GluPackager] Generated install script file:/Volumes/Vault/deployment/content/glu/org.linkedin.glu.packaging-all-5.6.0/pre-510/dists/bin/install-all.sh
2015/05/14 08:57:45.981 INFO [SetupMain] All distributions generated successfully.
### Creating agent upgrade...
### Creating console war...
### Moving files around...
### Creating shortcuts...
### Cleanup...
### Setup complete.
Thanks for looking into the issue. I think you're right, we're still on Java 8u20 (and Java 7u67) so I think the problem will go away after we roll out new Java packages.
Sorry for wasting your time. :-(
No Problem. I do realize I had not tested this script prior to releasing. It's good to know that the issue is with the version of java not glu :)
Same thing happens with both java 7 and java 8. The script from 5.5.6 works fine.
Here's the output when running on java 8: