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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Akash R Nilugal (Jira)
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)
Reply | Threaded
Open this post in threaded view
|

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

Liang Chen
Administrator
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)