[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-27 Thread Hudson (JIRA)

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

Hudson commented on HBASE-20187:


Results for branch HBASE-19064
[build #77 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/HBASE-19064/77/]: 
(x) *{color:red}-1 overall{color}*

details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/HBASE-19064/77//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/HBASE-19064/77//JDK8_Nightly_Build_Report_(Hadoop2)/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/HBASE-19064/77//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.1.0, 2.0.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Fix For: 2.0.0
>
> Attachments: HBASE-20187.branch-2.001.patch, 
> HBASE-20187.branch-2.002.patch, HBASE-20187.branch-2.003.patch, 
> HBASE-20187.branch-2.004.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-15 Thread Hudson (JIRA)

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

Hudson commented on HBASE-20187:


Results for branch master
[build #262 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/master/262/]: (x) 
*{color:red}-1 overall{color}*

details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/master/262//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/master/262//JDK8_Nightly_Build_Report_(Hadoop2)/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/master/262//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Fix For: 2.0.0
>
> Attachments: HBASE-20187.branch-2.001.patch, 
> HBASE-20187.branch-2.002.patch, HBASE-20187.branch-2.003.patch, 
> HBASE-20187.branch-2.004.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-14 Thread Hudson (JIRA)

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

Hudson commented on HBASE-20187:


Results for branch branch-2.0
[build #40 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/40/]: 
(x) *{color:red}-1 overall{color}*

details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/40//General_Nightly_Build_Report/]




(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/40//JDK8_Nightly_Build_Report_(Hadoop2)/]


(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/40//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Fix For: 2.0.0
>
> Attachments: HBASE-20187.branch-2.001.patch, 
> HBASE-20187.branch-2.002.patch, HBASE-20187.branch-2.003.patch, 
> HBASE-20187.branch-2.004.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-14 Thread Hudson (JIRA)

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

Hudson commented on HBASE-20187:


Results for branch branch-2
[build #486 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/486/]: 
(x) *{color:red}-1 overall{color}*

details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/486//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/486//JDK8_Nightly_Build_Report_(Hadoop2)/]


(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/486//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Fix For: 2.0.0
>
> Attachments: HBASE-20187.branch-2.001.patch, 
> HBASE-20187.branch-2.002.patch, HBASE-20187.branch-2.003.patch, 
> HBASE-20187.branch-2.004.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-14 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HBASE-20187:
---

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  3m 
27s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:blue}0{color} | {color:blue} shelldocs {color} | {color:blue}  0m  
5s{color} | {color:blue} Shelldocs was not available. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  
0s{color} | {color:red} The patch doesn't appear to include any new or modified 
tests. Please justify why no new tests are needed for this patch. Also please 
list what manual steps were performed to verify this patch. {color} |
|| || || || {color:brown} branch-2 Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
23s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  3m 
43s{color} | {color:green} branch-2 passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 16m 
47s{color} | {color:green} branch-2 passed {color} |
| {color:green}+1{color} | {color:green} shadedjars {color} | {color:green}  4m 
 4s{color} | {color:green} branch has no errors when building our shaded 
downstream artifacts. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m 
38s{color} | {color:green} branch-2 passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
10s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  3m 
27s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 16m 
50s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green} 16m 
50s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} shellcheck {color} | {color:green}  0m 
 0s{color} | {color:green} The patch generated 0 new + 44 unchanged - 1 fixed = 
44 total (was 45) {color} |
| {color:red}-1{color} | {color:red} whitespace {color} | {color:red}  0m  
0s{color} | {color:red} The patch has 1 line(s) that end in whitespace. Use git 
apply --whitespace=fix <>. Refer https://git-scm.com/docs/git-apply 
{color} |
| {color:red}-1{color} | {color:red} whitespace {color} | {color:red}  0m  
0s{color} | {color:red} The patch 1 line(s) with tabs. {color} |
| {color:green}+1{color} | {color:green} xml {color} | {color:green}  0m  
1s{color} | {color:green} The patch has no ill-formed XML file. {color} |
| {color:green}+1{color} | {color:green} shadedjars {color} | {color:green}  4m 
 2s{color} | {color:green} patch has no errors when building our shaded 
downstream artifacts. {color} |
| {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 
16m 34s{color} | {color:green} Patch does not cause any errors with Hadoop 
2.6.5 2.7.4 or 3.0.0. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  3m 
31s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} unit {color} | {color:green}211m 
26s{color} | {color:green} root in the patch passed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
53s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black}284m 18s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:9f2f2db |
| JIRA Issue | HBASE-20187 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12914513/HBASE-20187.branch-2.003.patch
 |
| Optional Tests |  asflicense  shellcheck  shelldocs  javac  javadoc  unit  
shadedjars  hadoopcheck  xml  compile  |
| uname | Linux 868bc558aa87 3.13.0-135-generic #184-Ubuntu SMP Wed Oct 18 
11:55:51 UTC 2017 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | 
/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh
 |
| git revision | branch-2 / ad425e8603 |
| maven | version: Apache Maven 3.5.3 
(3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T19:49:05Z) |
| Default Java | 1.8.0_151 |
| shellcheck 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-14 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HBASE-20187:
---

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 
26s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:blue}0{color} | {color:blue} shelldocs {color} | {color:blue}  0m  
3s{color} | {color:blue} Shelldocs was not available. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  
0s{color} | {color:red} The patch doesn't appear to include any new or modified 
tests. Please justify why no new tests are needed for this patch. Also please 
list what manual steps were performed to verify this patch. {color} |
|| || || || {color:brown} branch-2 Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
16s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  3m 
 5s{color} | {color:green} branch-2 passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 13m 
41s{color} | {color:green} branch-2 passed {color} |
| {color:green}+1{color} | {color:green} shadedjars {color} | {color:green}  3m 
25s{color} | {color:green} branch has no errors when building our shaded 
downstream artifacts. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m 
16s{color} | {color:green} branch-2 passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
11s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  2m 
58s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 13m 
54s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green} 13m 
54s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} shellcheck {color} | {color:green}  0m 
 1s{color} | {color:green} The patch generated 0 new + 44 unchanged - 1 fixed = 
44 total (was 45) {color} |
| {color:red}-1{color} | {color:red} whitespace {color} | {color:red}  0m  
0s{color} | {color:red} The patch has 1 line(s) that end in whitespace. Use git 
apply --whitespace=fix <>. Refer https://git-scm.com/docs/git-apply 
{color} |
| {color:red}-1{color} | {color:red} whitespace {color} | {color:red}  0m  
0s{color} | {color:red} The patch 1 line(s) with tabs. {color} |
| {color:green}+1{color} | {color:green} xml {color} | {color:green}  0m  
1s{color} | {color:green} The patch has no ill-formed XML file. {color} |
| {color:green}+1{color} | {color:green} shadedjars {color} | {color:green}  3m 
30s{color} | {color:green} patch has no errors when building our shaded 
downstream artifacts. {color} |
| {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 
13m  1s{color} | {color:green} Patch does not cause any errors with Hadoop 
2.6.5 2.7.4 or 3.0.0. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m 
15s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} unit {color} | {color:red}114m 26s{color} 
| {color:red} root in the patch failed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
31s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black}170m 44s{color} | 
{color:black} {color} |
\\
\\
|| Reason || Tests ||
| Failed junit tests | hadoop.hbase.master.TestShutdownWithNoRegionServer |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:9f2f2db |
| JIRA Issue | HBASE-20187 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12914529/HBASE-20187.branch-2.004.patch
 |
