启动hbase shell

时间:2015-07-08 16:21:52

标签: macos shell hadoop hbase bigdata

我在Mac-OSX-Yosemite-10.10.2中使用命令hbase安装了brew install hbase。我收到了以下错误:

warning: -J-Dfile.encoding=UTF-8 argument ignored (launched in same VM?)
warning: -J-XX:MaxPermSize=1024m argument ignored (launched in same VM?)
warning: -J-Xmx4096m argument ignored (launched in same VM?)
TypeError: can't convert Pathname into String
  require at org/jruby/RubyKernel.java:1071
  require at file:/usr/local/Cellar/hbase/1.0.1/libexec/lib/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36
   (root) at /usr/local/Cellar/hbase/1.0.1/libexec/bin/../bin/hirb.rb:105

hbase version的结果:

util.VersionInfo: HBase 1.0.1

java -version的结果:

java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)

我还下载了' hbase-1.0.1.1-bin.tar.gz',并且正在运行bin/hbase shell,但它也给了我同样的错误。让我知道如何解决这个问题?

0 个答案:

没有答案