addressed reviewer comments.

Note that logging isn’t added to rdd.py because it seemed to be
clobbering with the log4j logs