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


Ship it!




Ship It!

- Vitalyi Brodetskyi


On Сер. 31, 2016, 11:05 до полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/51555/
> -----------------------------------------------------------
> 
> (Updated Сер. 31, 2016, 11:05 до полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-18285
>     https://issues.apache.org/jira/browse/AMBARI-18285
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> nat-s11-4-aiws-1226-5:~ # ambari-server upgrade -v
>     Using python  /usr/bin/python
>     Upgrading ambari-server
>     Updating properties in ambari.properties ...
>     WARNING: Can not find ambari.properties.rpmsave file from previous 
> version, skipping import of settings
>     INFO: Can not find ambari-env.sh.rpmsave file from previous version, 
> skipping restore of environment settings. ambari-env.sh may not include any 
> user customization.
>     INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
>     INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
>     INFO: No mpack replay logs found. Skipping replaying mpack commands
>     INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
>     INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
>     Fixing database objects owner
>     INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
>     INFO: about to run command: ['ambari-sudo.sh', 'su', 'postgres', '-', 
> '--command=/var/lib/ambari-server/resources/scripts/change_owner.sh -d ambari 
> -s ambari -o \'"ambari"\'']
>     INFO: Fixed database objects owner
>     INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
>     Traceback (most recent call last):
>       File "/usr/sbin/ambari-server.py", line 754, in <module>
>         mainBody()
>       File "/usr/sbin/ambari-server.py", line 725, in mainBody
>         main(options, args, parser)
>       File "/usr/sbin/ambari-server.py", line 678, in main
>         action_obj.execute()
>       File "/usr/sbin/ambari-server.py", line 69, in execute
>         self.fn(*self.args, **self.kwargs)
>       File "/usr/lib/python2.6/site-packages/ambari_server/serverUpgrade.py", 
> line 370, in upgrade
>         retcode = run_schema_upgrade(args)
>       File "/usr/lib/python2.6/site-packages/ambari_server/serverUpgrade.py", 
> line 249, in run_schema_upgrade
>         db_title = get_db_type(get_ambari_properties()).title
>     AttributeError: 'NoneType' object has no attribute 'title'
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/package/rpm/preinstall.sh 6ed7444 
> 
> Diff: https://reviews.apache.org/r/51555/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>

Reply via email to