What I usually do is to copy the config files (gora.properties and
gora-{datastore}-mapping.xml) into the target directories of my
applications and enjoy life (:


Renato M.


2013/8/15 Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>

> When we packzage Gora we ship the compiled code only.
> It is down to us users to create the right mapping and properties on a
> datastore-to-datastore basis.
> For the compiled Gora mapping code to map your data down in to HBase you
> really need your default datastore property established in gora.properties
> and this needs to be on the cp.
> You also need to write your table, columns and column properties in your
> gora-hbase-mapping.xml file. We read your mapping and eastablish the schema
> in HBase accordingly.
> ...
> I think thats about it.
> If you think the documentation could be better here then please post some
> suggestion and I/someone else will write it to the Gora site.
> hth
> Best
> Lewis
>
> On Thursday, August 15, 2013, Sznajder ForMailingList <
> bs4mailingl...@gmail.com> wrote:
> > It is great! Thanks a lot!
> >
> >
> > On Thu, Aug 15, 2013 at 4:34 PM, Emir Munoz <emir.mu...@deri.org> wrote:
> >>
> >> Hi,
> >>
> >>
> >>
> >> From the documentation. “Gora reads necessary configuration from a
> properties file name gora.properties. The file is searched in the
> classpath, which is obtained using the ClassLoader of the DataStoreFactory
> class.” You can put your file even into subfolders but needs to be in the
> classpath.
> >>
> >> http://gora.apache.org/current/gora-conf.html
> >>
> >>
> >>
> >> Cheers,
> >>
> >> Emir
> >>
> >>
> >>
> >> From: Sznajder ForMailingList [mailto:bs4mailingl...@gmail.com]
> >> Sent: 15 August 2013 13:41
> >> To: user@gora.apache.org
> >> Subject: Re: Defining the HBASE Mapping
> >>
> >>
> >>
> >> Thanks , but , in this case, why the gora-hbase-mapping.xml file is
> under conf/ directory and not under src/main/resources folder?
> >>
> >> Best regards
> >> Benjamin
> >>
> >>
> >>
> >> On Thu, Aug 15, 2013 at 3:04 PM, Emir Munoz <emir.mu...@deri.org>
> wrote:
> >>
> >> You should put your mapping and properties files into
> src/main/resources folder and gora will recognize them.
> >>
> >>
> >>
> >> Cheers,
> >>
> >> Emir
> >>
> >>
> >>
> >>
> >>
> >> From: Sznajder ForMailingList [mailto:bs4mailingl...@gmail.com]
> >> Sent: 15 August 2013 12:36
> >> To: user@gora.apache.org
> >> Subject: Defining the HBASE Mapping
> >>
> >>
> >>
> >> Hi
> >>
> >> I would like to define a new schema for my own project.
> >>
> >> I succeeded to define the schema using AVRO and compiling it.
> >>
> >> However, where should I define the new HBASE Mapping and how do I cause
> the project to read it....
> >>
> >> thanks a lot
> >>
> >>
> >
>
> --
> *Lewis*
>
>

Reply via email to