[
https://issues.apache.org/jira/browse/FLINK-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364279#comment-15364279
]
ASF GitHub Bot commented on FLINK-4160:
---------------------------------------
Github user zentol commented on the issue:
https://github.com/apache/flink/pull/2207
This would print the following:
```
./bin/yarn-session.sh -n 5 -s 4 -jm 512
Error while starting the YARN Client: The JobManager memory (512) is below
the minimum required memory amount of 768 MB
java.lang.IllegalArgumentException: The JobManager memory (512) is below
the minimum required memory amount of 768 MB
at
org.apache.flink.yarn.AbstractYarnClusterDescriptor.setJobManagerMemory(AbstractYarnClusterDescriptor.java:166)
at
org.apache.flink.yarn.cli.FlinkYarnSessionCli.createDescriptor(FlinkYarnSessionCli.java:287)
at
org.apache.flink.yarn.cli.FlinkYarnSessionCli.run(FlinkYarnSessionCli.java:563)
at
org.apache.flink.yarn.cli.FlinkYarnSessionCli.main(FlinkYarnSessionCli.java:445)
```
> YARN session doesn't show input validation errors
> -------------------------------------------------
>
> Key: FLINK-4160
> URL: https://issues.apache.org/jira/browse/FLINK-4160
> Project: Flink
> Issue Type: Bug
> Components: YARN Client
> Affects Versions: 1.1.0
> Reporter: Robert Metzger
> Assignee: Chesnay Schepler
> Priority: Critical
>
> Setting a jobmanager size below 768 mb causes this error:
> {code}
> ~/flink/build-target$ ./bin/yarn-session.sh -n 5 -s 4 -jm 512
> Error while starting the YARN Client. Please check log output!
> {code}
> The problem is that the logs don't contain any information.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)