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/c55ecba0 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c55ecba0 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c55ecba0 Branch: refs/heads/master Commit: c55ecba0719ff1029316836f87b8ca56e57b88a6 Parents: 454389a Author: Andrew Purtell <[email protected]> Authored: Mon Aug 18 14:50:52 2014 -0700 Committer: Andrew Purtell <[email protected]> Committed: Mon Aug 18 14:50:52 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/c55ecba0/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 532f073..d74d229 100644 --- a/hbase-shell/src/main/ruby/hbase/admin.rb +++ b/hbase-shell/src/main/ruby/hbase/admin.rb @@ -242,6 +242,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)
