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)
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---