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

Review request for Ambari, Mahadev Konar and Vitalyi Brodetskyi.


Bugs: AMBARI-12260
    https://issues.apache.org/jira/browse/AMBARI-12260


Repository: ambari


Description
-------

Error:-
Traceback (most recent call last):
File 
"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/service_check.py",
 line 106, in <module>
HiveServiceCheck().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/HIVE/0.12.0.2.0/package/scripts/service_check.py",
 line 102, in service_check
hcat_service_check()
File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 
89, in thunk
return fn(*args, **kwargs)
File 
"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_service_check.py",
 line 95, in hcat_service_check
logoutput=True)
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 
157, in init
self.env.run()
File 
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
line 152, in run
self.run_action(resource, action)
File 
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
line 118, in run_action
provider_action()
File 
"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
 line 254, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 
70, in inner
result = function(command, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 
92, in checked_call
tries=tries, try_sleep=try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 
140, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 
291, in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of ' 
/var/lib/ambari-agent/data/tmp/hcatSmoke.sh hcatsmokeid1fac702e_date362915 
cleanup' returned 1. WARNING: Use "yarn jar" to launch YARN applications.
FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Unable to drop 
default.hcatsmokeid1fac702e_date362915 because it is in an encryption zone and 
trash is enabled. Use PURGE option to skip trash.)


Diffs
-----

  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/files/hcatSmoke.sh
 d1e2ff1 
  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_service_check.py
 d35e0b9 
  
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
 0a3f32b 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_service_check.py 
5bf85fd 

Diff: https://reviews.apache.org/r/36138/diff/


Testing
-------

----------------------------------------------------------------------
Ran 257 tests in 8.580s

OK
----------------------------------------------------------------------
Total run:789
Total errors:0
Total failures:0
OK


Thanks,

Dmytro Sen

Reply via email to