Well the server side is not actually for YCSB, but for Geode.

IOW, the YCSB client expects a region named "usertable" to be defined on
the server (Geode, Cassandra, MySQL...)  for the workloads.

We've just provided the cache.xml for the server side so you can use it to
start the servers.  But that's not different then starting the server and
creating the regions manually using GFSH for example.



On Thu, Aug 13, 2015 at 2:43 PM, Roman Shaposhnik <[email protected]>
wrote:

> I guess I'm not following: why would you have a server side
> configuration for YCSB?
>
> Thanks,
> Roman.
>
> On Thu, Aug 13, 2015 at 2:33 PM, William Markito <[email protected]>
> wrote:
> > The current cache.xml I'm looking at is -
> >
> https://github.com/brianfrankcooper/YCSB/blob/master/gemfire/src/main/conf/cache.xml
> >  - So something like this should work for the server:
> >
> > *<cache*
> >     xmlns="http://schema.pivotal.io/gemfire/cache";
> >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >     xsi:schemaLocation="http://schema.pivotal.io/gemfire/cache
> > http://schema.pivotal.io/gemfire/cache/cache-8.1.xsd";
> >     version="8.1">
> >
> > <cache>
> >   <region name="usertable" refid="PARTITION"/>
> > </cache>
> > *</cache>*
> >
> >
> > Then for the client:
> >
> > <client-cache xmlns="http://schema.pivotal.io/gemfire/cache";
> >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >     xsi:schemaLocation="http://schema.pivotal.io/gemfire/cache
> > http://schema.pivotal.io/gemfire/cache/cache-8.1.xsd";
> >     version="8.1”>
> >
> >   <pool name="client" subscription-enabled="true">
> >       <locator host="10.0.2.15" port="10334"/>
> >   </pool>
> >
> >   <region name="usertable">
> >      <region-attributes pool-name="client" refid="CACHING_PROXY"/>
> >   </region>
> >
> > </client-cache>
> >
> >
> > On Thu, Aug 13, 2015 at 2:23 PM, Roman Shaposhnik <[email protected]>
> > wrote:
> >
> >> On Thu, Aug 13, 2015 at 1:54 PM, William Markito <[email protected]>
> >> wrote:
> >> > Hi Roman,
> >> >
> >> > There is the cache and client-cache xml.
> >> >
> >> >
> >>
> http://gemfire.docs.pivotal.io/latest/userguide/reference/topics/elements_ref.html
> >>
> >> Sure. What I'm asking is: what is the most reasonable content of
> >> cache.xml that gets shipped as part of YCSB. The current content
> >> clearly doesn't work.
> >>
> >> Thanks,
> >> Roman.
> >>
> >
> >
> >
> > --
> >
> > William Markito Oliveira
> > Enterprise Architect
> > -- For questions about Apache Geode, please write to
> > *[email protected]
> > <[email protected]>*
>



-- 

William Markito Oliveira
Enterprise Architect
-- For questions about Apache Geode, please write to
*[email protected]
<[email protected]>*

Reply via email to