hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Busbey <bus...@cloudera.com>
Subject Re: HBase Shell : NoMethodError: undefined method `getTerminal' for Java::Jline::Terminal:Module
Date Thu, 18 Jun 2015 14:28:20 GMT
it sounds like a different version of jruby and/or jline is on your
classpath. Are you attempting to use HBase with anything else, for example
Apache Phoenix?

On Wed, Jun 17, 2015 at 6:23 PM, Arthur Chan <arthur.hk.chan@gmail.com>
wrote:

> Hi,
>
>
> My compilation is successful, HBase-0.98.12.1
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Reactor Summary:
>
> [INFO]
>
> [INFO] HBase .............................................. SUCCESS [03:40
> min]
>
> [INFO] HBase - Checkstyle ................................. SUCCESS [
> 28.902 s]
>
> [INFO] HBase - Annotations ................................ SUCCESS
> [  1.378 s]
>
> [INFO] HBase - Common ..................................... SUCCESS [01:43
> min]
>
> [INFO] HBase - Protocol ................................... SUCCESS [
> 12.506 s]
>
> [INFO] HBase - Client ..................................... SUCCESS [
> 21.171 s]
>
> [INFO] HBase - Hadoop Compatibility ....................... SUCCESS
> [  0.389 s]
>
> [INFO] HBase - Hadoop Two Compatibility ................... SUCCESS [
> 17.583 s]
>
> [INFO] HBase - Prefix Tree ................................ SUCCESS
> [  1.497 s]
>
> [INFO] HBase - Server ..................................... SUCCESS [01:35
> min]
>
> [INFO] HBase - Testing Util ............................... SUCCESS
> [  7.261 s]
>
> [INFO] HBase - Thrift ..................................... SUCCESS [
> 23.327 s]
>
> [INFO] HBase - Rest ....................................... SUCCESS
> [  2.786 s]
>
> [INFO] HBase - Shell ...................................... SUCCESS [
> 13.257 s]
>
> [INFO] HBase - Integration Tests .......................... SUCCESS
> [  6.228 s]
>
> [INFO] HBase - Examples ................................... SUCCESS
> [  1.456 s]
>
> [INFO] HBase - Assembly ................................... SUCCESS [
> 18.390 s]
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD SUCCESS
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 10:21 min
>
> [INFO] Finished at: 2015-06-16T13:58:54+08:00
>
> [INFO] Final Memory: 121M/487M
>
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> However, hbase shell does not start, I got following error:
>
> io/console not supported; tty will not be manipulated
>
> include_class is deprecated. Use java_import.
>
> include_class is deprecated. Use java_import.
>
> include_class is deprecated. Use java_import.
>
> 2015-06-18 07:17:45,577 INFO  [main] Configuration.deprecation:
> hadoop.native.lib is deprecated. Instead, use io.native.lib.available
>
> NoMethodError: undefined method `getTerminal' for
> Java::Jline::Terminal:Module
>
>   refresh_width at /edh/deep_query/hbase/lib/ruby/shell/formatter.rb:33
>
>      initialize at /edh/deep_query/hbase/lib/ruby/shell/formatter.rb:46
>
>          (root) at /edh/deep_query/hbase/bin/hirb.rb:115
>
>
>
>
> Any idea?
>
> Reagrds
>



-- 
Sean

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message