> On May 9, 2016, 9:49 p.m., Venkat Ranganathan wrote: > > ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/configuration/falcon-env.xml, > > line 162 > > <https://reviews.apache.org/r/47009/diff/1/?file=1372978#file1372978line162> > > > > Don't we want the server classpath to be changed in falcon-config?
Thanks for the review. I'm not familiar with falcon-config. Could you give more details? - Tom ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/47009/#review132337 ----------------------------------------------------------- On May 5, 2016, 12:07 p.m., Tom Beerbower wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/47009/ > ----------------------------------------------------------- > > (Updated May 5, 2016, 12:07 p.m.) > > > Review request for Ambari, Sumit Mohanty and Venkat Ranganathan. > > > 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 > ----- > > > 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 > >