[ 
https://issues.apache.org/jira/browse/AMBARI-9884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14344755#comment-14344755
 ] 

Jayush Luniya commented on AMBARI-9884:
---------------------------------------

AMBARI-9804 should have already addressed the spamming of securityIssuesFound 
and securityStateErrorInfo exceptions. However, while investigating on why the 
exceptions are still thrown in 2.0.0, I noticed that the 
ambari-common/src/main/python/resource_management/libraries/script/script.py 
from the patch were not committed to branch-2.0.0.  

Trunk Commit:
https://github.com/apache/ambari/commit/4b8cd75d6e0674b73d7c1781a4994071f164dd4f
Showing  25 changed files  with 1,211 additions and 435 deletions.

Branch-2.0.0 Commit:
https://github.com/apache/ambari/commit/9a8903e83dcbbc9669d9601b4a01cb66cb3c45c2
Showing  24 changed files  with 1,205 additions and 434 deletions.

Having said that, I still think the PythonExecutor.py is too verbose as it logs 
every command and its result and we should change the log to debug. 
{code}
    logger.info("Running command " + pprint.pformat(pythonCommand))
{code}

{code}
    logger.info("Result: %s" % result)
{code}



> Secured cluster is all green but has a busy ambari-agent log
> ------------------------------------------------------------
>
>                 Key: AMBARI-9884
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9884
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.0.0
>            Reporter: Jayush Luniya
>            Assignee: Jayush Luniya
>            Priority: Critical
>             Fix For: 2.0.0
>
>
> It may not be critical - I am noticing ~5 MB per hour.
> Few erros I see:
> {noformat}
> INFO 2015-03-02 22:34:48,217 PythonExecutor.py:114 - Result: 
> {'structuredOut': {u'securityIssuesFound': u'Configuration file webhcat-site 
> did not pass the validation. Reason: Property templeton.kerberos.keytab does 
> not exist', u'securityStateErrorInfo': u"[Errno 2] No such file or directory: 
> '/etc/zookeeper/conf/zookeeper_jaas.conf'", u'securityState': u'UNKNOWN'}, 
> 'stdout': '', 'stderr': '', 'exitcode': 0}
> {noformat}
> Its not clear what the issue as templeton.kerberos.keytab does exist in 
> webhcat-site.xml and /etc/zookeeper/conf/zookeeper_jaas.conf also exist.
> Log reports about 20-30 occurrences of same error within few seconds and then 
> waits for a minute before the next spew.



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

Reply via email to