Looks like this is caused by a typo in the source code.
I found this line in CliStrings.java:
public static final String CREATE_REGION__ENTRYEXPIRATIONTTLACTION =
"entry-time-to-live-expiriation-action";

So try using the typo in gfsh (i.e. "expiriation" instead of "expiration").
I'll file a jira ticket.


On Thu, Oct 1, 2015 at 2:15 PM, Real Wes Williams <thereal...@outlook.com>
wrote:

> The GemFire User’s Guide
> http://gemfire.docs.pivotal.io/pdf/pivotal-gemfire-ug.pdf <
> http://gemfire.docs.pivotal.io/pdf/pivotal-gemfire-ug.pdf> reports on
> page 740 that --entry-time-to-live-expiration-action is a valid option for
> create region.
>
> geode> create region —name=account
> --entry-time-to-live-expiration-action=destroy
> --entry-time-to-live-expiration=3600 --type=PARTITION
>
> Parameter entry-time-to-live-expiration-action is not applicable for
> create region
>
> If so, then why won’t geode accept it on the create region command line?
> Is there a valid reason?  I don’t know if this is a documentation problem
> or a geode problem.
>
> Thanks,
> Wes

Reply via email to