ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Whitmarsh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-13619) Ambari-SCOM - Error creating plugin: org.apache.hadoop.metrics2.sink.SqlServerSink
Date Thu, 29 Oct 2015 02:07:27 GMT
Nate Whitmarsh created AMBARI-13619:
---------------------------------------

             Summary: Ambari-SCOM - Error creating plugin: org.apache.hadoop.metrics2.sink.SqlServerSink
                 Key: AMBARI-13619
                 URL: https://issues.apache.org/jira/browse/AMBARI-13619
             Project: Ambari
          Issue Type: Bug
          Components: contrib
    Affects Versions: trunk
         Environment: Windows Server 2012 R2 - OneBoxVm
Hdp version 2.6
Ambari-SCOM version 2.0
            Reporter: Nate Whitmarsh
            Priority: Blocker
             Fix For: trunk


We are having an issue where we cannot get the the Metrics-Sink agent to write to the HadoopMetrics
database.  When Configuring each of the service components, eg DataNode, NameNode, etc receiving
the following error in the trace logs when the service is started:

2015-10-28 15:42:46,115 WARN org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Error creating
sink 'sql'
org.apache.hadoop.metrics2.impl.MetricsConfigException: Error creating plugin: org.apache.hadoop.metrics2.sink.SqlServerSink
	at org.apache.hadoop.metrics2.impl.MetricsConfig.getPlugin(MetricsConfig.java:202)
	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:188)
	at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.init(MetricsSystemImpl.java:163)
	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.init(DefaultMetricsSystem.java:54)
	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.initialize(DefaultMetricsSystem.java:50)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2290)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2180)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2227)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2403)
	at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2427)
Caused by: java.lang.InstantiationException
	at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at java.lang.Class.newInstance(Class.java:379)
	at org.apache.hadoop.metrics2.impl.MetricsConfig.getPlugin(MetricsConfig.java:197)

ClassPath Refs =

STARTUP_MSG:   classpath = C:\hdp\ambari\sqljdbc4.jar;C:\hdp\ambari\metrics-sink-1.5.1.2.0.0.0-673.jar;





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message