| Optional Tests |  asflicense  shellcheck  shelldocs  javac  javadoc  unit  
shadedjars  hadoopcheck  xml  compile  |
| uname | Linux fa0c960fd308 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 
13:48:03 UTC 2016 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | 
/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh
 |
| git revision | branch-2 / ad425e8603 |
| maven | version: Apache Maven 3.5.3 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-14 Thread stack (JIRA)

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

stack commented on HBASE-20187:
---

+1 for branch-2 and branch-2.0. Our shell is broke in dev mode w/o this fix.

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Attachments: HBASE-20187.branch-2.001.patch, 
> HBASE-20187.branch-2.002.patch, HBASE-20187.branch-2.003.patch, 
> HBASE-20187.branch-2.004.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-14 Thread Josh Elser (JIRA)

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

Josh Elser commented on HBASE-20187:


[~stack], this should hit 2.0. You OK?

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Attachments: HBASE-20187.branch-2.001.patch, 
> HBASE-20187.branch-2.002.patch, HBASE-20187.branch-2.003.patch, 
> HBASE-20187.branch-2.004.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-14 Thread Josh Elser (JIRA)

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

Josh Elser commented on HBASE-20187:


I was thinking the full path, but, since we have them in the same directory, I 
think that's fine!

Will pull this down locally and run through it once more and then commit :)

Thanks for fixing this, [~balazs.meszaros]!

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Attachments: HBASE-20187.branch-2.001.patch, 
> HBASE-20187.branch-2.002.patch, HBASE-20187.branch-2.003.patch, 
> HBASE-20187.branch-2.004.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-14 Thread Balazs Meszaros (JIRA)

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

Balazs Meszaros commented on HBASE-20187:
-

Like this?

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Attachments: HBASE-20187.branch-2.001.patch, 
> HBASE-20187.branch-2.002.patch, HBASE-20187.branch-2.003.patch, 
> HBASE-20187.branch-2.004.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-14 Thread Josh Elser (JIRA)

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

Josh Elser commented on HBASE-20187:


{code}
+  if [[ $jline_needed ]]; then
+add_maven_deps_to_classpath "_jline"
+  elif [[ $jruby_needed ]]; then
+add_maven_deps_to_classpath "_jruby"
+  fi
{code}
{code}
+add_maven_deps_to_classpath() {
+  suffix="$1"
+  
f="${HBASE_HOME}/hbase-build-configuration/target/cached_classpath${suffix}.txt"
{code}

This feels brittle to me. What about passing in the appropriate extra 
{{cached_classpaths}} file to this method instead of constructing it inside of 
this function? So, then this function just becomes "add the following file of 
'stuff' to the classpath'". I think that would make the {{if $in_dev_mode}} 
block more clear to follow what's actually happening.

Otherwise, it looks OK to me.

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Attachments: HBASE-20187.branch-2.001.patch, 
> HBASE-20187.branch-2.002.patch, HBASE-20187.branch-2.003.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-14 Thread Balazs Meszaros (JIRA)

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

Balazs Meszaros commented on HBASE-20187:
-

Ok.

Now we have 3 files:
 * {{cached_classpath.txt}}: contains everything except jline, jruby.
 * {{cached_classpath_jline.txt}}: contains only jline.
 * {{cached_classpath_jruby.txt}}: contains only jruby.

The classpaths of {{bin/hbase}} commands are built from these files.

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Attachments: HBASE-20187.branch-2.001.patch, 
> HBASE-20187.branch-2.002.patch, HBASE-20187.branch-2.003.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HBASE-20187:
---

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 
14s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:blue}0{color} | {color:blue} shelldocs {color} | {color:blue}  0m  
4s{color} | {color:blue} Shelldocs was not available. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  
0s{color} | {color:red} The patch doesn't appear to include any new or modified 
tests. Please justify why no new tests are needed for this patch. Also please 
list what manual steps were performed to verify this patch. {color} |
|| || || || {color:brown} branch-2 Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  1m  
5s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  5m 
17s{color} | {color:green} branch-2 passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 13m 
55s{color} | {color:green} branch-2 passed {color} |
| {color:green}+1{color} | {color:green} shadedjars {color} | {color:green}  3m 
31s{color} | {color:green} branch has no errors when building our shaded 
downstream artifacts. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m 
25s{color} | {color:green} branch-2 passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
12s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  2m 
55s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 13m 
38s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green} 13m 
38s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} shellcheck {color} | {color:green}  0m 
 1s{color} | {color:green} The patch generated 0 new + 44 unchanged - 1 fixed = 
