Ah, yes, submitting yarn jobs through the command line is supported.
For example, I created a cluster and ran the command `yarn jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar pi 10 10` and it ran successfully.
Questions:
1) Can you tell us more about why you want to reduce memory/cpu? Are you trying to resize the VMs (unsupported), or reduce the memory each YARN node manager has?
b) If you tried to change YARN configuration in the XML files: did you change them the same way on all nodes? What properties did you set and to what values? (Note that you can create a cluster with
--properties to make this easier)
2) Can you run `yarn jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar pi 10 10`? If you get the same error message, you've likely changed configuration properties incorrectly. If not, it's probably something in your YARNAPP.jar. Does that job set any properties?
3) You can send us a
diagnostic tarball to dataproc-feedback (privately) and we might be able to help more. If you could send us the code for YARNAPP.jar (or some minimal repro) that would also be helpful.