Map reduce implementation of ksc on AWS