Error starting job manager in 1.0-SNAPSHOT

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error starting job manager in 1.0-SNAPSHOT

Andrew Whitaker
Hi,

I'm getting the following error when attempting to start the job manager:

```
./bin/jobmanager.sh start cluster streaming
```

```
10:51:27,824 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Registered UNIX signal handlers for [TERM, HUP, INT]
10:51:27,914 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Loading configuration from /Users/anwhitaker/Downloads/flink-1.0-SNAPSHOT 3/conf
10:51:27,922 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Starting JobManager without high-availability
10:51:28,034 ERROR org.apache.flink.runtime.jobmanager.JobManager                - streaming: unknown error
java.net.UnknownHostException: streaming: unknown error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
at java.net.InetAddress.getAllByName(InetAddress.java:1192)
at java.net.InetAddress.getAllByName(InetAddress.java:1126)
at java.net.InetAddress.getByName(InetAddress.java:1076)
at org.apache.flink.runtime.jobmanager.JobManager$.parseArgs(JobManager.scala:1955)
at org.apache.flink.runtime.jobmanager.JobManager$.liftedTree2$1(JobManager.scala:1517)
at org.apache.flink.runtime.jobmanager.JobManager$.main(JobManager.scala:1516)
at org.apache.flink.runtime.jobmanager.JobManager.main(JobManager.scala)
```

I don't think my config has changed. Are there changes from the last few days that could be causing this?

Thanks,

