ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Review Request 34190: Oozie Service Check fails because folders in /user/ambari-qa are owned by hdfs:hdfs
Date Thu, 14 May 2015 03:17:48 GMT

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

Review request for Ambari, Andrew Onischuk, Jonathan Hurley, Jayush Luniya, Nate Cole, and
Sid Wagle.


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


Repository: ambari


Description
-------

Oozie service checks failing because
/user/ambari-qa/examples/output-data/map-reduce/_temporary/1 is actually owned by hdfs:hdfs
instead of ambari-qa (despite it being inside the /user/ambari-qa folder).

This can be explained if the copyFromLocal command is being ran as hdfs instead of ambari-qa.


Diffs
-----

  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/service_check.py
a2195d8 
  ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_service_check.py 151ce14 

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


Testing
-------

Deployed a cluster with HDP 2.3.0.0-1951 with Oozie, ran the service check, which failed initially,
and after deploying my patch it worked, even while running multiple times.
Unit tests for Oozie passed, however, there are 2 unrelated failures in test_knox_gateway.

----------------------------------------------------------------------
Total run:740
Total errors:2
Total failures:0
ERROR


Thanks,

Alejandro Fernandez


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