windows机器下如何启动hbase?
hbase0.96, 0.98, 1.1.5
这几个版本都有windows下的启动脚本,按理说应该不用装什么cywin,配置好site-hbase.xml后就可以直接在windows下启动了
但是我在这几个版本下启动都是报错
2016-07-06 16:34:43,410 FATAL [Michael:49168.activeMasterManager] master.HMaster : Failed to become active master java.lang.NullPointerException at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012) at org.apache.hadoop.util.Shell.runCommand(Shell.java:482) at org.apache.hadoop.util.Shell.run(Shell.java:455) at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java: 702) at org.apache.hadoop.util.Shell.execCommand(Shell.java:791) at org.apache.hadoop.util.Shell.execCommand(Shell.java:774) at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSys tem.java:646) at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.jav a:293) at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.jav a:451) at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.jav a:426) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:906) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:887) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:784) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:773) at org.apache.hadoop.hbase.util.FSUtils.setVersion(FSUtils.java:726) at org.apache.hadoop.hbase.util.FSUtils.setVersion(FSUtils.java:704) at org.apache.hadoop.hbase.util.FSUtils.checkVersion(FSUtils.java:661) at org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFi leSystem.java:455) at org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSyst emLayout(MasterFileSystem.java:146) at org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSyst em.java:126) at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitializati on(HMaster.java:650) at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:183) at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1652) at java.lang.Thread.run(Thread.java:745)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论