Spark trial setup using Intellj on a windows machine.
follow this blog for spark/intellj setup instructions http://nanxiao.me/en/build-apache-spark-application-in-intellij-idea-14-1/
follow these instructions for the light postgres db: http://www.pgdevbox.com/#getgoingpart
retreive data from a greenplum/postgres DB into a spark data frame