You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2015/03/14 17:22:38 UTC

[jira] [Commented] (FLINK-1356) Add a warning during startup if config files cannot be found

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

Robert Metzger commented on FLINK-1356:
---------------------------------------

Thank you for reporting the issue.

I've just tested it and the JobManager now complains with the following message
{code}
17:21:57,335 ERROR org.apache.flink.runtime.jobmanager.JobManager                - Missing parameter '--configDir'
java.lang.Exception: Missing parameter '--configDir'
	at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$parseArgs$1.apply(JobManager.scala:823)
	at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$parseArgs$1.apply(JobManager.scala:820)
	at scala.Option.map(Option.scala:145)
	at org.apache.flink.runtime.jobmanager.JobManager$.parseArgs(JobManager.scala:819)
	at org.apache.flink.runtime.jobmanager.JobManager$.liftedTree1$1(JobManager.scala:662)
	at org.apache.flink.runtime.jobmanager.JobManager$.main(JobManager.scala:661)
	at org.apache.flink.runtime.jobmanager.JobManager.main(JobManager.scala)
{code}
Since this issue seems resolved, I'm closing the JIRA.

> Add a warning during startup if config files cannot be found
> ------------------------------------------------------------
>
>                 Key: FLINK-1356
>                 URL: https://issues.apache.org/jira/browse/FLINK-1356
>             Project: Flink
>          Issue Type: Improvement
>          Components: JobManager
>    Affects Versions: 0.9
>         Environment: Ubuntu 14.10, Eclipse Luna 4.4.1+Scala IDE 4.1.0.nightly-2_11_2014, JDK 1.7, Scala 2.10.4
>            Reporter: Mathias Peters
>            Priority: Minor
>             Fix For: 0.9
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> At the moment, the job manager fails to start without warning in case the configDir parameter is wrong. There should be a warning in the log about that. 
> Additionally, it would be good to start the JM in local mode with meaningful default values anyway. 



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