Created 06-13-2018 10:24 PM
When i add the Hbase to the Cluster, through Ambari -Ui, Hbase master is not starting it will start for a second and it will goes down, i have attached the Error i saw in the hbase-master log file.
----------------------------------------
2018-06-14 05:14:45,496 FATAL [Cust66-Clus01-Node3:16000.activeMasterManager] master.HMaster: Failed to become active master java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: Snapshot:%202018Jun13,%203:38%20PM at org.apache.hadoop.fs.Path.initialize(Path.java:205) at org.apache.hadoop.fs.Path.<init>(Path.java:171) at org.apache.hadoop.fs.Path.<init>(Path.java:93) at org.apache.hadoop.hdfs.protocol.HdfsFileStatus.getFullPath(HdfsFileStatus.java:230) at org.apache.hadoop.hdfs.protocol.HdfsFileStatus.makeQualified(HdfsFileStatus.java:263) at org.apache.hadoop.hdfs.DistributedFileSystem.listStatusInternal(DistributedFileSystem.java:930) at org.apache.hadoop.hdfs.DistributedFileSystem.access$600(DistributedFileSystem.java:114) at org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:985) at org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:981) at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(DistributedFileSystem.java:981) at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1547) at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1590) at org.apache.hadoop.hbase.master.snapshot.SnapshotManager.getCompletedSnapshots(SnapshotManager.java:206) at org.apache.hadoop.hbase.master.snapshot.SnapshotManager.checkSnapshotSupport(SnapshotManager.java:1011) at org.apache.hadoop.hbase.master.snapshot.SnapshotManager.initialize(SnapshotManager.java:1070) at org.apache.hadoop.hbase.procedure.MasterProcedureManagerHost.initialize(MasterProcedureManagerHost.java:50) at org.apache.hadoop.hbase.master.HMaster.initializeZKBasedSystemTrackers(HMaster.java:684) at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:749) at org.apache.hadoop.hbase.master.HMaster.access$600(HMaster.java:222) at org.apache.hadoop.hbase.master.HMaster$2.run(HMaster.java:1927) at java.lang.Thread.run(Thread.java:745) Caused by: java.net.URISyntaxException: Relative path in absolute URI: Snapshot:%202018Jun13,%203:38%20PM at java.net.URI.checkPath(URI.java:1823) at java.net.URI.<init>(URI.java:745) at org.apache.hadoop.fs.Path.initialize(Path.java:202) ... 21 more 2018-06-14 05:14:45,498 FATAL [Cust66-Clus01-Node3:16000.activeMasterManager] master.HMaster: Unhandled exception. Starting shutdown. java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: Snapshot:%202018Jun13,%203:38%20PM at org.apache.hadoop.fs.Path.initialize(Path.java:205) at org.apache.hadoop.fs.Path.<init>(Path.java:171) at org.apache.hadoop.fs.Path.<init>(Path.java:93) at org.apache.hadoop.hdfs.protocol.HdfsFileStatus.getFullPath(HdfsFileStatus.java:230) at org.apache.hadoop.hdfs.protocol.HdfsFileStatus.makeQualified(HdfsFileStatus.java:263) at org.apache.hadoop.hdfs.DistributedFileSystem.listStatusInternal(DistributedFileSystem.java:930) at org.apache.hadoop.hdfs.DistributedFileSystem.access$600(DistributedFileSystem.java:114) at org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:985) at org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:981) at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(DistributedFileSystem.java:981) at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1547) at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1590) at org.apache.hadoop.hbase.master.snapshot.SnapshotManager.getCompletedSnapshots(SnapshotManager.java:206) at org.apache.hadoop.hbase.master.snapshot.SnapshotManager.checkSnapshotSupport(SnapshotManager.java:1011) at org.apache.hadoop.hbase.master.snapshot.SnapshotManager.initialize(SnapshotManager.java:1070) at org.apache.hadoop.hbase.procedure.MasterProcedureManagerHost.initialize(MasterProcedureManagerHost.java:50) at org.apache.hadoop.hbase.master.HMaster.initializeZKBasedSystemTrackers(HMaster.java:684) at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:749) at org.apache.hadoop.hbase.master.HMaster.access$600(HMaster.java:222) at org.apache.hadoop.hbase.master.HMaster$2.run(HMaster.java:1927) at java.lang.Thread.run(Thread.java:745) Caused by: java.net.URISyntaxException: Relative path in absolute URI: Snapshot:%202018Jun13,%203:38%20PM at java.net.URI.checkPath(URI.java:1823) at java.net.URI.<init>(URI.java:745) at org.apache.hadoop.fs.Path.initialize(Path.java:202)
------------------------------------------------------------------------------------------------------------------------------
Created 06-14-2018 02:20 AM
Can you verify Hbase.rootdir is set to actual directory and not just name node?
Created 06-14-2018 08:20 AM
Hi Sunile.manjee, thanks for the response, i have verified hbase.rootdir, it was set to actual directory,
"hdfs://accesszone-wi-01xxxxx:8020/apps/hbase/data".