Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - undefined method `internal_command' for Shell::Formatter::Console


Copy link to this message
-
Re: undefined method `internal_command' for Shell::Formatter::Console
Jean-Marc Spaggiari 2013-04-25, 19:58
No, don't re-install it ;)

Remove it and retry. To make sure it's not using any lib anywhere else...

JM

2013/4/25 Robin Gowin <[EMAIL PROTECTED]>:
> I removed ruby and reinstalled it; same results.
>
> On Thu, Apr 25, 2013 at 11:59 AM, Jean-Marc Spaggiari <
> [EMAIL PROTECTED]> wrote:
>
>> Is it easy for you to de-install it and re-install it? If so, would
>> you mind giving it a try?
>>
>> 2013/4/25 Robin Gowin <[EMAIL PROTECTED]>:
>> > I looked at that thread and I do have ruby installed but I don't think
>> that
>> > is the problem,
>> > unless maybe there is a version mismatch? I wasn't sure if jruby needs to
>> > be installed
>> > and if so what its command line is.
>> >
>> > Here's the relevant versions as far as I can tell. The problem still
>> exists.
>> >
>> > [cloudera@localhost ~]$ ruby -v
>> > ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
>> > [cloudera@localhost ~]$ irb -v
>> > irb 0.9.5(05/04/13)
>> > [cloudera@localhost ~]$ hbase -version
>> > java version "1.6.0_31"
>> > Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
>> > Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
>> > [cloudera@localhost ~]$ which rvm
>> > /usr/bin/which: no rvm in
>> >
>> (/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/sbin:/usr/java/jdk1.6.0_31/bin:/home/cloudera/bin:/sbin:/usr/java/jdk1.6.0_31/bin)
>> > [cloudera@localhost ~]$ which jruby
>> > /usr/bin/which: no jruby in
>> >
>> (/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/sbin:/usr/java/jdk1.6.0_31/bin:/home/cloudera/bin:/sbin:/usr/java/jdk1.6.0_31/bin)
>> >
>> >
>> > Robin
>> >
>> >
>> > On Thu, Apr 25, 2013 at 9:40 AM, Jean-Marc Spaggiari <
>> > [EMAIL PROTECTED]> wrote:
>> >>
>> >> Something I thought about is that you might have a Ruby lib installed
>> >> somewhere else that the shell is using. Someone faced something
>> >> similar recently
>> >>
>> >> Take a look at this thread:
>> >>
>> >>
>> >
>> http://mail-archives.apache.org/mod_mbox/hbase-user/201304.mbox/%3CEE737D80-45B4-4A33-817D-28ED9C1CB0AE%40gmail.com%3E
>> >>
>> >> Can you see if you have something like that in your system?
>> >>
>> >> JM
>> >>
>>