44 total (was 45) {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} xml {color} | {color:green}  0m  
2s{color} | {color:green} The patch has no ill-formed XML file. {color} |
| {color:green}+1{color} | {color:green} shadedjars {color} | {color:green}  3m 
30s{color} | {color:green} patch has no errors when building our shaded 
downstream artifacts. {color} |
| {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 
12m 57s{color} | {color:green} Patch does not cause any errors with Hadoop 
2.6.5 2.7.4 or 3.0.0. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m 
17s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} unit {color} | {color:green}151m 
14s{color} | {color:green} root in the patch passed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
49s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black}210m 47s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:9f2f2db |
| JIRA Issue | HBASE-20187 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12914362/HBASE-20187.branch-2.002.patch
 |
| Optional Tests |  asflicense  shellcheck  shelldocs  javac  javadoc  unit  
shadedjars  hadoopcheck  xml  compile  |
| uname | Linux 48983124b65a 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 
13:48:03 UTC 2016 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | 
/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh
 |
| git revision | branch-2 / a9d9fa35a2 |
| maven | version: Apache Maven 3.5.3 
(3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T19:49:05Z) |
| Default Java | 1.8.0_151 |
| shellcheck | v0.4.4 |
|  Test Results | 
https://builds.apache.org/job/PreCommit-HBASE-Build/11945/testReport/ |
| Max. process+thread count | 4597 (vs. ulimit of 1) |
| modules | C: hbase-assembly . U: . |
| Console output | 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Josh Elser (JIRA)

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

Josh Elser commented on HBASE-20187:


{quote}Shell does not start if the classpath contains only the ruby 
dependencies, it requires other dependencies as well
{quote}
Well... of course? :)
{quote}If we use {{includeArtifactIds}} then maven assembly won't include 
project dependencies. So currently we have {{cached_classpath.txt}} which has 
all of the project dependencies except jruby, and 
{{cached_classpath_jruby.txt}} which has all dependencies except jline.
{quote}
Ok, so we have two files of classpaths, one for all HBase process (except the 
shell) and one for the shell. Can you name these more clearly since you changed 
the contents of them and how we use them? Additionally, I guess we should have 
a third for ZKCli too. The point of me putting the jline jar into a specific 
sub-directory was a request from Sean to avoid it getting onto the classpath of 
the RegionServer and Master, but I think with these changes it would end up on 
the classpath of the RS/Master for these "dev installs".

If that's right, do you want to try to add a {{cached_classpath_zkcli.txt}} 
which the dev install can use to make sure it remains consistent with normal 
tarball deploys?

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Attachments: HBASE-20187.branch-2.001.patch, 
> HBASE-20187.branch-2.002.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Balazs Meszaros (JIRA)

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

Balazs Meszaros commented on HBASE-20187:
-

Thanks for the comments, I fixed them.
{quote}Is the {{includeArtifactIds}} just unnecessary and that's why you 
dropped it?
{quote}
Shell does not start if the classpath contains only the ruby dependencies, it 
requires other dependencies as well. If we use {{includeArtifactIds}} then 
maven assembly won't include project dependencies. So currently we have 
{{cached_classpath.txt}} which has all of the project dependencies except 
jruby, and {{cached_classpath_jruby.txt}} which has all dependencies except 
jline.

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Attachments: HBASE-20187.branch-2.001.patch, 
> HBASE-20187.branch-2.002.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Josh Elser (JIRA)

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

