ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sekhon (JIRA)" <>
Subject [jira] [Created] (AMBARI-18427) Agent start error "cannot import name split_on_chunks" after upgrade
Date Wed, 21 Sep 2016 08:10:20 GMT
Hari Sekhon created AMBARI-18427:

             Summary: Agent start error "cannot import name split_on_chunks" after
                 Key: AMBARI-18427
             Project: Ambari
          Issue Type: Bug
          Components: ambari-agent
    Affects Versions: 2.4.0
            Reporter: Hari Sekhon

I hit this issue yesterday after upgrading ambari-agent:
Verifying Python version compatibility...
Using python  /usr/bin/pythonChecking for previously running Ambari Agent...
Starting ambari-agentVerifying 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/", line 24, in <module>
 from Controller import AGENT_AUTO_RESTART_EXIT_CODE  
   File "/usr/lib/python2.6/site-packages/ambari_agent/", line 41, in <module>
 from ambari_agent.ActionQueue import ActionQueue  
   File "/usr/lib/python2.6/site-packages/ambari_agent/", line 37, in <module>
 from ambari_commons.str_utils import split_on_chunks
ImportError: cannot import name split_on_chunks
I'm not the first person to have encountered it, see:

Considering this is an existing cluster the solution of rm -rf'ing the entire python2.6 site-packages
seems excessive...

This message was sent by Atlassian JIRA

View raw message