Github user zjffdu commented on the issue:

    https://github.com/apache/zeppelin/pull/1366
  
    I think `spark.jars` & `spark.yarn.dist.jars` are duplicated here. 
`--packages` will pass all the jars of the package to `args.jars` which will 
passed to `spark.jars` & `spark.yarn.dist.jars`
    Please refer the following code in spark
    * 
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L297
    * 
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L461
    * 
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala#L476
    
    I also verify the PR in both local mode and yarn-client mode.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to