Created 06-06-2016 11:16 PM
Created 06-06-2016 11:47 PM
You can just omit the TTL parameter (meaning that do not specify) in which case it will default to FOREVER. I am not sure whether we used to parse TTL => 'FOREVER' as an expression before 2.4.
Created 06-07-2016 02:06 AM
Accepting this answer as well!
Created 06-06-2016 11:51 PM
Created 06-08-2016 03:28 AM
HConstants.FOREVER is now defined as follows:
/** * Unlimited time-to-live. */ // public static final int FOREVER = -1; public static final int FOREVER = Integer.MAX_VALUE;
So, you can specify 'FOREVER' for TTL by:
create 't1', {NAME => 'f1', TTL => 2147483647}
or
create 't1', {NAME => 'f1', TTL => 0x7fffffff}