apache/spark — pull request #1457 by maji2014 (2014-07-17 06:38:44+00:00)
Title: Required AM memory is "amMem", not "args.amMemory"

"ERROR yarn.Client: Required AM memory (1024) is above the max threshold (1048) of this cluster" appears if this code is not changed. obviously, 1024 is less than 1048, so change this