Login  Register

Re: [jira] [Created] (CARBONDATA-713) Use store location in properties when user didn't pass the location as the parameter of the constructor

Posted by Liang Chen on Feb 21, 2017; 2:48am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Created-CARBONDATA-713-Use-store-location-in-properties-when-user-didn-t-pass-the-location-as-tr-tp7709p7742.html

Hi
Can you explain more, why this is a bug?
System uses "/carbon.store" as default store location if users don't specify the parameter.

Regards
Liang

JIRA jira@apache.org wrote
Yadong Qi created CARBONDATA-713:
------------------------------------

             Summary: Use store location in properties when user didn't pass the location as the parameter of the constructor
                 Key: CARBONDATA-713
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-713
             Project: CarbonData
          Issue Type: Bug
          Components: spark-integration
    Affects Versions: 1.1.0-incubating
            Reporter: Yadong Qi


The store location of carbon will come from 3 places:
1. default location path in code(../carbon.store)
2. configurate "carbon.storelocation" in carbon.properties
3. pass the location as the parameter of the constructor
The priority is low to high.

But when I create a CarbonContext or CarbonSession without any parameters and configurate "carbon.storelocation" in carbon.properties, the final value of location is defalut(../carbon.store)





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)