Fix for variable $::memorysize_mb in hadoop role

Change-Id: Ibe0693a248e4236994ec76e501d5eda9d400983d