AnsweredAssumed Answered

Apache Phoenix on Sandbox 4.1.0, why can't HBase master find the MaprFS jars?

Question asked by jeroenvlek on Jun 1, 2015
Latest reply on Jun 1, 2015 by mkieboom
I'm trying to install Phoenix on the Mapr Sandbox. I followed the instructions described here:

Trying to start gave the following error, indicating that the HBase master is not running:

> [root@maprdemo mapr]#
> phoenix/bin/ maprdemo:5181 
>  15/06/01 01:14:23 ERROR
> client.HConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.

So I installed the *mapr-hbase-master* package, but that doesn't seem to have the required MapRFS jars on its classpath. From hbase/hbase-0.98.9/logs/hbase-mapr-master-maprdemo.log:

> 2015-06-01 01:14:41,734 ERROR [main]
> master.HMasterCommandLine: Master
> exiting java.lang.RuntimeException:
> Failed construction of Master: class
> org.apache.hadoop.hbase.master.HMaster
>         at org.apache.hadoop.hbase.master.HMaster.constructMaster(
>         at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(
>         at
>         at
>         at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(
>         at org.apache.hadoop.hbase.master.HMaster.main(
> Caused by: No
> FileSystem for scheme: maprfs
>         at org.apache.hadoop.fs.FileSystem.getFileSystemClass(
>         at org.apache.hadoop.fs.FileSystem.createFileSystem(
>         at org.apache.hadoop.fs.FileSystem.access$200(
>         at org.apache.hadoop.fs.FileSystem$Cache.getInternal(
>         at org.apache.hadoop.fs.FileSystem$Cache.get(
>         at org.apache.hadoop.fs.FileSystem.get(
>         at org.apache.hadoop.fs.Path.getFileSystem(
>         at org.apache.hadoop.hbase.util.FSUtils.getRootDir(
>         at org.apache.hadoop.hbase.master.HMaster.(
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
>         at java.lang.reflect.Constructor.newInstance(
>         at org.apache.hadoop.hbase.master.HMaster.constructMaster(

This seems odd to me, since it is the MapR-flavored hbase-master package to begin with.  What am I missing here?