do you just replace hbase jar,and using old hbase libraries? looks like you used an old jline jar. On Apr 6, 2013 8:44 AM, "Christoph Pilka" <christoph.pi...@googlemail.com> wrote:
> Hi, > > I get the error when I try to start the shell by a simple "bin/hbase shell" > > On Apr 6, 2013, at 2:37 AM, Jean-Marc Spaggiari <jean-m...@spaggiari.org> > wrote: > > > Hi Chris, > > > > How are you getting that? > > > > So you installed HBase, have started it, and then tried to launch > > hbase shell? You are getting this error when the shell is starting? Or > > while executing a specific command? > > > > JM > > > > 2013/4/5 Christoph Pilka <christoph.pi...@googlemail.com>: > >> Hi all, > >> > >> Anyone has an idea what's going wrong here? I've downloaded the HBase > 0.94.6.1 tarball, installed HBase on my Mac OS X 10.8 box but get always > the same error launching the hbase shell: > >> > >> NoMethodError: undefined method `getTerminal' for > Java::Jline::Terminal:Module > >> refresh_width at > /usr/local/hbase-0.94.6.1/bin/../bin/../lib/ruby/shell/formatter.rb:34 > >> initialize at > /usr/local/hbase-0.94.6.1/bin/../bin/../lib/ruby/shell/formatter.rb:47 > >> It's the same with the Homebrew prepackaged version of HBase ... > >> > >> I'm running > >> > >> java version "1.7.0_17" > >> Java(TM) SE Runtime Environment (build 1.7.0_17-b02) > >> Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) > >> Many thanks in advance! > >> > >> Cheerio, Chris > >