05-22-2015 12:18 PM
On Yarn configuration I have set:
Map Task Maximum Heap Size = 2 GiB
Reduce Task Maximum Heap Size = 2GiB
Client Java Heap Size in Bytes = 2Gib
Tasks fails with the following dump:
2015-05-22 20:53:32,255 FATAL [AsyncDispatcher event handler] org.apache.hadoop.yarn.event.AsyncDispatcher: Error in dispatcher thread java.lang.NumberFormatException: For input string: "2147483648" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:499) at java.lang.Integer.parseInt(Integer.java:527) at org.apache.hadoop.mapred.JobConf.parseMaximumHeapSizeMB(JobConf.java:2105)
Unfortunately the ...48 is one too much for 32 bits, but shouldn't Cloudera keep units on the string instead of forcing to "bytes" unit just to fail ?
06-01-2015 04:35 PM