configure console log level for Spark
modify role to ensure Java is installed only