phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmbendre <chaitanya.ben...@zeotap.com>
Subject Enable Tracing in AWS EMR
Date Thu, 18 May 2017 10:01:27 GMT
Hi,

I am trying to run pherf-cluster.py on AWS EMR with Hadoop - 2.7.1 + HBase -
1.3 + Phoenix 4.9.

I am able to run pherf-standalone.py but pherf-cluster.py fails with
following error - 

/Exception in thread "main" java.lang.AbstractMethodError:
org.apache.phoenix.trace.PhoenixMetricsSink.init(Lorg/apache/phoenix/shaded/org/apache/commons/configuration/SubsetConfiguration;)V
	at
org.apache.hadoop.metrics2.impl.MetricsConfig.getPlugin(MetricsConfig.java:199)
	at
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.newSink(MetricsSystemImpl.java:528)
	at
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configureSinks(MetricsSystemImpl.java:500)
	at
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configure(MetricsSystemImpl.java:479)
	at
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.start(MetricsSystemImpl.java:189)
	at
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.init(MetricsSystemImpl.java:164)
	at org.apache.phoenix.metrics.Metrics.initialize(Metrics.java:45)
	at
org.apache.phoenix.trace.TraceMetricSource.<init>(TraceMetricSource.java:86)
	at
org.apache.phoenix.trace.util.Tracing.addTraceMetricsSource(Tracing.java:269)
	at
org.apache.phoenix.jdbc.PhoenixConnection.<clinit>(PhoenixConnection.java:170)
	at
org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2401)
	at
org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2352)
	at
org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:76)
	at
org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:2352)
	at
org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:232)
	at
org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:147)
	at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:202)
	at java.sql.DriverManager.getConnection(DriverManager.java:664)
	at java.sql.DriverManager.getConnection(DriverManager.java:208)
	at
org.apache.phoenix.pherf.util.PhoenixUtil.getConnection(PhoenixUtil.java:108)
	at
org.apache.phoenix.pherf.util.PhoenixUtil.getConnection(PhoenixUtil.java:81)
	at
org.apache.phoenix.pherf.util.PhoenixUtil.getConnection(PhoenixUtil.java:77)
	at
org.apache.phoenix.pherf.util.PhoenixUtil.deleteTables(PhoenixUtil.java:190)
	at org.apache.phoenix.pherf.Pherf.run(Pherf.java:240)
	at org.apache.phoenix.pherf.Pherf.main(Pherf.java:194)/

This error seems related to tracing and some missing configurations on
region-server from what i can understand. Please help.

Thanks
Chaitanya



--
View this message in context: http://apache-phoenix-user-list.1124778.n5.nabble.com/Enable-Tracing-in-AWS-EMR-tp3549.html
Sent from the Apache Phoenix User List mailing list archive at Nabble.com.

Mime
View raw message