hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viraj Jasani <vjas...@apache.org>
Subject Re: Error in running hbase1.2.0 in local mode in cygwin
Date Sat, 29 Feb 2020 20:14:12 GMT
Hi,

>From the cygwin page, download HBase release redirects you to http://apachemirror.wuchna.com/hbase/

 , where you can see: "1.2 was EOM'd June 2019"
It is recommended to use stable releases from the download page: stable or stable-1 (based
on whether you are already using HBase 1.x or 2.x). If you are trying to setup HBase cluster
for the first time, you can try downloading stable release(2.2.3).
Btw how many nodes of cluster you are planning to bring up?


On 2020/02/29 18:59:22, PRAKASH GOPALSAMY <prakash91srec@gmail.com> wrote: 
> Hi Team,
> I am trying to run hbase 1.2.0 in local mode using cygwin. I have followed
> the setup instructions in the link: https://hbase.apache.org/cygwin.html.
> But when I start hbase and try running the hbase shell command, I am
> getting the below exception. Kindly help me to resolve this issue.
> 2020-02-29 22:23:11,969 FATAL [CHNMCT279526L:49334.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(RawLocalFileSystem.java:646)
> at
> org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:293)
> at
> org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:451)
> at
> org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java: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:727)
> at org.apache.hadoop.hbase.util.FSUtils.setVersion(FSUtils.java:705)
> at org.apache.hadoop.hbase.util.FSUtils.checkVersion(FSUtils.java:662)
> at
> org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:462)
> at
> org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:153)
> at
> org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:128)
> at
> org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:638)
> at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:184)
> at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1729)
> at java.lang.Thread.run(Thread.java:813)
> 
> 
> ERROR [main] master.HMasterCommandLine: Master exiting
> java.lang.RuntimeException: Master not initialized after 200000ms seconds
> at
> org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:225)
> at
> org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:447)
> at
> org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:226)
> at
> org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:138)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
> at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2411)
> 

Mime
View raw message