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/cbd21dd9 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cbd21dd9 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cbd21dd9 Branch: refs/heads/branch-1 Commit: cbd21dd9c18d26eccfd971bebdb9a9c459b8f1b9 Parents: 137fea8 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/cbd21dd9/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)
