[ 
https://issues.apache.org/jira/browse/HBASE-22779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16898743#comment-16898743
 ] 

Duo Zhang commented on HBASE-22779:
-----------------------------------

Sure, just go ahead.

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

Reply via email to