You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Andrew Whitaker <an...@braintreepayments.com> on 2016/01/20 18:23:00 UTC

Error starting job manager in 1.0-SNAPSHOT

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 | andrew.whitaker@braintreepayments.com

Re: Error starting job manager in 1.0-SNAPSHOT

Posted by Stephan Ewen <se...@apache.org>.
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 <
andrew.whitaker@braintreepayments.com> wrote:

> Stephen,
>
> Thanks so much for the quick response. That worked for me!
>
> On Wed, Jan 20, 2016 at 11:34 AM, Stephan Ewen <se...@apache.org> 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 <
>> andrew.whitaker@braintreepayments.com> 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 | andrew.whitaker@braintreepayments.com
>>>
>>
>>
>
>
> --
> Andrew Whitaker | andrew.whitaker@braintreepayments.com
> --
> Note: this information is confidential. It is prohibited to share, post
> online or otherwise publicize without Braintree's prior written consent.
>

Re: Error starting job manager in 1.0-SNAPSHOT

Posted by Andrew Whitaker <an...@braintreepayments.com>.
Stephen,

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

On Wed, Jan 20, 2016 at 11:34 AM, Stephan Ewen <se...@apache.org> 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 <
> andrew.whitaker@braintreepayments.com> 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 | andrew.whitaker@braintreepayments.com
>>
>
>


-- 
Andrew Whitaker | andrew.whitaker@braintreepayments.com
--
Note: this information is confidential. It is prohibited to share, post
online or otherwise publicize without Braintree's prior written consent.

Re: Error starting job manager in 1.0-SNAPSHOT

Posted by Stephan Ewen <se...@apache.org>.
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 <
andrew.whitaker@braintreepayments.com> 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 | andrew.whitaker@braintreepayments.com
>