[ https://issues.apache.org/jira/browse/PHOENIX-4788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ankit Singhal updated PHOENIX-4788: ----------------------------------- Attachment: PHOENIX-4788.patch > 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)