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

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Липень 6, 2015, 1 після полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/36201/
> -----------------------------------------------------------
> 
> (Updated Липень 6, 2015, 1 після полудня)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-12291
>     https://issues.apache.org/jira/browse/AMBARI-12291
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> **STR**:  
> 1) Non-root server, agents, umask 027, custom service names.  
> 2) Deploy Zk, HDFS, Hbase  
> 3) Perform RU 2.2 -> 2.3
> 
> On finalize step:
> 
>     
>     
>     Traceback (most recent call last):
>       File 
> "/var/lib/ambari-agent/cache/custom_actions/scripts/ru_execute_tasks.py", 
> line 159, in <module>
>         ExecuteUpgradeTasks().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/custom_actions/scripts/ru_execute_tasks.py", 
> line 156, in actionexecute
>         raise Fail(out)
>     resource_management.core.exceptions.Fail: 2015-06-30 17:24:57,579 - 
> call['/usr/bin/yum clean all'] {}
>     2015-06-30 17:24:57,785 - call returned (1, 'Loaded plugins: 
> fastestmirror\nError: Error accessing file for config 
> file://///etc/yum.repos.d/HDP-2.3.0.0-2500.repo')
>     2015-06-30 17:24:57,785 - Command: /usr/bin/yum clean all
>     Code: 1, Out: Loaded plugins: fastestmirror
>     Error: Error accessing file for config 
> file://///etc/yum.repos.d/HDP-2.3.0.0-2500.repo
>     2015-06-30 17:24:57,786 - call['hdp-select set all 2.3.0.0-2500'] {}
>     2015-06-30 17:24:57,805 - call returned (1, 'Traceback (most recent call 
> last):\n  File "/usr/bin/hdp-select", line 373, in <module>\n    
> setPackages(pkgs, args[2], options.rpm_mode)\n  File "/usr/bin/hdp-select", 
> line 265, in setPackages\n    os.remove(linkname)\nOSError: [Errno 13] 
> Permission denied: \'/usr/hdp/current/accumulo-client\'')
>     2015-06-30 17:24:57,806 - Command: hdp-select set all 2.3.0.0-2500
>     Code: 1, Out: Traceback (most recent call last):
>       File "/usr/bin/hdp-select", line 373, in <module>
>         setPackages(pkgs, args[2], options.rpm_mode)
>       File "/usr/bin/hdp-select", line 265, in setPackages
>         os.remove(linkname)
>     OSError: [Errno 13] Permission denied: '/usr/hdp/current/accumulo-client'
>     2015-06-30 17:24:57,806 - Linking /etc/zookeeper/conf to 
> /usr/hdp/current/zookeeper-client/conf
>     2015-06-30 17:24:57,806 - Execute['ambari-sudo.sh  -H -E cp -R -p 
> /etc/zookeeper/conf /etc/zookeeper/conf.backup'] {'logoutput': True}
>     Traceback (most recent call last):
>       File 
> "/var/lib/ambari-agent/cache/custom_actions/scripts/ru_set_all.py", line 103, 
> in <module>
>         UpgradeSetAll().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/custom_actions/scripts/ru_set_all.py", line 69, 
> in actionexecute
>         link_config(v['conf_dir'], v['current_dir'])
>       File 
> "/var/lib/ambari-agent/cache/custom_actions/scripts/ru_set_all.py", line 100, 
> in link_config
>         os.symlink(link_conf, old_conf)
>     OSError: [Errno 17] File exists
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/custom_actions/scripts/ru_execute_tasks.py 
> f39c5bf 
>   ambari-server/src/main/resources/custom_actions/scripts/ru_set_all.py 
> 88c798d 
>   ambari-server/src/test/python/custom_actions/test_ru_execute_tasks.py 
> 7bcc87a 
>   ambari-server/src/test/python/custom_actions/test_ru_set_all.py e0e203b 
> 
> Diff: https://reviews.apache.org/r/36201/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>

Reply via email to