Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A4B8F102BF for ; Mon, 16 Feb 2015 15:41:24 +0000 (UTC) Received: (qmail 63319 invoked by uid 500); 16 Feb 2015 15:41:12 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 63273 invoked by uid 500); 16 Feb 2015 15:41:11 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 63261 invoked by uid 99); 16 Feb 2015 15:41:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Feb 2015 15:41:11 +0000 Date: Mon, 16 Feb 2015 15:41:11 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-9659) JMX errors in ambari-server log MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-9659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Onischuk resolved AMBARI-9659. ------------------------------------- Resolution: Fixed Committed to trunk > JMX errors in ambari-server log > ------------------------------- > > Key: AMBARI-9659 > URL: https://issues.apache.org/jira/browse/AMBARI-9659 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.0.0 > > > Deployed cluster via blueprint. > > > > { > "configurations": [ > { > "mapred-env": { > "properties": { > "mapreduce_log_dir_prefix": "/grid/0/log/hadoop-mapreduce" > } > }, > "mapred-site": { > "properties": { > "install-test-mapred-site": "install-test-mapred-site-VALUE" > } > }, > "yarn-env": { > "properties": { > "yarn_log_dir_prefix": "/grid/0/log/hadoop" > } > }, > "yarn-site": { > "properties": { > "yarn.timeline-service.leveldb-timeline-store.path": "/grid/0/hadoop/yarn/timeline", > "yarn.nodemanager.delete.debug-delay-sec": "3600", > "install-test-yarn-site": "install-test-yarn-site-VALUE", > "yarn.nodemanager.log-dirs": "/grid/0/hadoop/yarn/log", > "yarn.nodemanager.local-dirs": "/grid/0/hadoop/yarn/local" > } > }, > "falcon-env": { > "properties": { > "falcon_log_dir": "/grid/0/log/falcon" > } > }, > "falcon-startup.properties": { > "properties": { > "install-test-falcon-startup-site": "install-test-falcon-startup-site-VALUE" > } > }, > "falcon-runtime.properties": { > "properties": { > "install-test-falcon-runtime-site": "install-test-falcon-runtime-site-VALUE" > } > }, > "hive-env": { > "properties": { > "hive_log_dir": "/grid/0/log/hive", > "hcat_log_dir": "/grid/0/log/webhcat", > "hive_metastore_user_passwd": "hive" > } > }, > "hive-site": { > "properties": { > "install-test-hive-site": "install-test-hive-site-VALUE", > "javax.jdo.option.ConnectionUserName": "hive", > "javax.jdo.option.ConnectionPassword": "password" > } > }, > "webhcat-site": { > "properties": { > "install-test-webhcat-site": "install-test-webhcat-site-VALUE" > } > }, > "tez-site": { > "properties": { > "install-test-tez-site": "install-test-tez-site-VALUE" > } > }, > "storm-env": { > "properties": { > "storm_log_dir": "/grid/0/log/storm" > } > }, > "storm-site": { > "properties": { > "install-test-storm-site": "install-test-storm-site-VALUE" > } > }, > "zookeeper-env": { > "properties": { > "zk_log_dir": "/grid/0/log/zookeeper" > } > }, > "hbase-env": { > "properties": { > "hbase_log_dir": "/grid/0/log/hbase" > } > }, > "hbase-site": { > "properties": { > "install-test-hbase-site": "install-test-hbase-site-VALUE" > } > }, > "oozie-env": { > "properties": { > "oozie_log_dir": "/grid/0/log/oozie" > } > }, > "oozie-site": { > "properties": { > "install-test-oozie-site": "install-test-oozie-site-VALUE" > } > }, > "flume-env": { > "properties": { > "flume_log_dir": "/grid/0/log/flume" > } > }, > "knox-env": { > "properties": { > "knox_master_secret": "knoxsecret" > } > }, > "hadoop-env": { > "properties": { > "hdfs_log_dir_prefix": "/grid/0/log/hadoop", > "hadoop_heapsize": "1111" > } > }, > "core-site": { > "properties": { > "io.compression.codecs": "org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.SnappyCodec,com.hadoop.compression.lzo.LzoCodec,com.hadoop.compression.lzo.LzopCodec", > "io.compression.codec.lzo.class": "com.hadoop.compression.lzo.LzoCodec", > "hadoop.proxyuser.oozie.hosts": "*", > "fs.azure.account.key.hwxasvtesting.blob.core.windows.net": "R/1hsiE/qdHPZU9yfrSPlOcJ7AvPAtdsaNyRxaWC++NkU8jxHNC1m6ZsuOpRqyodiP/Fnn29NrI+/zZ4nEJN6A==", > "install-test-core-site": "install-test-core-site-VALUE" > } > }, > "hdfs-site": { > "properties": { > "install-test-hdfs-site": "install-test-hdfs-site-VALUE", > "dfs.namenode.name.dir": "/grid/0/hadoop/hdfs/namenode", > "dfs.datanode.data.dir": "/grid/0/hadoop/hdfs/data" > } > } > } > ], > "host_groups": [ > { > "name": "host1", > "cardinality": "1", > "components": [ > { > "name": "NAMENODE" > }, > { > "name": "SECONDARY_NAMENODE" > }, > { > "name": "RESOURCEMANAGER" > }, > { > "name": "HBASE_REGIONSERVER" > }, > { > "name": "ZOOKEEPER_SERVER" > }, > { > "name": "APP_TIMELINE_SERVER" > }, > { > "name": "HISTORYSERVER" > }, > { > "name": "HBASE_MASTER" > }, > { > "name": "DATANODE" > }, > { > "name": "NODEMANAGER" > }, > { > "name": "HBASE_REGIONSERVER" > }, > { > "name": "METRICS_MONITOR" > }, > { > "name": "TEZ_CLIENT" > }, > { > "name": "HDFS_CLIENT" > }, > { > "name": "MAPREDUCE2_CLIENT" > }, > { > "name": "YARN_CLIENT" > }, > { > "name": "HCAT" > }, > { > "name": "ZOOKEEPER_CLIENT" > }, > { > "name": "HBASE_CLIENT" > }, > { > "name": "HIVE_CLIENT" > } > ] > }, > { > "name": "host2", > "cardinality": "1", > "components": [ > { > "name": "HIVE_SERVER" > }, > { > "name": "HIVE_METASTORE" > }, > { > "name": "WEBHCAT_SERVER" > }, > { > "name": "ZOOKEEPER_SERVER" > }, > { > "name": "KNOX_GATEWAY" > }, > { > "name": "MYSQL_SERVER" > }, > { > "name": "METRICS_COLLECTOR" > }, > { > "name": "DATANODE" > }, > { > "name": "NODEMANAGER" > }, > { > "name": "HBASE_REGIONSERVER" > }, > { > "name": "METRICS_MONITOR" > }, > { > "name": "TEZ_CLIENT" > }, > { > "name": "HDFS_CLIENT" > }, > { > "name": "MAPREDUCE2_CLIENT" > }, > { > "name": "YARN_CLIENT" > }, > { > "name": "HCAT" > }, > { > "name": "ZOOKEEPER_CLIENT" > }, > { > "name": "HBASE_CLIENT" > }, > { > "name": "HIVE_CLIENT" > } > ] > }, > { > "name": "other_hosts", > "cardinality": "1", > "components": [ > { > "name": "ZOOKEEPER_SERVER" > }, > { > "name": "DATANODE" > }, > { > "name": "NODEMANAGER" > }, > { > "name": "HBASE_REGIONSERVER" > }, > { > "name": "METRICS_MONITOR" > }, > { > "name": "TEZ_CLIENT" > }, > { > "name": "HDFS_CLIENT" > }, > { > "name": "MAPREDUCE2_CLIENT" > }, > { > "name": "YARN_CLIENT" > }, > { > "name": "HCAT" > }, > { > "name": "ZOOKEEPER_CLIENT" > }, > { > "name": "HBASE_CLIENT" > }, > { > "name": "HIVE_CLIENT" > } > ] > } > ], > "Blueprints": { > "blueprint_name": "blueprint-def", > "stack_name": "HDP", > "stack_version": "2.2" > } > } > > ambari-server.log is full of : > > > > 08:47:43,226 INFO [pool-2-thread-165] AbstractProviderModule:1023 - Defaulting JMX to HTTP protocol for for clusterName = cl1, componentName = RESOURCEMANAGERRESOURCEMANAGER > 08:47:54,052 INFO [pool-2-thread-163] AbstractProviderModule:1021 - Exception while detecting JMX protocol for clusterName = cl1, componentName = RESOURCEMANAGER > java.lang.NullPointerException > at org.apache.ambari.server.controller.internal.AbstractProviderModule.getJMXProtocolString(AbstractProviderModule.java:1044) > at org.apache.ambari.server.controller.internal.AbstractProviderModule.getJMXProtocol(AbstractProviderModule.java:1014) > at org.apache.ambari.server.controller.jmx.JMXPropertyProvider.getJMXProtocol(JMXPropertyProvider.java:356) > at org.apache.ambari.server.controller.jmx.JMXPropertyProvider.populateResource(JMXPropertyProvider.java:186) > at org.apache.ambari.server.controller.metrics.ThreadPoolEnabledPropertyProvider$1.call(ThreadPoolEnabledPropertyProvider.java:174) > at org.apache.ambari.server.controller.metrics.ThreadPoolEnabledPropertyProvider$1.call(ThreadPoolEnabledPropertyProvider.java:172) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > -- This message was sent by Atlassian JIRA (v6.3.4#6332)