Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25609

There is a problem with the SPLITS_FILE in the HBase shell statement

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      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])

      Attachments

        Activity

          People

            shenshengli shenshengli
            shenshengli shenshengli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: