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

Reply via email to