ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Hurley <jhur...@hortonworks.com>
Subject Re: updating rpms with 2.3
Date Thu, 04 Jun 2015 12:17:27 GMT
That module is new, but should exist:

[root@c6401 ambari-agent]# !find
find . -name "curl_krb_request.py"
./lib/resource_management/libraries/functions/curl_krb_request.py

Is this with a clean agent install or in a development environment?

> On Jun 4, 2015, at 12:05 AM, Erin Boyd <eboyd@redhat.com> wrote:
> 
> Has anyone seen this? If you go to a newer build of HDP 2.3 by updating the rpms, the
agent will not restart:
> [root@hwx60 tmp]# ambari-server start
> Using python  /usr/bin/python2.6
> Starting ambari-server
> Ambari Server running with administrator privileges.
> Organizing resource files at /var/lib/ambari-server/resources...
> Server PID at: /var/run/ambari-server/ambari-server.pid
> Server out at: /var/log/ambari-server/ambari-server.out
> Server log at: /var/log/ambari-server/ambari-server.log
> Waiting for server start....................
> Ambari Server 'start' completed successfully.
> [root@hwx60 tmp]# ambari-agent start
> Verifying Python version compatibility...
> Using python  /usr/bin/python2.6
> Checking for previously running Ambari Agent...
> Starting ambari-agent
> Verifying ambari-agent process status...
> ERROR: ambari-agent start failed. For more details, see /var/log/ambari-agent/ambari-agent.out:
> ====================
> Traceback (most recent call last):
>  File "/usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py", line 24, in <module>
>    from Controller import AGENT_AUTO_RESTART_EXIT_CODE
>  File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 43, in <module>
>    from ambari_agent.AlertSchedulerHandler import AlertSchedulerHandler
>  File "/usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py", line
33, in <module>
>    from alerts.metric_alert import MetricAlert
>  File "/usr/lib/python2.6/site-packages/ambari_agent/alerts/metric_alert.py", line 32,
in <module>
>    from resource_management.libraries.functions.curl_krb_request import curl_krb_request
> ImportError: No module named curl_krb_request
> ====================
> Agent out at: /var/log/ambari-agent/ambari-agent.out
> Agent log at: /var/log/ambari-agent/ambari-agent.log
> [root@hwx60 tmp]# 
> 
> Erin


Mime
View raw message