title: How to specify multiple dependencies using --packages for spark-submit?
body: <p>I have the following as the command line to start a spark streaming job. </p>
  
  <pre><code>    spark-submit --class com.biz.test \
              --packages \
                  org.apache.spark:spark-streaming-kafka_2.10:1.3.0 \
                  org.apache.hbase:hbase-common:1.0.0 \
                  org.apache.hbase:hbase-client:1.0.0 \
                  org.apache.hbase:hbase-server:1.0.0 \
                  org.json4s:json4s-jackson:3.2.11 \
              ./test-spark_2.10-1.0.8.jar \
              &gt;spark_log 2&gt;&amp;1 &amp;
  </code></pre>
  
  <p>The job fails to start with the following error: </p>
  
  <pre><code>Exception in thread "main" java.lang.IllegalArgumentException: Given path is malformed: org.apache.hbase:hbase-common:1.0.0
      at org.apache.spark.util.Utils$.resolveURI(Utils.scala:1665)
      at org.apache.spark.deploy.SparkSubmitArguments.parse$1(SparkSubmitArguments.scala:432)
      at org.apache.spark.deploy.SparkSubmitArguments.parseOpts(SparkSubmitArguments.scala:288)
      at org.apache.spark.deploy.SparkSubmitArguments.&lt;init&gt;(SparkSubmitArguments.scala:87)
      at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:105)
      at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
  </code></pre>
  
  <p>I've tried removing the formatting and returning to a single line, but that doesn't resolve the issue. I've also tried a bunch of variations: different versions, added <code>_2.10</code> to the end of the artifactId, etc.</p>
  
  <p>According to the docs (<code>spark-submit --help</code>): </p>
  
  <blockquote>
    <p>The format for the coordinates should be groupId:artifactId:version.</p>
  </blockquote>
  
  <p>So what I have should be valid and should reference <a href="http://search.maven.org/#artifactdetails%7Corg.apache.hbase%7Chbase-common%7C1.0.0%7Cjar" rel="noreferrer">this package</a>. </p>
  
  <p>If it helps, I'm running Cloudera 5.4.4.</p>
  
  <p>What am I doing wrong? How can I reference the hbase packages correctly?</p>