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

(Updated May 11, 2016, 8:52 p.m.)


Review request for Ambari, Sumit Mohanty and Venkat Ranganathan.


Changes
-------

Updated diff


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


Repository: ambari


Description
-------

Deployed HDP-2.5 and Falcon server failed to start.


    cat /var/log/falcon/falcon.out.20160504002*
    Error: Could not find or load main class org.apache.falcon.FalconServer
    Error: Could not find or load main class org.apache.falcon.FalconServer
    Error: Could not find or load main class org.apache.falcon.FalconServer


The command to start, in Ambari is:


    Execute['/usr/hdp/current/falcon-server/bin/falcon-start -port 15000'] 
{'environment': {'HADOOP_HOME': '/usr/hdp/current/hadoop-client'}, 'path': 
['/usr/hdp/current/hadoop-client/bin'], 'user': 'falcon'}


Link falcon hook jars in falcon classpath - 'ln -s <atlas-home>/hook/falcon/* 
<falcon-home>/server/webapp/falcon/WEB-INF/lib/'
is what is causing it. If falcon webapp is already exploded it will fail for 
falcon webapp itself. That step should not be done and we should change it to 
add falcon hook into webapp.jar itself post deployment like what we do for 
Oozie with prepare-war or added to server classpath explicitly


Diffs (updated)
-----

  
ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/configuration/falcon-env.xml
 3fdf2e6 
  
ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/params_linux.py
 bf7f437 
  
ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/setup_atlas_falcon.py
 4b7c0c3 

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


Testing
-------

mvn clean test


Thanks,

Tom Beerbower

Reply via email to