What's inside of carbon.metastore?

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

What's inside of carbon.metastore?

keyann_shen
Hi~

I am new to carbon,and I link to carbondata by using  "
getOrCreateCarbonSession("<hdfs store path>","<local metastore path>")  .
I found introduction of "storepath" in official document FAQS .》》The store
location specified while creating carbon session is used by the CarbonData
to store the meta data like the schema, dictionary files, dictionary meta
data and sort indexes.
I can't find a detailed introduction to "metastore".So I want to ask what is
the role of  "metastore"?

Thanks&Regard
Keyann



--
Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: What's inside of carbon.metastore?

ravipesala
Hi,

Carbon internally uses hive metastore to maintain the metadata information.
By default hive uses derby db for storing hivemetadata so user can choose
the metastore path while creating carbon session to let hive creates derby
db data folder in that location.

Regards,
Ravindra.


On 1 December 2017 at 09:02, keyann_shen <[hidden email]> wrote:

> Hi~
>
> I am new to carbon,and I link to carbondata by using  "
> getOrCreateCarbonSession("<hdfs store path>","<local metastore path>")  .
> I found introduction of "storepath" in official document FAQS .》》The store
> location specified while creating carbon session is used by the CarbonData
> to store the meta data like the schema, dictionary files, dictionary meta
> data and sort indexes.
> I can't find a detailed introduction to "metastore".So I want to ask what
> is
> the role of  "metastore"?
>
> Thanks&Regard
> Keyann
>
>
>
> --
> Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.
> n5.nabble.com/
>



--
Thanks & Regards,
Ravi