Github user littleJava commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/433
  
    hi, jacky,
    
    branch: master  
    the command `mvn -DskipTests -Pspark-2.0 -Dhadoop.version=2.6.0  clean 
package`   has ran successfully.
    
    but how can i run carbondata with spark2 ?
    
    i have edited the `bin/carbon-spark-shell` : 
`ASSEMBLY_DIR="$CARBON_SOURCE/assembly/target/scala-2.11"`
    
    the command prompted:
    ```
    /root/spark/bin/spark-submit --name Carbon Spark shell --class 
org.apache.spark.repl.carbon.Main 
/root/carbondata/assembly/target/scala-2.11/carbondata_2.11-1.0.0-incubating-SNAPSHOT-shade-hadoop2.6.0.jar
    java.lang.ClassNotFoundException: org.apache.spark.repl.carbon.Main
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at org.apache.spark.util.Utils$.classForName(Utils.scala:228)
        at 
org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:693)
        at 
org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:185)
        at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:210)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:124)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    ```
     


---
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.
---

Reply via email to