HBASE-11754 [Shell] Record table property SPLITS_FILE in descriptor (chendihao)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/8fd4ec46 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/8fd4ec46 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/8fd4ec46 Branch: refs/heads/0.98 Commit: 8fd4ec4628c5c62791da6a030a7cc8b415062c43 Parents: 6d08a8c Author: Andrew Purtell <[email protected]> Authored: Mon Aug 18 14:50:51 2014 -0700 Committer: Andrew Purtell <[email protected]> Committed: Mon Aug 18 14:50:51 2014 -0700 ---------------------------------------------------------------------- hbase-shell/src/main/ruby/hbase/admin.rb | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/8fd4ec46/hbase-shell/src/main/ruby/hbase/admin.rb ---------------------------------------------------------------------- diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb index cb70b5c..809b8b0 100644 --- a/hbase-shell/src/main/ruby/hbase/admin.rb +++ b/hbase-shell/src/main/ruby/hbase/admin.rb @@ -238,6 +238,7 @@ module Hbase File.foreach(splits_file) do |line| arg[SPLITS].push(line.strip()) end + htd.setValue(SPLITS_FILE, arg[SPLITS_FILE]) end if arg.has_key?(SPLITS)
