attilapiros commented on pull request #29090:
URL: https://github.com/apache/spark/pull/29090#issuecomment-665952684


   Thanks @holdenk for looking into this. 
   
   And what about logging out a warning when no unit is given? 
   
   Like:
   "Memory setting without explicit unit (${value}) is taken to be in MB by 
default! For details check SPARK-32293."
   
   This way in case of a problem we provide an indication to the route cause. 
   This error mostly could be at the beginning of the application as after 
multiplying a number with 1024 the result will be a quite huge and this will 
trigger an allocation which is hard to be satisfied (not impossible but in 
client mode going up for example from 1GB to 1TB, that's huge). 
   
   The exception in these cases will be thrown by failed memory allocations. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to