You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by "Yadong Qi (JIRA)" <ji...@apache.org> on 2017/02/20 10:53:44 UTC

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

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)

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 <ch...@gmail.com>.
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)





--
View this message in context: http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/jira-Created-CARBONDATA-713-Use-store-location-in-properties-when-user-didn-t-pass-the-location-as-tr-tp7709p7742.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at Nabble.com.