Josh Elser commented on HBASE-20187:


{code:java}
bin/hbase:316:26: note: Use $(..) instead of legacy `..`. [SC2006]{code}
Would be nice to fix this shellcheck warning too.

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Attachments: HBASE-20187.branch-2.001.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on HBASE-20187:
---

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 
22s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:blue}0{color} | {color:blue} shelldocs {color} | {color:blue}  0m  
5s{color} | {color:blue} Shelldocs was not available. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  
0s{color} | {color:red} The patch doesn't appear to include any new or modified 
tests. Please justify why no new tests are needed for this patch. Also please 
list what manual steps were performed to verify this patch. {color} |
|| || || || {color:brown} branch-2 Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
10s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  3m 
19s{color} | {color:green} branch-2 passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 13m 
49s{color} | {color:green} branch-2 passed {color} |
| {color:green}+1{color} | {color:green} shadedjars {color} | {color:green}  3m 
37s{color} | {color:green} branch has no errors when building our shaded 
downstream artifacts. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m 
22s{color} | {color:green} branch-2 passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
10s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  3m 
 2s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green} 13m 
54s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green} 13m 
54s{color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} shellcheck {color} | {color:red}  0m  
1s{color} | {color:red} The patch generated 1 new + 44 unchanged - 1 fixed = 45 
total (was 45) {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} xml {color} | {color:green}  0m  
1s{color} | {color:green} The patch has no ill-formed XML file. {color} |
| {color:green}+1{color} | {color:green} shadedjars {color} | {color:green}  3m 
31s{color} | {color:green} patch has no errors when building our shaded 
downstream artifacts. {color} |
| {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 
13m 12s{color} | {color:green} Patch does not cause any errors with Hadoop 
2.6.5 2.7.4 or 3.0.0. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m 
24s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} unit {color} | {color:green}154m 
44s{color} | {color:green} root in the patch passed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
32s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black}211m 57s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:9f2f2db |
| JIRA Issue | HBASE-20187 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12914291/HBASE-20187.branch-2.001.patch
 |
| Optional Tests |  asflicense  shellcheck  shelldocs  javac  javadoc  unit  
shadedjars  hadoopcheck  xml  compile  |
| uname | Linux e8c1db60224d 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 
13:48:03 UTC 2016 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | 
/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh
 |
| git revision | branch-2 / 260ee0da60 |
| maven | version: Apache Maven 3.5.3 
(3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T19:49:05Z) |
| Default Java | 1.8.0_151 |
| shellcheck | v0.4.4 |
| shellcheck | 
https://builds.apache.org/job/PreCommit-HBASE-Build/11940/artifact/patchprocess/diff-patch-shellcheck.txt
 |
|  Test Results | 
https://builds.apache.org/job/PreCommit-HBASE-Build/11940/testReport/ |
| Max. 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Josh Elser (JIRA)

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

Josh Elser commented on HBASE-20187:


{code:java}
diff --git a/hbase-assembly/pom.xml b/hbase-assembly/pom.xml
index eda6491495..79eeef98d3 100644
--- a/hbase-assembly/pom.xml
+++ b/hbase-assembly/pom.xml
@@ -109,7 +109,7 @@
 
 
   
${project.parent.basedir}/target/cached_classpath_jruby.txt
-  jruby-complete
+  jline
 
   {code}
Is the {{includeArtifactIds}} just unnecessary and that's why you dropped it?
{code:java}
+if ! $in_dev_env; then  # in dev environment{code}
Comment is now wrong.

Patch works for me locally, in a dev install or a normal tarball install. +1 on 
the minor stuff above

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Attachments: HBASE-20187.branch-2.001.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread AMIT VIRMANI (JIRA)

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

AMIT VIRMANI commented on HBASE-20187:
--

Thanks [~balazs.meszaros], 

