[jira] [Updated] (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
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Akash R Nilugal (Jira)

     [ https://issues.apache.org/jira/browse/CARBONDATA-713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yadong Qi updated CARBONDATA-713:
---------------------------------
    Description:
The store location of carbon comes 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)



  was:
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)




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