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

Duo Zhang updated HBASE-21947:
------------------------------
    Attachment: HBASE-21947-v1.patch

> TestShell is broken after we remove the jackson dependencies
> ------------------------------------------------------------
>
>                 Key: HBASE-21947
>                 URL: https://issues.apache.org/jira/browse/HBASE-21947
>             Project: HBase
>          Issue Type: Bug
>          Components: dependencies, shell
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0, 2.3.0
>
>         Attachments: HBASE-21947-v1.patch, HBASE-21947.patch
>
>
> {noformat}
> Error: test_tasksOnHost_should_return_tasks_list(Hbase::TaskMonitorTest): 
> NameError: cannot load Java class com.fasterxml.jackson.databind.ObjectMapper
> org/jruby/javasupport/JavaClass.java:286:in `for_name'
> org/jruby/javasupport/JavaUtilities.java:34:in `get_proxy_class'
> uri:classloader:/jruby/java/core_ext/object.rb:49:in `block in java_import'
> org/jruby/RubyArray.java:2486:in `map'
> uri:classloader:/jruby/java/core_ext/object.rb:36:in `java_import'
> /home/jenkins/jenkins-slave/workspace/HBase-Flaky-Tests_master-M6IJIUBEFGBLJA2QZFJ5NFMN4UCZCOJZHSKUZTUZSLWEH6TJXWBQ/hbase-shell/src/main/ruby/hbase/taskmonitor.rb:77:in
>  `tasksOnHost'
> src/test/ruby/hbase/taskmonitor_test.rb:33:in `block in 
> test_tasksOnHost_should_return_tasks_list'
>      30:       filter = 'all'
>      31:       hosts = admin.getRegionServers()
>      32:       hosts.each do |host|
>   => 33:         tasks = taskmonitor.tasksOnHost(filter,host)
>      34:         assert(tasks.length > 0)
>      35:       end
>      36:     end
> org/jruby/RubyArray.java:1734:in `each'
> src/test/ruby/hbase/taskmonitor_test.rb:32:in `block in 
> test_tasksOnHost_should_return_tasks_list'
> {noformat}
> Seems we are using jackson in hbase-shell.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to