TisonKun commented on issue #10251: [FLINK-14851][FLINK-14850] Implement 
Executors and wire them to the ContextEnvironment
URL: https://github.com/apache/flink/pull/10251#issuecomment-555933233
 
 
   > running `bin/flink run -m yarn-cluster examples/batch/WordCount.jar` with 
`HADOOP_HOME` properly set fails with
   > 
   > ```
   > ------------------------------------------------------------
   >  The program finished with the following exception:
   > 
   > java.lang.IllegalArgumentException: The given host:port ('yarn-cluster') 
doesn't contain a valid port
   >         at 
org.apache.flink.util.NetUtils.validateHostPortString(NetUtils.java:108)
   >         at 
org.apache.flink.util.NetUtils.parseHostPortAddress(NetUtils.java:88)
   >         at 
org.apache.flink.client.cli.AbstractCustomCommandLine.applyCommandLineOptionsToConfiguration(AbstractCustomCommandLine.java:81)
   >         at 
org.apache.flink.client.cli.CliFrontend.getEffectiveConfiguration(CliFrontend.java:230)
   >         at 
org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:211)
   >         at 
org.apache.flink.client.cli.CliFrontend.parseParameters(CliFrontend.java:934)
   >         at 
org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:1007)
   >         at 
org.apache.flink.runtime.security.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:30)
   >         at 
org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1007)
   > ```
   > 
   > Most possibly we choose wrong active command-line.
   
   Strange, this issue can be reproduced even with master, but cannot on a 1.7 
release on my environment. I will verify will a new environment later. @kl0u is 
it reproducible for you?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to