ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18017) Falcon Service check failed after deleting and adding back falcon after ambari only upgrade 2.2.1.1 -> 2.4.0.0
Date Thu, 04 Aug 2016 09:49:20 GMT

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

Andrew Onischuk updated AMBARI-18017:
-------------------------------------
    Attachment:     (was: AMBARI-18017.patch)

> Falcon Service check failed after deleting and adding back falcon after ambari only upgrade
2.2.1.1 -> 2.4.0.0
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-18017
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18017
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-18017.patch
>
>
> STR:  
> 1) Perform Ambari only upgrade 2.2.1.0 -> 2.4.0.0  
> 2) Delete Falcon  
> 3) Add Falcon back and run service check. It fails
>     
>     
>     
>     {
>       "href" : "http://172.22.84.252:8080/api/v1/clusters/cl1/requests/164/tasks/953",
>       "Tasks" : {
>         "attempt_cnt" : 1,
>         "cluster_name" : "cl1",
>         "command" : "SERVICE_CHECK",
>         "command_detail" : "SERVICE_CHECK FALCON",
>         "end_time" : 1470025071924,
>         "error_log" : "/var/lib/ambari-agent/data/errors-953.txt",
>         "exit_code" : 1,
>         "host_name" : "natr66-hems-upg-rare-st24-2211-3-2.openstacklocal",
>         "id" : 953,
>         "output_log" : "/var/lib/ambari-agent/data/output-953.txt",
>         "request_id" : 164,
>         "role" : "FALCON_SERVICE_CHECK",
>         "stage_id" : 0,
>         "start_time" : 1470025007916,
>         "status" : "FAILED",
>         "stderr" : "Traceback (most recent call last):\n  File \"/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/service_check.py\",
line 53, in <module>\n    FalconServiceCheck().execute()\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 280, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/service_check.py\",
line 40, in service_check\n    try_sleep = 20\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\",
line 155, in __init__\n    self.env.run()\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\",
line 160, in run\n    self.run_action(resource, action)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\",
line 124, in run_action\n    provider_action()\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
line 273, in action_run\n    tries=self.resource.tries, try_sleep=self.resource.try_sleep)\n
 File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 71, in
inner\n    result = function(command, **kwargs)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\",
line 93, in checked_call\n    tries=tries, try_sleep=try_sleep)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\",
line 141, in _call_wrapper\n    result = _call(command, **kwargs_copy)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\",
line 294, in _call\n    raise Fail(err_msg)\nresource_management.core.exceptions.Fail: Execution
of '/usr/hdp/current/falcon-client/bin/falcon admin -version' returned 255. Hadoop home is
set, adding libraries from '/usr/hdp/2.4.2.0-258/hadoop/bin/hadoop classpath' into falcon
classpath\nSLF4J: Class path contains multiple SLF4J bindings.\nSLF4J: Found binding in [jar:file:/grid/0/hdp/2.4.2.0-258/falcon/client/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J:
Found binding in [jar:file:/grid/0/hdp/2.4.2.0-258/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J:
See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.\nSLF4J: Actual binding
is of type [org.slf4j.impl.Log4jLoggerFactory]\nERROR: Unable to initialize Falcon Client
object",
>         "stdout" : "2016-08-01 04:16:51,659 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf\n2016-08-01
04:16:51,670 - Execute['/usr/hdp/current/falcon-client/bin/falcon admin -version'] {'logoutput':
True, 'tries': 3, 'user': 'ambari-qa', 'try_sleep': 20}\nHadoop home is set, adding libraries
from '/usr/hdp/2.4.2.0-258/hadoop/bin/hadoop classpath' into falcon classpath\nSLF4J: Class
path contains multiple SLF4J bindings.\nSLF4J: Found binding in [jar:file:/grid/0/hdp/2.4.2.0-258/falcon/client/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J:
Found binding in [jar:file:/grid/0/hdp/2.4.2.0-258/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J:
See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.\nSLF4J: Actual binding
is of type [org.slf4j.impl.Log4jLoggerFactory]\nERROR: Unable to initialize Falcon Client
object\n2016-08-01 04:16:53,588 - Retrying after 20 seconds. Reason: Execution of '/usr/hdp/current/falcon-client/bin/falcon
admin -version' returned 255. Hadoop home is set, adding libraries from '/usr/hdp/2.4.2.0-258/hadoop/bin/hadoop
classpath' into falcon classpath\nSLF4J: Class path contains multiple SLF4J bindings.\nSLF4J:
Found binding in [jar:file:/grid/0/hdp/2.4.2.0-258/falcon/client/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J:
Found binding in [jar:file:/grid/0/hdp/2.4.2.0-258/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J:
See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.\nSLF4J: Actual binding
is of type [org.slf4j.impl.Log4jLoggerFactory]\nERROR: Unable to initialize Falcon Client
object\nHadoop home is set, adding libraries from '/usr/hdp/2.4.2.0-258/hadoop/bin/hadoop
classpath' into falcon classpath\nSLF4J: Class path contains multiple SLF4J bindings.\nSLF4J:
Found binding in [jar:file:/grid/0/hdp/2.4.2.0-258/falcon/client/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J:
Found binding in [jar:file:/grid/0/hdp/2.4.2.0-258/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J:
See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.\nSLF4J: Actual binding
is of type [org.slf4j.impl.Log4jLoggerFactory]\nERROR: Unable to initialize Falcon Client
object\n2016-08-01 04:17:15,632 - Retrying after 20 seconds. Reason: Execution of '/usr/hdp/current/falcon-client/bin/falcon
admin -version' returned 255. Hadoop home is set, adding libraries from '/usr/hdp/2.4.2.0-258/hadoop/bin/hadoop
classpath' into falcon classpath\nSLF4J: Class path contains multiple SLF4J bindings.\nSLF4J:
Found binding in [jar:file:/grid/0/hdp/2.4.2.0-258/falcon/client/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J:
Found binding in [jar:file:/grid/0/hdp/2.4.2.0-258/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J:
See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.\nSLF4J: Actual binding
is of type [org.slf4j.impl.Log4jLoggerFactory]\nERROR: Unable to initialize Falcon Client
object\nHadoop home is set, adding libraries from '/usr/hdp/2.4.2.0-258/hadoop/bin/hadoop
classpath' into falcon classpath\nSLF4J: Class path contains multiple SLF4J bindings.\nSLF4J:
Found binding in [jar:file:/grid/0/hdp/2.4.2.0-258/falcon/client/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J:
Found binding in [jar:file:/grid/0/hdp/2.4.2.0-258/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]\nSLF4J:
See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.\nSLF4J: Actual binding
is of type [org.slf4j.impl.Log4jLoggerFactory]\nERROR: Unable to initialize Falcon Client
object\n\nCommand failed after 1 tries\n",
>         "structured_out" : { }
>       }
>     }
>     
> Artifacts : <http://qelog.hortonworks.com/log/natr66-hems-upg-rare-st24-2211-3
> /test-logs/upg-ambari-rare-2.2.1.1/artifacts/screenshots/com.hw.ambari.ui.test
> s.monitoring.services_page.DeleteDependentServices/testC_addAllServices/_1_4_2
> 1_34_Checking_smoke_test_for__FALCON_service_failed/>



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

Mime
View raw message