From ca4069dc523e31afcb0665fcff4795c5c6d6a398 Mon Sep 17 00:00:00 2001 From: Elliott Clark Date: Fri, 21 Jun 2013 14:31:01 -0700 Subject: [PATCH] Bloomfilter moved --- hbase-server/src/main/ruby/hbase/admin.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git hbase-server/src/main/ruby/hbase/admin.rb hbase-server/src/main/ruby/hbase/admin.rb index 4c908be..68400ea 100644 --- hbase-server/src/main/ruby/hbase/admin.rb +++ hbase-server/src/main/ruby/hbase/admin.rb @@ -625,10 +625,10 @@ module Hbase family.setValue(COMPRESSION_COMPACT, arg.delete(COMPRESSION_COMPACT)) if arg.include?(COMPRESSION_COMPACT) if arg.include?(org.apache.hadoop.hbase.HColumnDescriptor::BLOOMFILTER) bloomtype = arg.delete(org.apache.hadoop.hbase.HColumnDescriptor::BLOOMFILTER).upcase - unless org.apache.hadoop.hbase.regionserver.StoreFile::BloomType.constants.include?(bloomtype) + unless org.apache.hadoop.hbase.regionserver.BloomType.constants.include?(bloomtype) raise(ArgumentError, "BloomFilter type #{bloomtype} is not supported. Use one of " + org.apache.hadoop.hbase.regionserver.StoreFile::BloomType.constants.join(" ")) else - family.setBloomFilterType(org.apache.hadoop.hbase.regionserver.StoreFile::BloomType.valueOf(bloomtype)) + family.setBloomFilterType(org.apache.hadoop.hbase.regionserver.BloomType.valueOf(bloomtype)) end end if arg.include?(org.apache.hadoop.hbase.HColumnDescriptor::COMPRESSION) -- 1.7.10.2 (Apple Git-33)