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

Ship it!


Ship It!

- Vitalyi Brodetskyi


On July 23, 2014, 12:43 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/23851/
> -----------------------------------------------------------
> 
> (Updated July 23, 2014, 12:43 p.m.)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-6574
>     https://issues.apache.org/jira/browse/AMBARI-6574
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HDFS service check file trying to create directory in HDFS
> 
>     
>     
>     
>     2014-07-23 06:33:04,987 - Error while executing command 'service_check':
>     Traceback (most recent call last):
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 113, in execute
>         method(env)
>       File 
> "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HDFS/package/scripts/service_check.py",
>  line 59, in service_check
>         tries=5
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 
> 148, in __init__
>         self.env.run()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 149, in run
>         self.run_action(resource, action)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 115, in run_action
>         provider_action()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/execute_hadoop.py",
>  line 47, in action_run
>         logoutput   = self.resource.logoutput,
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 
> 148, in __init__
>         self.env.run()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 149, in run
>         self.run_action(resource, action)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 115, in run_action
>         provider_action()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
>  line 239, in action_run
>         raise ex
>     Fail: Execution of 'hadoop --config /etc/hadoop/conf fs -mkdir 
> /var/lib/ambari-agent/data/tmp ; hadoop fs -chmod 777 
> /var/lib/ambari-agent/data/tmp' returned 1. mkdir: 
> `/var/lib/ambari-agent/data/tmp': No such file or directory
>     chmod: `/var/lib/ambari-agent/data/tmp': No such file or directory
>     
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/service_check.py
>  1b6ca4f 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/service_check.py
>  e7a4447 
> 
> Diff: https://reviews.apache.org/r/23851/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>

Reply via email to