-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50785/#review144790
-----------------------------------------------------------




ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 
<https://reviews.apache.org/r/50785/#comment210899>

    Why was this removed?
    The class name is different in HDP 2.5?


- Alejandro Fernandez


On Aug. 4, 2016, 9:47 a.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50785/
> -----------------------------------------------------------
> 
> (Updated Aug. 4, 2016, 9:47 a.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-18017
>     https://issues.apache.org/jira/browse/AMBARI-18017
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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 2
 73, 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-2
 
58/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.s
 lf4j.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/>
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/params_linux.py
>  349ebf1 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py 
> 94c3117 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 
> 05c73be 
> 
> Diff: https://reviews.apache.org/r/50785/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>

Reply via email to