Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.2
-
None
-
None
Description
Enabling phoenix and accepting all default configuration recommendations causes hbase to crash since phoenix rpm is not installed during hbase-client restart. This is a regression from 2.1.0 which included phoenix rpm during hbase install.
Steps to repo;
1. Install HBase (But not phoenix query server)
2. Enable phoenix, accept all defaults.
3. Restart all Affected
4. Wait a minute or two for hbase master and regionserver to crash.
Once hbase is down starting the service does install phoenix rpm which restores functionality.
2015-09-24 17:38:09,098 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(HMaster.java:2290) at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:233) at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:139) 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:2304) Caused by: java.lang.ClassNotFoundException: Class org.apache.hadoop.hbase.ipc.PhoenixRpcSchedulerFactory not found at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2101) at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2193) at org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:829) at org.apache.hadoop.hbase.master.MasterRpcServices.<init>(MasterRpcServices.java:210) at org.apache.hadoop.hbase.master.HMaster.createRpcServices(HMaster.java:532) at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:532) at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:364) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2285) ... 5 more ~
Attachments
Issue Links
- links to