HBASE-16495 When accessed via Thrift, all column families have timeToLive equal to -1 (Tigran Saluev)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/99a82beb Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/99a82beb Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/99a82beb Branch: refs/heads/0.98 Commit: 99a82bebd97f6303d0144cda08f18b84216d0010 Parents: ab01139 Author: tedyu <yuzhih...@gmail.com> Authored: Wed Aug 24 13:40:08 2016 -0700 Committer: Andrew Purtell <apurt...@apache.org> Committed: Wed Aug 24 18:14:38 2016 -0700 ---------------------------------------------------------------------- .../main/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/99a82beb/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java ---------------------------------------------------------------------- diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java index 6c2b7b5..036dbf8 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftUtilities.java @@ -90,6 +90,7 @@ public class ThriftUtilities { col.inMemory = in.isInMemory(); col.blockCacheEnabled = in.isBlockCacheEnabled(); col.bloomFilterType = in.getBloomFilterType().toString(); + col.timeToLive = in.getTimeToLive(); return col; }