Github user shivaram commented on the pull request:

    https://github.com/apache/spark/pull/7139#issuecomment-127132992
  
    @brkyvz I just tried this out on a YARN cluster and I actually ran into an 
error trying to use the CSV reader package. The command I ran was 
    ```
    ./bin/sparkR --packages com.databricks:spark-csv_2.10:1.0.3 --master yarn 
--num-executors 2 examples/src/main/r/data-manipulation.R  /flights.csv
    ```
    
    The output I got was 
    ```
    Exception in thread "main" java.lang.IllegalArgumentException: URI is not 
absolute
            at java.io.File.<init>(File.java:416)
            at 
org.apache.spark.deploy.RPackageUtils$$anonfun$checkAndBuildRPackage$1.apply(RPackageUtils.scala:168)
            at 
org.apache.spark.deploy.RPackageUtils$$anonfun$checkAndBuildRPackage$1.apply(RPackageUtils.scala:167)
            at 
scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
            at 
scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
            at 
org.apache.spark.deploy.RPackageUtils$.checkAndBuildRPackage(RPackageUtils.scala:167)
            at 
org.apache.spark.deploy.SparkSubmit$.prepareSubmitEnvironment(SparkSubmit.scala:302)
            at 
org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:154)
            at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
            at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    ```
    
    Any idea what is going on ?


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to