Github user watermen commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/606
  
    @ravipesala Can you tell me where is the code about `In cluster we always 
takes the path from carbon.properties, not from context.`? I only found in 
SparkEnv.init, we take the path from context.
    ```scala
      def init(sqlContext: SQLContext): Unit = {
        if (!initialized) {
          val cc = sqlContext.asInstanceOf[CarbonContext]
          val catalog = new CarbonMetastore(cc, cc.storePath, 
cc.hiveClientInterface, "")
          carbonEnv = CarbonEnv(catalog)
          CarbonIUDAnalysisRule.init(sqlContext)
          initialized = true
          
CarbonProperties.getInstance.addProperty(CarbonCommonConstants.IS_DRIVER_INSTANCE,
 "true")
        }
      }
    ```


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