changing spark and cassandra to use roles