Github user chenliang613 commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/416#discussion_r91846766
  
    --- Diff: 
examples/spark/src/main/scala/org/apache/carbondata/examples/CarbonExample.scala
 ---
    @@ -26,11 +28,15 @@ object CarbonExample {
       def main(args: Array[String]) {
         val cc = ExampleUtils.createCarbonContext("CarbonExample")
         val testData = ExampleUtils.currentPath + 
"/src/main/resources/data.csv"
    -
    +    val rootPath = new File(this.getClass.getResource("/").getPath
    --- End diff --
    
    These parameters have been defined in ExampleUtils.scala as below,  and 
also already been added into CarbonProperties during creation CarbonContext.
    
    def currentPath: String = new File(this.getClass.getResource("/").getPath + 
"../../")
          .getCanonicalPath
      val storeLocation = currentPath + "/target/store"


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