ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <>
Subject [jira] [Created] (AMBARI-21030) Custom task script should output specific exception
Date Tue, 16 May 2017 10:09:04 GMT
Dmitry Lysnichenko created AMBARI-21030:

             Summary: Custom task script should output specific exception
                 Key: AMBARI-21030
             Project: Ambari
          Issue Type: Bug
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko
         Attachments: AMBARI-21030.patch

{{}}  has the following function:

def resolve_ambari_config():
config_path = os.path.abspath(AmbariConfig.getConfigFile())
if os.path.exists(config_path):
raise Exception("No config found at %s" % str(config_path))
except Exception, err:

There was an error parsing the config file, and {{Logger.warn()}} isn't actually defined (Shockingly,
it's called {{warning()}}).  Even still, changing the code to warning() didn't work either.
 The exact stack should be printed here with throwback.print_exc() (if {{warning()}} doesn't
do it).

This message was sent by Atlassian JIRA

View raw message