as per the discussion in #28 starting with this comment: https://github.com/henridf/apache-spark-node/pull/28#issuecomment-172246963