phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Soldatov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4788) Shade Joda libraries in phoenix-server to avoid conflict with hbase shell
Date Fri, 22 Jun 2018 22:34:00 GMT

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

Sergey Soldatov commented on PHOENIX-4788:
------------------------------------------

LGTM +1

> Shade Joda libraries in phoenix-server to avoid conflict with hbase shell
> -------------------------------------------------------------------------
>
>                 Key: PHOENIX-4788
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4788
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 5.0.0-alpha
>            Reporter: Ankit Singhal
>            Assignee: Ankit Singhal
>            Priority: Major
>             Fix For: 5.0.0
>
>         Attachments: PHOENIX-4788.patch
>
>
> HBase-2.0 shell doesn't work if phoenix-server.jar is in classpath
> {code:java}
> RuntimeError: Can't load hbase shell command: list_snapshots. Error: Java method not
found: org.joda.time.DateTime.compareTo(org.joda.time.ReadableInstant)
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/date.rb:1406:in `<class:DateTime>'
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/date.rb:1405:in `<class:Date>'
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/date.rb:229:in `<main>'
> org/jruby/RubyKernel.java:956:in `require'
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in
`require'
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/time.rb:1:in `<main>'
> org/jruby/RubyKernel.java:956:in `require'
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in
`require'
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/time.rb:3:in `<main>'
> org/jruby/RubyKernel.java:956:in `require'
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in
`require'
> /Users/asinghal/git/hortonworks/hbase/hbase-shell/src/main/ruby/shell.rb:41:in `load_command'
> /Users/asinghal/git/hortonworks/hbase/hbase-shell/src/main/ruby/shell.rb:66:in `block
in load_command_group'
> org/jruby/RubyArray.java:1735:in `each'
> /Users/asinghal/git/hortonworks/hbase/hbase-shell/src/main/ruby/shell/commands/list_snapshots.rb:1:in
`(root)'
> /Users/asinghal/git/hortonworks/hbase/hbase-shell/src/main/ruby/shell/commands/list_snapshots.rb:19:in
`<main>'
> org/jruby/RubyKernel.java:956:in `require'
> /Users/asinghal/git/hortonworks/hbase/hbase-shell/src/main/ruby/shell.rb:1:in `(root)'{code}



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

Mime
View raw message