Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9046D200C39 for ; Thu, 16 Mar 2017 13:41:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8E55B160B78; Thu, 16 Mar 2017 12:41:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BA653160B8B for ; Thu, 16 Mar 2017 13:41:53 +0100 (CET) Received: (qmail 82663 invoked by uid 500); 16 Mar 2017 12:41:52 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 82596 invoked by uid 99); 16 Mar 2017 12:41:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2017 12:41:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C838018F163 for ; Thu, 16 Mar 2017 12:41:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 5Y0uUK8redkd for ; Thu, 16 Mar 2017 12:41:48 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D7CD861F19 for ; Thu, 16 Mar 2017 12:41:46 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 39E9CE0D1A for ; Thu, 16 Mar 2017 12:41:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7F879254E8 for ; Thu, 16 Mar 2017 12:41:43 +0000 (UTC) Date: Thu, 16 Mar 2017 12:41:43 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-20480) Security status commands fill ambari-agent.log with stack traces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 16 Mar 2017 12:41:54 -0000 Andrew Onischuk created AMBARI-20480: ---------------------------------------- Summary: Security status commands fill ambari-agent.log with stack traces Key: AMBARI-20480 URL: https://issues.apache.org/jira/browse/AMBARI-20480 Project: Ambari Issue Type: Bug Reporter: Andrew Onischuk Assignee: Andrew Onischuk Fix For: 3.0.0 Attachments: AMBARI-20480.patch Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/ambari_agent/PythonReflectiveExecutor.py", line 59, in run_file imp.load_source('__main__', script) File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_server.py", line 162, in WebHCatServer().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 317, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_server.py", line 122, in security_status {'webhcat-site.xml': FILE_TYPE_XML})) File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/security_commons.py", line 163, in get_params_from_filesystem configuration = ET.parse(conf_dir + os.sep + config_file) File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 862, in parse tree.parse(source, parser) File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 579, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: '/usr/hdp/current/hive-webhcat/etc/webhcat/webhcat-site.xml' INFO 2017-03-16 12:35:24,455 StatusCommandsExecutor.py:264 - Adding STATUS_COMMAND for component ZEPPELIN_MASTER of service ZEPPELIN of cluster c1 to the queue. INFO 2017-03-16 12:35:24,507 FileCache.py:171 - Updated directory /var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package INFO 2017-03-16 12:35:24,609 StatusCommandsExecutor.py:264 - Adding STATUS_COMMAND for component ACCUMULO_TSERVER of service ACCUMULO of cluster c1 to the queue. INFO 2017-03-16 12:35:24,704 PythonReflectiveExecutor.py:67 - Reflective command failed with exception: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/ambari_agent/PythonReflectiveExecutor.py", line 59, in run_file imp.load_source('__main__', script) File "/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_tserver.py", line 24, in AccumuloScript('tserver').execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 317, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_script.py", line 140, in security_status {'accumulo-site.xml': FILE_TYPE_XML}) File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/security_commons.py", line 163, in get_params_from_filesystem configuration = ET.parse(conf_dir + os.sep + config_file) File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 862, in parse tree.parse(source, parser) File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 579, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: '/usr/hdp/current/accumulo-client/conf/accumulo-site.xml' INFO 2017-03-16 12:35:24,755 StatusCommandsExecutor.py:264 - Adding STATUS_COMMAND for component ACCUMULO_CLIENT of service ACCUMULO of cluster c1 to the queue. INFO 2017-03-16 12:35:24,897 StatusCommandsExecutor.py:264 - Adding STATUS_COMMAND for component FALCON_CLIENT of service FALCON of cluster c1 to the queue. INFO 2017-03-16 12:35:25,049 StatusCommandsExecutor.py:264 - Adding STATUS_COMMAND for component OOZIE_CLIENT of service OOZIE of cluster c1 to the queue. INFO 2017-03-16 12:35:25,194 StatusCommandsExecutor.py:264 - Adding STATUS_COMMAND for component METRICS_GRAFANA of service AMBARI_METRICS of cluster c1 to the queue. INFO 2017-03-16 12:35:25,345 StatusCommandsExecutor.py:264 - Adding STATUS_COMMAND for component SPARK_CLIENT of service SPARK of cluster c1 to the queue. INFO 2017-03-16 12:35:25,483 StatusCommandsExecutor.py:264 - Adding STATUS_COMMAND for component NIMBUS of service STORM of cluster c1 to the queue. INFO 2017-03-16 12:35:25,629 StatusCommandsExecutor.py:264 - Adding STATUS_COMMAND for component HIVE_SERVER of service HIVE of cluster c1 to the queue. INFO 2017-03-16 12:35:25,728 PythonReflectiveExecutor.py:67 - Reflective command failed with exception: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/ambari_agent/PythonReflectiveExecutor.py", line 59, in run_file imp.load_source('__main__', script) File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server.py", line 227, in HiveServer().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 317, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server.py", line 161, in security_status {'hive-site.xml': FILE_TYPE_XML}) File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/security_commons.py", line 163, in get_params_from_filesystem configuration = ET.parse(conf_dir + os.sep + config_file) File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 862, in parse tree.parse(source, parser) File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 579, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: '/usr/hdp/current/hive-client/conf/conf.server/hive-site.xml' -- This message was sent by Atlassian JIRA (v6.3.15#6346)