[SPARK-1779] add warning when memoryFraction is not between 0 and 1

indent