phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankit Singhal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-4788) Shade Joda libraries in phoenix-server to avoid conflict with hbase shell
Date Sun, 17 Jun 2018 19:33:00 GMT
Ankit Singhal created PHOENIX-4788:
--------------------------------------

             Summary: 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
             Fix For: 5.0.0


HBase 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