You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/05/27 15:26:17 UTC
[jira] [Created] (AMBARI-11425) Storm service check fails after
adding Storm as service
Andrew Onischuk created AMBARI-11425:
----------------------------------------
Summary: Storm service check fails after adding Storm as service
Key: AMBARI-11425
URL: https://issues.apache.org/jira/browse/AMBARI-11425
Project: Ambari
Issue Type: Bug
Reporter: Andrew Onischuk
Assignee: Andrew Onischuk
Fix For: 2.1.0
{
"href" : "http://ec2-52-5-199-160.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/requests/7/tasks/128",
"Tasks" : {
"attempt_cnt" : 1,
"cluster_name" : "cl1",
"command" : "SERVICE_CHECK",
"command_detail" : "SERVICE_CHECK STORM",
"end_time" : 1432449920513,
"error_log" : "/var/lib/ambari-agent/data/errors-128.txt",
"exit_code" : 1,
"host_name" : "ip-172-31-21-97.ec2.internal",
"id" : 128,
"output_log" : "/var/lib/ambari-agent/data/output-128.txt",
"request_id" : 7,
"role" : "STORM_SERVICE_CHECK",
"stage_id" : 2,
"start_time" : 1432449899383,
"status" : "FAILED",
"stderr" : "Traceback (most recent call last):
File \"/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/service_check.py\", line 76, in <module>
ServiceCheck().execute()
File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", line 214, in execute
method(env)
File \"/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/service_check.py\", line 67, in service_check
user=params.storm_user
File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 148, in __init__
self.env.run()
File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", line 152, in run
self.run_action(resource, action)
File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", line 118, in run_action
provider_action()
File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\", line 251, in action_run
raise ex
resource_management.core.exceptions.Fail: Execution of 'storm jar /tmp/wordCount.jar storm.starter.WordCountTopology WordCountid1fac6115_date452415' returned 1. Running: java -client -Dstorm.options= -Dstorm.service=storm-command -Dstorm.home=/grid/0/hdp/2.3.0.0-2112/storm -Dstorm.log.dir=/var/log/storm -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib:/usr/hdp/current/storm-client/lib -Dstorm.conf.file= -cp /grid/0/hdp/2.3.0.0-2112/storm/lib/httpmime-4.2.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ns-tracker-0.2.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jackson-core-2.3.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ranger-plugins-common-0.5.0.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-io-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/reflectasm-1.07-shaded.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/tools.namespace-0.2.4.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jline-2.11.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/slf4j-api-1.7.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-logging-1.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/guava-16.0.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-collections-3.2.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/guava-11.0.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/logback-classic-1.0.13.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/kryo-2.21.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/httpcore-4.3.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/cheshire-5.3.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/noggit-0.6.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/gmetric4j-1.0.7.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/asm-4.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/joda-time-2.3.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-continuation-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ranger-plugins-cred-0.5.0.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/clj-stacktrace-0.2.7.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/snakeyaml-1.11.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/javax.servlet-2.5.0.v201103041518.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-lang-2.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/clojure-1.6.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/logback-core-1.0.13.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-http-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/javax.persistence-2.1.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/disruptor-2.10.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ring-servlet-1.3.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/compojure-1.1.3.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jersey-bundle-1.17.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/zookeeper.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/clout-1.0.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ranger-storm-plugin-0.5.0.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/objenesis-1.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-fileupload-1.2.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/carbonite-1.4.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-client-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/curator-framework-2.5.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/eclipselink-2.5.2-M1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-configuration-1.10.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/core.incubator-0.1.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/json-simple-1.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ring-core-1.1.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/httpclient-4.2.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jackson-jaxrs-1.8.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/minlog-1.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ring-jetty-adapter-1.3.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/tigris-0.1.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/servlet-api-2.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-servlet-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-exec-1.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/tools.cli-0.2.4.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/curator-client-2.5.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ambari-metrics-storm-sink.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/gson-2.2.4.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/math.numeric-tower-0.0.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/oncrpc-1.0.7.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/httpcore-4.2.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/log4j-over-slf4j-1.6.6.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/hadoop-common-2.7.1.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/storm-core-0.10.0.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-codec-1.6.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ranger-plugins-audit-0.5.0.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-util-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ring-devel-1.3.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/java.classpath-0.2.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/httpclient-4.3.3.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-logging-1.1.3.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jackson-dataformat-smile-2.3.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ranger_solrj-0.5.0.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/tools.logging-0.2.3.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/clj-time-0.8.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ring-json-0.3.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-server-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jgrapht-core-0.9.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/hadoop-auth-2.7.1.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/hiccup-0.3.6.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-security-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-io-2.4.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/netty-3.9.0.Final.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/chill-java-0.3.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-servlets-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/tools.macro-0.1.0.jar:/tmp/wordCount.jar:/usr/hdp/2.3.0.0-2112/storm/conf:/grid/0/hdp/2.3.0.0-2112/storm/bin -Dstorm.jar=/tmp/wordCount.jar storm.starter.WordCountTopology WordCountid1fac6115_date452415\r
Error: Could not find or load main class storm.starter.WordCountTopology",
"stdout" : "2015-05-24 06:45:12,521 - File['/tmp/wordCount.jar'] {'content': StaticFile('wordCount.jar')}
2015-05-24 06:45:12,527 - Writing File['/tmp/wordCount.jar'] because it doesn't exist
2015-05-24 06:45:12,529 - Execute['storm jar /tmp/wordCount.jar storm.starter.WordCountTopology WordCountid1fac6115_date452415'] {'logoutput': True, 'path': ['/usr/hdp/current/storm-client/bin'], 'user': 'storm'}
Running: java -client -Dstorm.options= -Dstorm.service=storm-command -Dstorm.home=/grid/0/hdp/2.3.0.0-2112/storm -Dstorm.log.dir=/var/log/storm -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib:/usr/hdp/current/storm-client/lib -Dstorm.conf.file= -cp /grid/0/hdp/2.3.0.0-2112/storm/lib/httpmime-4.2.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ns-tracker-0.2.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jackson-core-2.3.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ranger-plugins-common-0.5.0.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-io-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/reflectasm-1.07-shaded.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/tools.namespace-0.2.4.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jline-2.11.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/slf4j-api-1.7.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-logging-1.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/guava-16.0.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-collections-3.2.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/guava-11.0.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/logback-classic-1.0.13.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/kryo-2.21.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/httpcore-4.3.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/cheshire-5.3.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/noggit-0.6.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/gmetric4j-1.0.7.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/asm-4.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/joda-time-2.3.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-continuation-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ranger-plugins-cred-0.5.0.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/clj-stacktrace-0.2.7.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/snakeyaml-1.11.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/javax.servlet-2.5.0.v201103041518.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-lang-2.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/clojure-1.6.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/logback-core-1.0.13.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-http-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/javax.persistence-2.1.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/disruptor-2.10.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ring-servlet-1.3.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/compojure-1.1.3.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jersey-bundle-1.17.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/zookeeper.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/clout-1.0.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ranger-storm-plugin-0.5.0.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/objenesis-1.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-fileupload-1.2.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/carbonite-1.4.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-client-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/curator-framework-2.5.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/eclipselink-2.5.2-M1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-configuration-1.10.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/core.incubator-0.1.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/json-simple-1.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ring-core-1.1.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/httpclient-4.2.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jackson-jaxrs-1.8.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/minlog-1.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ring-jetty-adapter-1.3.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/tigris-0.1.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/servlet-api-2.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-servlet-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-exec-1.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/tools.cli-0.2.4.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/curator-client-2.5.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ambari-metrics-storm-sink.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/gson-2.2.4.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/math.numeric-tower-0.0.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/oncrpc-1.0.7.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/httpcore-4.2.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/log4j-over-slf4j-1.6.6.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/hadoop-common-2.7.1.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/storm-core-0.10.0.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-codec-1.6.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ranger-plugins-audit-0.5.0.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-util-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ring-devel-1.3.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/java.classpath-0.2.2.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/httpclient-4.3.3.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-logging-1.1.3.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jackson-dataformat-smile-2.3.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ranger_solrj-0.5.0.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/tools.logging-0.2.3.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/clj-time-0.8.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/ring-json-0.3.1.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-server-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jgrapht-core-0.9.0.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/hadoop-auth-2.7.1.2.3.0.0-2112.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/hiccup-0.3.6.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-security-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/commons-io-2.4.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/netty-3.9.0.Final.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/chill-java-0.3.5.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/jetty-servlets-7.6.13.v20130916.jar:/grid/0/hdp/2.3.0.0-2112/storm/lib/tools.macro-0.1.0.jar:/tmp/wordCount.jar:/usr/hdp/2.3.0.0-2112/storm/conf:/grid/0/hdp/2.3.0.0-2112/storm/bin -Dstorm.jar=/tmp/wordCount.jar storm.starter.WordCountTopology WordCountid1fac6115_date452415\r
Error: Could not find or load main class storm.starter.WordCountTopology",
"structured_out" : { }
}
}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)