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]>*

Reply via email to