[GitHub] sraghunandan commented on a change in pull request #3054: [CARBONDATA-3232] Add example and doc for alluxio integration

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] sraghunandan commented on a change in pull request #3054: [CARBONDATA-3232] Add example and doc for alluxio integration

GitBox
sraghunandan commented on a change in pull request #3054: [CARBONDATA-3232] Add example and doc for alluxio integration
URL: https://github.com/apache/carbondata/pull/3054#discussion_r248741543
 
 

 ##########
 File path: examples/spark2/src/main/scala/org/apache/carbondata/examples/AlluxioExample.scala
 ##########
 @@ -17,57 +17,116 @@
 
 package org.apache.carbondata.examples
 
+import java.io.File
+import java.text.SimpleDateFormat
+import java.util.Date
+
+import alluxio.cli.fs.FileSystemShell
 import org.apache.spark.sql.SparkSession
 
 import org.apache.carbondata.core.constants.CarbonCommonConstants
 import org.apache.carbondata.core.datastore.impl.FileFactory
 import org.apache.carbondata.core.util.CarbonProperties
 import org.apache.carbondata.examples.util.ExampleUtils
 
-
 /**
  * configure alluxio:
  * 1.start alluxio
- * 2.upload the jar :"/alluxio_path/core/client/target/
- * alluxio-core-client-YOUR-VERSION-jar-with-dependencies.jar"
- * 3.Get more detail at:http://www.alluxio.org/docs/master/en/Running-Spark-on-Alluxio.html
+ * 2. Please upload data t alluxio if you set runShell as false
+ * ./bin/alluxio fs  copyFromLocal /carbondata_path/hadoop/src/test/resources/data.csv /
+ * 3.Get more detail at: https://www.alluxio.org/docs/1.8/en/compute/Spark.html
 
 Review comment:
   details at

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services