hadoop - Phoenix Installation with client gives exception? -
i have configured hadoop1.0.3 on 3 machines distributed mode.on first machine below jobs running:
1) 4316 secondarynamenode 4006 namenode 4159 datanode 4619 tasktracker 4425 jobtracker
2) 2794 tasktracker 2672 datanode
3) 3338 datanode 3447 tasktracker
now when run simple map reduce job on it,it takes longer time execute map reducejob.so installed hbase layer on hadoop.now have below processes hbase on 3 clusters.
1) 5115 hquorumpeer 5198 hmaster 5408 hregionserver
2) 3719 hregionserver
3) 2719 hregionserver
now installed phoenix according instructions:
https://github.com/forcedotcom/phoenix#installation dont understand install phoenix client?? installed on same master machine not able invoke following command.
./psql.sh master(zookeeper name) ../examples/web_stat.sql ../examples/web_stat.csv ../examples/web_stat_queries.sql
it gives below error:
com.salesforce.phoenix.exception.phoenixioexception: retried 10 times @ com.salesforce.phoenix.util.serverutil.parseremoteexception(serverutil.java:123) @ com.salesforce.phoenix.util.serverutil.parseserverexception(serverutil.java:106) @ com.salesforce.phoenix.query.connectionqueryservicesimpl.ensuretablecreated(connectionqueryservicesimpl.java:599) @ com.salesforce.phoenix.query.connectionqueryservicesimpl.createtable(connectionqueryservicesimpl.java:777) @ com.salesforce.phoenix.schema.metadataclient.createtable(metadataclient.java:365) @ com.salesforce.phoenix.compile.createtablecompiler$1.execute(createtablecompiler.java:81) @ com.salesforce.phoenix.jdbc.phoenixstatement$executablecreatetablestatement.executeupdate(phoenixstatement.java:278) @ com.salesforce.phoenix.jdbc.phoenixstatement.executeupdate(phoenixstatement.java:741) @ com.salesforce.phoenix.util.schemautil.initmetadata(schemautil.java:332) @ com.salesforce.phoenix.query.connectionqueryservicesimpl.init(connectionqueryservicesimpl.java:861) @ com.salesforce.phoenix.jdbc.phoenixdriver.getconnectionqueryservices(phoenixdriver.java:151) @ com.salesforce.phoenix.jdbc.phoenixembeddeddriver.connect(phoenixembeddeddriver.java:157) @ java.sql.drivermanager.getconnection(drivermanager.java:620) @ java.sql.drivermanager.getconnection(drivermanager.java:222) @ com.salesforce.phoenix.util.phoenixruntime.main(phoenixruntime.java:168) caused by: org.apache.hadoop.hbase.masternotrunningexception: retried 10 times @ org.apache.hadoop.hbase.client.hbaseadmin.<init>(hbaseadmin.java:138) @ com.salesforce.phoenix.query.connectionqueryservicesimpl.ensuretablecreated(connectionqueryservicesimpl.java:517)
either hmaster not running or client not able contact because of reason. re-run jps make sure it's still running. cross check can go hbase webui (hmaster_machine:60010).
also make sure have added phoenix-[version].jar classpath of regionserver or copied hbase_home/lib directory.
Comments
Post a Comment