Andrew Whitaker | [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Error starting job manager in 1.0-SNAPSHOT

Stephan Ewen
Hi!

As of a few weeks ago, there is no "streaming" or "batch" mode any more. There is only one mode that handles both.

I think the argument "streaming" passed to the script is then incorrectly interpreted as the hostname to bin the JobManager network interface to.
Then you get the "UnknownHostException".

Simply drop "streaming" from the command line arguments (call ./bin/jobmanager.sh start cluster). That should solve it.

Best,
Stephan


On Wed, Jan 20, 2016 at 6:23 PM, Andrew Whitaker <[hidden email]> wrote:
Hi,

I'm getting the following error when attempting to start the job manager:

```
./bin/jobmanager.sh start cluster streaming
```

```
10:51:27,824 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Registered UNIX signal handlers for [TERM, HUP, INT]
10:51:27,914 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Loading configuration from /Users/anwhitaker/Downloads/flink-1.0-SNAPSHOT 3/conf
10:51:27,922 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Starting JobManager without high-availability
10:51:28,034 ERROR org.apache.flink.runtime.jobmanager.JobManager                - streaming: unknown error
java.net.UnknownHostException: streaming: unknown error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
at java.net.InetAddress.getAllByName(InetAddress.java:1192)
at java.net.InetAddress.getAllByName(InetAddress.java:1126)
at java.net.InetAddress.getByName(InetAddress.java:1076)
at org.apache.flink.runtime.jobmanager.JobManager$.parseArgs(JobManager.scala:1955)
at org.apache.flink.runtime.jobmanager.JobManager$.liftedTree2$1(JobManager.scala:1517)
at org.apache.flink.runtime.jobmanager.JobManager$.main(JobManager.scala:1516)
at org.apache.flink.runtime.jobmanager.JobManager.main(JobManager.scala)
```

I don't think my config has changed. Are there changes from the last few days that could be causing this?

Thanks,

Andrew Whitaker | [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Error starting job manager in 1.0-SNAPSHOT

Andrew Whitaker
Stephen,

Thanks so much for the quick response. That worked for me!

On Wed, Jan 20, 2016 at 11:34 AM, Stephan Ewen <[hidden email]> wrote:
Hi!

As of a few weeks ago, there is no "streaming" or "batch" mode any more. There is only one mode that handles both.

I think the argument "streaming" passed to the script is then incorrectly interpreted as the hostname to bin the JobManager network interface to.
Then you get the "UnknownHostException".

Simply drop "streaming" from the command line arguments (call ./bin/jobmanager.sh start cluster). That should solve it.

Best,
Stephan


On Wed, Jan 20, 2016 at 6:23 PM, Andrew Whitaker <[hidden email]> wrote:
Hi,

I'm getting the following error when attempting to start the job manager:

```
./bin/jobmanager.sh start cluster streaming
```

```
10:51:27,824 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Registered UNIX signal handlers for [TERM, HUP, INT]
10:51:27,914 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Loading configuration from /Users/anwhitaker/Downloads/flink-1.0-SNAPSHOT 3/conf
10:51:27,922 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Starting JobManager without high-availability
10:51:28,034 ERROR org.apache.flink.runtime.jobmanager.JobManager                - streaming: unknown error
java.net.UnknownHostException: streaming: unknown error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
at java.net.InetAddress.getAllByName(InetAddress.java:1192)
at java.net.InetAddress.getAllByName(InetAddress.java:1126)
at java.net.InetAddress.getByName(InetAddress.java:1076)
at org.apache.flink.runtime.jobmanager.JobManager$.parseArgs(JobManager.scala:1955)
at org.apache.flink.runtime.jobmanager.JobManager$.liftedTree2$1(JobManager.scala:1517)
at org.apache.flink.runtime.jobmanager.JobManager$.main(JobManager.scala:1516)
at org.apache.flink.runtime.jobmanager.JobManager.main(JobManager.scala)
```

I don't think my config has changed. Are there changes from the last few days that could be causing this?

Thanks,

Andrew Whitaker | [hidden email]




--
Andrew Whitaker | [hidden email]
--
Note: this information is confidential. It is prohibited to share, post online or otherwise publicize without Braintree's prior written consent.
Reply | Threaded
Open this post in threaded view
|

Re: Error starting job manager in 1.0-SNAPSHOT

Stephan Ewen
Sorry for the confusion with that. The 1.0-SNAPSHOT is changing quite a bit, we are trying to consolidate as much as possible for 1.0 to keep braking changes after that low.

On Wed, Jan 20, 2016 at 7:58 PM, Andrew Whitaker <[hidden email]> wrote:
Stephen,

Thanks so much for the quick response. That worked for me!

On Wed, Jan 20, 2016 at 11:34 AM, Stephan Ewen <[hidden email]> wrote:
Hi!

As of a few weeks ago, there is no "streaming" or "batch" mode any more. There is only one mode that handles both.

I think the argument "streaming" passed to the script is then incorrectly interpreted as the hostname to bin the JobManager network interface to.
Then you get the "UnknownHostException".

Simply drop "streaming" from the command line arguments (call ./bin/jobmanager.sh start cluster). That should solve it.

Best,
Stephan


On Wed, Jan 20, 2016 at 6:23 PM, Andrew Whitaker <[hidden email]> wrote:
Hi,

I'm getting the following error when attempting to start the job manager:

```
./bin/jobmanager.sh start cluster streaming
```

```
10:51:27,824 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Registered UNIX signal handlers for [TERM, HUP, INT]
10:51:27,914 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Loading configuration from /Users/anwhitaker/Downloads/flink-1.0-SNAPSHOT 3/conf
10:51:27,922 INFO  org.apache.flink.runtime.jobmanager.JobManager                - Starting JobManager without high-availability
10:51:28,034 ERROR org.apache.flink.runtime.jobmanager.JobManager                - streaming: unknown error
java.net.UnknownHostException: streaming: unknown error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
at java.net.InetAddress.getAllByName(InetAddress.java:1192)
at java.net.InetAddress.getAllByName(InetAddress.java:1126)
at java.net.InetAddress.getByName(InetAddress.java:1076)
at org.apache.flink.runtime.jobmanager.JobManager$.parseArgs(JobManager.scala:1955)
at org.apache.flink.runtime.jobmanager.JobManager$.liftedTree2$1(JobManager.scala:1517)
at org.apache.flink.runtime.jobmanager.JobManager$.main(JobManager.scala:1516)
at org.apache.flink.runtime.jobmanager.JobManager.main(JobManager.scala)
```

I don't think my config has changed. Are there changes from the last few days that could be causing this?

Thanks,

Andrew Whitaker | [hidden email]




--
Andrew Whitaker | [hidden email]
--
Note: this information is confidential. It is prohibited to share, post online or otherwise publicize without Braintree's prior written consent.