ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 35688: After Ambari Upgrade Knox fails to start
Date Sat, 20 Jun 2015 10:11:24 GMT

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

Ship it!


Ship It!

- Andrew Onischuk


On June 20, 2015, 10:07 a.m., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35688/
> -----------------------------------------------------------
> 
> (Updated June 20, 2015, 10:07 a.m.)
> 
> 
> Review request for Ambari and Andrew Onischuk.
> 
> 
> Bugs: AMBARI-12039
>     https://issues.apache.org/jira/browse/AMBARI-12039
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> After upgrade of Ambari 2.0.1 to Ambari 2.1 using HDP 2.2.6, Knox fails to start with
the attached stack trace.
> 
> {noformat}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/knox_gateway.py",
line 268, in <module>
>     KnoxGateway().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 216, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/knox_gateway.py",
line 166, in stop
>     import params
>   File "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/params.py",
line 27, in <module>
>     from params_linux import *
>   File "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py",
line 80, in <module>
>     namenode_rpc_port = get_port_from_url(config['configurations']['hdfs-site']['dfs.namenode.rpc-address'])
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/get_port_from_url.py",
line 45, in get_port_from_url
>     raise Fail("No port in URL:{0}".format(address))
> {noformat}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/AbstractUpgradeCatalog.java
466c857 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog210.java
69bfd09 
>   ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py
9c2b3ab 
> 
> Diff: https://reviews.apache.org/r/35688/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message