Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Release elastic-job-cloud 2.1.4 #1229

Closed
wants to merge 1 commit into from

Conversation

haocao
Copy link

@haocao haocao commented Jun 14, 2017

Initial release of Elastic Job Cloud

@OhRobin
Copy link
Contributor

OhRobin commented Jun 19, 2017

Please provide an example here: https://github.com/dcos/examples

@haocao
Copy link
Author

haocao commented Jun 20, 2017

Already provided the example here: dcos/examples#181, please help to check.

@ryadav88
Copy link
Contributor

@haocao the package doesn't install. Please validate.

java.net.UnknownHostException: mesos.master: Name or service not known
	at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) ~[na:1.8.0_121]
	at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928) ~[na:1.8.0_121]
	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323) ~[na:1.8.0_121]
	at java.net.InetAddress.getAllByName0(InetAddress.java:1276) ~[na:1.8.0_121]
	at java.net.InetAddress.getAllByName(InetAddress.java:1192) ~[na:1.8.0_121]
	at java.net.InetAddress.getAllByName(InetAddress.java:1126) ~[na:1.8.0_121]
	at org.apache.zookeeper.client.StaticHostProvider.<init>(StaticHostProvider.java:61) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
	at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:445) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
	at org.apache.curator.utils.DefaultZookeeperFactory.newZooKeeper(DefaultZookeeperFactory.java:29) ~[curator-client-2.10.0.jar:na]
	at org.apache.curator.framework.imps.CuratorFrameworkImpl$2.newZooKeeper(CuratorFrameworkImpl.java:150) ~[curator-framework-2.10.0.jar:na]
	at org.apache.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:94) ~[curator-client-2.10.0.jar:na]
	at org.apache.curator.HandleHolder.getZooKeeper(HandleHolder.java:55) ~[curator-client-2.10.0.jar:na]
	at org.apache.curator.ConnectionState.reset(ConnectionState.java:218) ~[curator-client-2.10.0.jar:na]
	at org.apache.curator.ConnectionState.start(ConnectionState.java:103) ~[curator-client-2.10.0.jar:na]
	at org.apache.curator.CuratorZookeeperClient.start(CuratorZookeeperClient.java:190) ~[curator-client-2.10.0.jar:na]
	at org.apache.curator.framework.imps.CuratorFrameworkImpl.start(CuratorFrameworkImpl.java:259) ~[curator-framework-2.10.0.jar:na]
	at com.dangdang.ddframe.job.reg.zookeeper.ZookeeperRegistryCenter.init(ZookeeperRegistryCenter.java:98) [elastic-job-common-core-2.1.4.jar:na]
	at com.dangdang.ddframe.job.cloud.scheduler.Bootstrap.main(Bootstrap.java:52) [elastic-job-cloud-scheduler-2.1.4.jar:na]
[ERROR] 2017-06-25 02:27:28,267 --main-- [org.apache.curator.CuratorZookeeperClient]  
java.io.IOException: java.net.UnknownHostException: mesos.master
	at org.apache.curator.ConnectionState.close(ConnectionState.java:119) ~[curator-client-2.10.0.jar:na]
	at org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClient.java:203) ~[curator-client-2.10.0.jar:na]
	at org.apache.curator.framework.imps.CuratorFrameworkImpl.close(CuratorFrameworkImpl.java:321) [curator-framework-2.10.0.jar:na]
	at com.dangdang.ddframe.job.reg.zookeeper.ZookeeperRegistryCenter.init(ZookeeperRegistryCenter.java:101) [elastic-job-common-core-2.1.4.jar:na]
	at com.dangdang.ddframe.job.cloud.scheduler.Bootstrap.main(Bootstrap.java:52) [elastic-job-cloud-scheduler-2.1.4.jar:na]
Caused by: java.net.UnknownHostException: mesos.master
	at java.net.InetAddress.getAllByName0(InetAddress.java:1280) ~[na:1.8.0_121]
	at java.net.InetAddress.getAllByName(InetAddress.java:1192) ~[na:1.8.0_121]
	at java.net.InetAddress.getAllByName(InetAddress.java:1126) ~[na:1.8.0_121]
	at org.apache.zookeeper.client.StaticHostProvider.<init>(StaticHostProvider.java:61) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
	at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:445) ~[zookeeper-3.4.6.jar:3.4.6-1569965]
	at org.apache.curator.utils.DefaultZookeeperFactory.newZooKeeper(DefaultZookeeperFactory.java:29) ~[curator-client-2.10.0.jar:na]
	at org.apache.curator.framework.imps.CuratorFrameworkImpl$2.newZooKeeper(CuratorFrameworkImpl.java:150) ~[curator-framework-2.10.0.jar:na]
	at org.apache.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:94) ~[curator-client-2.10.0.jar:na]
	at org.apache.curator.HandleHolder.internalClose(HandleHolder.java:128) ~[curator-client-2.10.0.jar:na]
	at org.apache.curator.HandleHolder.closeAndClear(HandleHolder.java:71) ~[curator-client-2.10.0.jar:na]
	at org.apache.curator.ConnectionState.close(ConnectionState.java:114) ~[curator-client-2.10.0.jar:na]
	... 4 common frames omitted
Command exited with status 1 (pid: 14)```

@haocao
Copy link
Author

haocao commented Jun 26, 2017

The package is correct and already installed in our dcos environment.

mesos.master is just a variable, you should replace it with a real Zookeeper server ip address and port , such as 192.168.1.1:2181.

It's the same meaning as marathon's Zookeeper config:

https://github.com/mesosphere/universe/blob/version-3.x/repo/packages/M/marathon/9/config.json

2017-06-26 4 50 05

@haocao
Copy link
Author

haocao commented Jul 10, 2017

Any feedback about it?

}
},
"images": {
"icon-small": "https://github.com/dcos/dcos-ui/blob/master/plugins/services/src/img/icon-service-default-small.png?raw=true",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you wish to change these images to elastic specific?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really, we plan to use our own image later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants