flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1918) NullPointerException at org.apache.flink.client.program.Client's constructor while using ExecutionEnvironment.createRemoteEnvironment
Date Wed, 22 Apr 2015 12:26:59 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14506983#comment-14506983
] 

Stephan Ewen commented on FLINK-1918:
-------------------------------------

[~Ehnalis] It should be fixed in the the latest master-

You can compile your own, or wait a few hours until Travis/Apache have synced the maven repositories
with the new version.

> NullPointerException at org.apache.flink.client.program.Client's constructor while using
ExecutionEnvironment.createRemoteEnvironment
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-1918
>                 URL: https://issues.apache.org/jira/browse/FLINK-1918
>             Project: Flink
>          Issue Type: Bug
>          Components: YARN Client
>            Reporter: Zoltán Zvara
>            Assignee: Stephan Ewen
>              Labels: yarn, yarn-client
>             Fix For: 0.9
>
>
> Trace:
> {code}
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.flink.client.program.Client.<init>(Client.java:104)
> 	at org.apache.flink.client.RemoteExecutor.executePlanWithJars(RemoteExecutor.java:86)
> 	at org.apache.flink.client.RemoteExecutor.executePlan(RemoteExecutor.java:82)
> 	at org.apache.flink.api.java.RemoteEnvironment.execute(RemoteEnvironment.java:70)
> 	at Wordcount.main(Wordcount.java:23)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> {code}
> The constructor is trying to set configuration parameter {{jobmanager.rpc.address}} with
{{jobManagerAddress.getAddress().getHostAddress()}}, but {{jobManagerAddress.holder.addr}}
is {{null}}. {{jobManagerAddress.holder.hostname}} and {{port}} holds the valid information.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message