You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2019/08/02 06:49:00 UTC
[jira] [Updated] (HBASE-22779) TestTableShell is broken
[ https://issues.apache.org/jira/browse/HBASE-22779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang updated HBASE-22779:
------------------------------
Description:
{noformat}
Error: test_append_should_work_with_value(Hbase::TableSimpleMethodsTest): ArgumentError: wrong number of arguments (3 for 1)
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/hbase/table.rb:291:in `_append_internal'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands/append.rb:45:in `append'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:49:in `block in command_safe'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:122:in `translate_hbase_exceptions'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:49:in `command_safe'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell.rb:148:in `internal_command'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/hbase/table.rb:51:in `block in add_command'
src/test/ruby/hbase/table_test.rb:186:in `block in test_append_should_work_with_value'
183: end
184:
185: define_test "append should work with value" do
=> 186: @test_table.append("123", 'x:cnt2', '123')
187: assert_equal("123123", @test_table._append_internal("123", 'x:cnt2', '123'))
188: end
189:
Error: test_append_should_work_without_qualifier(Hbase::TableSimpleMethodsTest): ArgumentError: wrong number of arguments (3 for 1)
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/hbase/table.rb:291:in `_append_internal'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands/append.rb:45:in `append'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:49:in `block in command_safe'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:122:in `translate_hbase_exceptions'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:49:in `command_safe'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell.rb:148:in `internal_command'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/hbase/table.rb:51:in `block in add_command'
src/test/ruby/hbase/table_test.rb:191:in `block in test_append_should_work_without_qualifier'
188: end
189:
190: define_test 'append should work without qualifier' do
=> 191: @test_table.append('1001', 'x', '123')
192: assert_equal('123321', @test_table._append_internal('1001', 'x', '321'))
193: end
194:
{noformat}
was:
{noformat}
Error: test_append_should_work_with_value(Hbase::TableSimpleMethodsTest): ArgumentError: wrong number of arguments (3 for 1)
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/hbase/table.rb:291:in `_append_internal'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands/append.rb:45:in `append'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:49:in `block in command_safe'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:122:in `translate_hbase_exceptions'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:49:in `command_safe'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell.rb:148:in `internal_command'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/hbase/table.rb:51:in `block in add_command'
src/test/ruby/hbase/table_test.rb:186:in `block in test_append_should_work_with_value'
{noformat}
> TestTableShell is broken
> ------------------------
>
> Key: HBASE-22779
> URL: https://issues.apache.org/jira/browse/HBASE-22779
> Project: HBase
> Issue Type: Bug
> Components: Client, shell
> Reporter: Duo Zhang
> Priority: Major
>
> {noformat}
> Error: test_append_should_work_with_value(Hbase::TableSimpleMethodsTest): ArgumentError: wrong number of arguments (3 for 1)
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/hbase/table.rb:291:in `_append_internal'
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands/append.rb:45:in `append'
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:49:in `block in command_safe'
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:122:in `translate_hbase_exceptions'
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:49:in `command_safe'
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell.rb:148:in `internal_command'
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/hbase/table.rb:51:in `block in add_command'
> src/test/ruby/hbase/table_test.rb:186:in `block in test_append_should_work_with_value'
> 183: end
> 184:
> 185: define_test "append should work with value" do
> => 186: @test_table.append("123", 'x:cnt2', '123')
> 187: assert_equal("123123", @test_table._append_internal("123", 'x:cnt2', '123'))
> 188: end
> 189:
> Error: test_append_should_work_without_qualifier(Hbase::TableSimpleMethodsTest): ArgumentError: wrong number of arguments (3 for 1)
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/hbase/table.rb:291:in `_append_internal'
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands/append.rb:45:in `append'
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:49:in `block in command_safe'
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:122:in `translate_hbase_exceptions'
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell/commands.rb:49:in `command_safe'
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/shell.rb:148:in `internal_command'
> /home/zhangduo/hbase/code/hbase-shell/src/main/ruby/hbase/table.rb:51:in `block in add_command'
> src/test/ruby/hbase/table_test.rb:191:in `block in test_append_should_work_without_qualifier'
> 188: end
> 189:
> 190: define_test 'append should work without qualifier' do
> => 191: @test_table.append('1001', 'x', '123')
> 192: assert_equal('123321', @test_table._append_internal('1001', 'x', '321'))
> 193: end
> 194:
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)