Note the --packages option works for both PySpark and Spark (Scala).  For
the SparkLauncher class, you should be able to include packages ala:

spark.addSparkArg("--packages", "graphframes:0.5.0-spark2.0-s_2.11")
On Sun, Feb 18, 2018 at 3:30 PM xiaobo <[EMAIL PROTECTED]> wrote: