carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From watermen <...@git.apache.org>
Subject [GitHub] incubator-carbondata issue #606: [CARBONDATA-713] Make the store path in rig...
Date Tue, 28 Feb 2017 02:58:34 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message