Thanks ! it worked. Adding a note on Installation page till Patch is merged would be good. Shall wait for the patch to be merged. It's a big change.
On Tue, Jul 9, 2013 at 11:12 AM, Srikanth Sundarrajan <[email protected]>wrote: > Looks like build is looking for the lib files under webapp directory. The > pre-requisite for this is to run mvn clean package -DskipTests before this > so that the webapp folders are available for the tests to use. > Alternately you can apply patch in FALCON-1 ( > https://issues.apache.org/jira/secure/attachment/12591215/FALCON-1.patch) > over the cloned version. The patch in FALCON-1 should resolve this issue. > RegardsSrikanth Sundarrajan > > > Date: Tue, 9 Jul 2013 10:47:58 +0530 > > Subject: Falcon build failing > > From: [email protected] > > To: [email protected] > > > > Folks, > > > > I cloned the repo today and fired a build as per documentation > > http://falcon.incubator.apache.org/docs/InstallationSteps.html > > > > The build is failing with following error, What am I missing? > > > > 2013-07-09 10:42:12,969 INFO - Archived configuration > PROCESS/clicksummary > > (ConfigurationStore:327) > > 2013-07-09 10:42:12,970 INFO - PROCESS clicksummary is removed from > config > > store (AUDIT:262) > > 2013-07-09 10:42:12,971 INFO - Archived configuration FEED/clicksummary > > (ConfigurationStore:327) > > 2013-07-09 10:42:12,971 INFO - FEED clicksummary is removed from config > > store (AUDIT:262) > > 2013-07-09 10:42:12,972 INFO - Archived configuration FEED/impressions > > (ConfigurationStore:327) > > 2013-07-09 10:42:12,972 INFO - FEED impressions is removed from config > > store (AUDIT:262) > > 2013-07-09 10:42:12,973 INFO - Archived configuration FEED/clicks > > (ConfigurationStore:327) > > 2013-07-09 10:42:12,973 INFO - FEED clicks is removed from config store > > (AUDIT:262) > > 2013-07-09 10:42:12,974 INFO - Archived configuration CLUSTER/corp > > (ConfigurationStore:327) > > 2013-07-09 10:42:12,975 INFO - CLUSTER corp is removed from config store > > (AUDIT:262) > > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 4.739 sec > > <<< FAILURE! > > testBundle(org.apache.falcon.converter.OozieProcessMapperTest) Time > > elapsed: 0.879 sec <<< FAILURE! > > org.apache.falcon.FalconException: > > > /Users/xxxxx/opensource/falcon/incubator-falcon/webapp/target/falcon-webapp-0.3-SNAPSHOT/WEB-INF/lib > > configured for system.lib.location doesn't contain any valid libs > > at > > > org.apache.falcon.service.SharedLibraryHostingService.pushLibsToHDFS(SharedLibraryHostingService.java:83) > > at > > > org.apache.falcon.converter.AbstractOozieEntityMapper.copySharedLibs(AbstractOozieEntityMapper.java:153) > > at > > > org.apache.falcon.converter.AbstractOozieEntityMapper.map(AbstractOozieEntityMapper.java:138) > > at > > > org.apache.falcon.converter.OozieProcessMapperTest.testBundle(OozieProcessMapperTest.java:161) > > > > testBundle1(org.apache.falcon.converter.OozieProcessMapperTest) Time > > elapsed: 0.522 sec <<< FAILURE! > > org.apache.falcon.FalconException: > > > /Users/xxxxxx/opensource/falcon/incubator-falcon/webapp/target/falcon-webapp-0.3-SNAPSHOT/WEB-INF/lib > > configured for system.lib.location doesn't contain any valid libs > > at > > > org.apache.falcon.service.SharedLibraryHostingService.pushLibsToHDFS(SharedLibraryHostingService.java:83) > > at > > > org.apache.falcon.converter.AbstractOozieEntityMapper.copySharedLibs(AbstractOozieEntityMapper.java:153) > > at > > > org.apache.falcon.converter.AbstractOozieEntityMapper.map(AbstractOozieEntityMapper.java:138) > > at > > > org.apache.falcon.converter.OozieProcessMapperTest.testBundle1(OozieProcessMapperTest.java:191) > > > > > > Results : > > > > Failed tests: > > OozieProcessMapperTest.testBundle:161 ? Falcon > > /Users/apaliw1/opensource/falco... > > OozieProcessMapperTest.testBundle1:191 ? Falcon > > /Users/apaliw1/opensource/falc... > > > > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0 > > > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Reactor Summary: > > [INFO] > > [INFO] Build Tools ....................................... SUCCESS > [1.934s] > > [INFO] Apache Falcon ..................................... SUCCESS > [13.647s] > > [INFO] Apache Falcon CLI client .......................... SUCCESS > [26.395s] > > [INFO] Apache Falcon Metrics ............................. SUCCESS > [9.156s] > > [INFO] Apache Falcon Test Utility ........................ SUCCESS > [8.182s] > > [INFO] Apache Falcon Commons ............................. SUCCESS > > [1:39.588s] > > [INFO] Apache Falcon Messaging ........................... SUCCESS > [24.378s] > > [INFO] Apache Falcon Oozie Adaptor ....................... SUCCESS > [22.041s] > > [INFO] Apache Falcon Feed ................................ SUCCESS > [15.857s] > > [INFO] Apache Falcon Process ............................. FAILURE > [6.187s] > > [INFO] Apache Falcon Acquisition ......................... SKIPPED > > [INFO] Apache Falcon Replication ......................... SKIPPED > > [INFO] Apache Falcon Retention ........................... SKIPPED > > [INFO] Apache Falcon Archival ............................ SKIPPED > > [INFO] Apache Falcon Rerun ............................... SKIPPED > > [INFO] Apache Falcon Prism ............................... SKIPPED > > [INFO] Apache Falcon Web Application ..................... SKIPPED > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 3:47.784s > > [INFO] Finished at: Tue Jul 09 10:42:13 GMT+05:30 2013 > > [INFO] Final Memory: 37M/88M > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-surefire-plugin:2.14:test (default-test) > on > > project falcon-process: There are test failures. > > [ERROR] > > [ERROR] Please refer to > > > /Users/apaliw1/opensource/falcon/incubator-falcon/process/target/surefire-reports > > for the individual test results. > > [ERROR] -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e > > switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > > please read the following articles: > > [ERROR] [Help 1] > > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > > [ERROR] > > [ERROR] After correcting the problems, you can resume the build with the > > command > > [ERROR] mvn <goals> -rf :falcon-process > > > > > > -- > > thanks > > ashish > > > > Blog: http://www.ashishpaliwal.com/blog > > My Photo Galleries: http://www.pbase.com/ashishpaliwal > > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal
