[ 
https://issues.apache.org/jira/browse/CARBONDATA-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15362699#comment-15362699
 ] 

ASF GitHub Bot commented on CARBONDATA-40:
------------------------------------------

GitHub user ravipesala opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/23

        Make the derby db metastore configurable

    Details are given in https://issues.apache.org/jira/browse/CARBONDATA-40

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ravipesala/incubator-carbondata move_db

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/23.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #23
    
----
commit 98a1891ffcb6c9a7f6a8238a78fc9ce215f93402
Author: ravipesala <[email protected]>
Date:   2016-07-05T09:33:32Z

    Moved unnecessary metastore db to target folder

commit 617119413816b702dfed7beeb788b8b34b2f871a
Author: ravipesala <[email protected]>
Date:   2016-07-05T16:08:27Z

    Make the derby db metastore configurable.

----


> Make metastore_db location of derby configurable in CarbonContext
> -----------------------------------------------------------------
>
>                 Key: CARBONDATA-40
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-40
>             Project: CarbonData
>          Issue Type: Improvement
>            Reporter: Ravindra Pesala
>            Assignee: Ravindra Pesala
>
> Currently metastore_db location of derby is not configurable and it is always 
> created in current directory. Because of this constraint user not able to 
> create multiple CarbonContext with derby db. This is the reason user cannot 
> create CarbonContext in spark-shell with standalone derby db.
> To overcome the above issue we can make the derby db location configurable 
> while creating CarbonContext.
> Case 1:
> {code}
> val cc = new CarbonContext(sc)
> {code}
> In above scenario, default store location at `./carbondata` it means store is 
> created in current directory.And default metastore location 
> `./carbonmetastore`, it means metastore is created at current directory.
> Case 2 :
> {code}
> val cc = new CarbonContext(sc, storeLocation)
> {code}
> In above scenario, default metastore location `./carbonmetastore`, it means 
> metastore is created at current directory.
> Case 3: 
> {code}
> val cc = new CarbonContext(sc, storeLocation, metastoreLocation)
> {code}
> In above scenario all parameters are passed, so store location and 
> metastoreLocation would be created at desired location.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to