[ 
https://issues.apache.org/jira/browse/HBASE-25609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on HBASE-25609 started by shenshengli.
-------------------------------------------
> There is a problem with the SPLITS_FILE in the HBase shell statement
> --------------------------------------------------------------------
>
>                 Key: HBASE-25609
>                 URL: https://issues.apache.org/jira/browse/HBASE-25609
>             Project: HBase
>          Issue Type: Bug
>            Reporter: shenshengli
>            Assignee: shenshengli
>            Priority: Minor
>
> The Ruby script here has a problem passing in a null value:
> hbase-shell/src/main/ruby/hbase/admin.rb
>  if arg.key?(SPLITS_FILE)
>  splits_file = arg.delete(SPLITS_FILE)
>  unless File.exist?(splits_file)
>  raise(ArgumentError, "Splits file #\{splits_file} doesn't exist")
>  end
>  arg[SPLITS] = []
>  File.foreach(splits_file) do |line|
>  arg[SPLITS].push(line.chomp)
>  end
>  tdb.setValue(SPLITS_FILE, arg[SPLITS_FILE])



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to