You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2016/07/01 13:52:11 UTC

[jira] [Updated] (AMBARI-17524) Falcon start fails rarely

     [ https://issues.apache.org/jira/browse/AMBARI-17524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk updated AMBARI-17524:
-------------------------------------
    Status: Patch Available  (was: Open)

> Falcon start fails rarely
> -------------------------
>
>                 Key: AMBARI-17524
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17524
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17524.patch
>
>
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_server.py", line 177, in <module>
>         FalconServer().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_server.py", line 50, in start
>         falcon('server', action='start', upgrade_type=upgrade_type)
>       File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
>         return fn(*args, **kwargs)
>       File "/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon.py", line 194, in falcon
>         environment=environment_dictionary)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
>         tries=self.resource.tries, try_sleep=self.resource.try_sleep)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 71, in inner
>         result = function(command, **kwargs)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 93, in checked_call
>         tries=tries, try_sleep=try_sleep)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 141, in _call_wrapper
>         result = _call(command, **kwargs_copy)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 294, in _call
>         raise Fail(err_msg)
>     resource_management.core.exceptions.Fail: Execution of '/usr/hdp/current/falcon-server/bin/falcon-start -port 15000' returned 1. Hadoop home is set, adding libraries from '/usr/hdp/current/hadoop-client/bin/hadoop classpath' into falcon classpath
>     falcon running as process 3443. Stop it first.
>     
> This happens because falcon start was not idempotent unlike other start
> command.



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