could you update the code comment also, pls
{code:java}
if ! $in_dev_env; then # in dev environment{code}
 

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Attachments: HBASE-20187.branch-2.001.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Balazs Meszaros (JIRA)

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

Balazs Meszaros commented on HBASE-20187:
-

{{bin/hbase shell}} and {{bin/hbase zkcli}} works with the patch.

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
> Attachments: HBASE-20187.branch-2.001.patch
>
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Josh Elser (JIRA)

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

Josh Elser commented on HBASE-20187:


{quote}Should be a simple fix. Let me try to unwind how this classpath magic 
works.
{quote}
Oops, or are you actively working on that now, [~balazs.meszaros]? Don't mean 
to steal.

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Josh Elser (JIRA)

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

Josh Elser commented on HBASE-20187:


{quote}The problem occurs when we execute {{bin/hbase shell}} in the source tree
{quote}
Ah, that explains it. I never do that :). I think when Mike brought it up 
before, I just tried {{zkcli}}, not {{shell}} too.

Should be a simple fix. Let me try to unwind how this classpath magic works.

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Balazs Meszaros (JIRA)

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

Balazs Meszaros commented on HBASE-20187:
-

The problem occurs when we execute {{bin/hbase shell}} in the source tree. 
zkcli uses jline 0.94 while hbase shell requires jline 2.11. {{bin/hbase}} 
shell script uses {{hbase-build-configuration/target/cached_classpath.txt}} 
file as classpath. If it contains jline shell won't work, otherwise zkcli.

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Josh Elser (JIRA)

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

Josh Elser commented on HBASE-20187:


{quote}can you reproduce this on Apache builds and not CDH
{quote}
Or, maybe I"m misreading your directory path. Is this the official 2.0.0-beta-2 
release?

If so, can you share the classpath?

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> 

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Josh Elser (JIRA)

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

Josh Elser commented on HBASE-20187:


[~psomogyi], [~balazs.meszaros], can you reproduce this on Apache builds and 
not CDH? Need more context from you as to the problem..

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   

[jira] [Commented] (HBASE-20187) Shell startup fails with IncompatibleClassChangeError

2018-03-13 Thread Mike Drob (JIRA)

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

Mike Drob commented on HBASE-20187:
---

[~elserj] - we made an oops?

> Shell startup fails with IncompatibleClassChangeError
> -
>
> Key: HBASE-20187
> URL: https://issues.apache.org/jira/browse/HBASE-20187
> Project: HBase
>  Issue Type: Bug
>  Components: shell
>Affects Versions: 2.0.0, 2.1.0
>Reporter: Peter Somogyi
>Assignee: Balazs Meszaros
>Priority: Blocker
>
> Starting shell fails with a jline exception.
> Before {{2402f1fd43 - HBASE-20108 Remove jline exclusion from ZooKeeper}} the 
> shell starts up.
> {noformat}
> $ ./bin/hbase shell
> 2018-03-13 13:56:58,975 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> HBase Shell
> Use "help" to get list of supported commands.
> Use "exit" to quit this interactive shell.
> Version 2.0.0-beta-2, rc998e8d5f9ca3013d175ed447116c0734192f36c, Tue Mar 13 
> 13:49:59 CET 2018
> [ERROR] Terminal initialization failed; falling back to unsupported
> java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but 
> interface was expected
>   at jline.TerminalFactory.create(TerminalFactory.java:101)
>   at jline.TerminalFactory.get(TerminalFactory.java:159)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:498)
>   at 
> org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:438)
>   at 
> org.jruby.javasupport.JavaMethod.invokeStaticDirect(JavaMethod.java:360)
>   at 
> org.jruby.java.invokers.StaticMethodInvoker.call(StaticMethodInvoker.java:40)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:328)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:141)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:145)
>   at org.jruby.RubyClass.newInstance(RubyClass.java:994)
>   at 
> org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
>   at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:339)
>   at 
> org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
>   at 
> org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
>   at 
> org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
>   at 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
>   at 
>