【SPARK-1779】

add a warning when memoryFraction is not between 0 and 1