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

Review request for Ambari, Andrew Onischuk, Costel Radulescu, and Robert Levas.


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


Repository: ambari


Description
-------

I ran a number of tests before we do start where I ran Ambari 1.7 to install 
HDP 2.2 on a VM after changing all the /var/log, /var/run, /hadoop references 
form defaults to instead be under some other dir (see attached xls for full 
list). I am encountering a number of Ambari failures which I needed help on.
Falcon check error.
Stacktrace:
org.apache.falcon.client.FalconCLIException: Unable to initialize Falcon Client 
object
at org.apache.falcon.client.FalconClient.<init>(FalconClient.java:145)
at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:178)
at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:133)
Caused by: org.apache.falcon.client.FalconCLIException: Could not authenticate, 
Authentication failed, status: 404, message: Not Found

Solution:

Recursive directory creation and handling the creation of the store_uri as a 
step in configuring falcon.


Diffs
-----

  
ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/falcon.py
 a56ba5c 
  
ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/params_linux.py
 2353f72 
  ambari-server/src/test/python/stacks/2.1/FALCON/test_falcon_client.py 618a83e 
  ambari-server/src/test/python/stacks/2.1/FALCON/test_falcon_server.py 76123bb 

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


Testing
-------

mvn clean test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.373s
[INFO] Finished at: Fri Apr 24 18:17:46 EEST 2015
[INFO] Final Memory: 60M/978M


Thanks,

Emil Anca

Reply via email to