Check the wiki. It has instructions for all this. On Jul 27, 2013 7:12 AM, "Russell Jurney" <[email protected]> wrote:
> I'm able to build Whirr and get it running with this command: mvn clean > install -Dmaven.test.failure.ignore=true -Dcheckstyle.skip > > Now I need to figure out how to parametize the integration tests > (environment variabless $WHIRR_IDENTITY, etc. aren't working), and make > check style fixes. Anyone know how to make check style fixes? > > > On Fri, Jul 26, 2013 at 7:56 PM, Russell Jurney > <[email protected]>wrote: > >> Looks like I needed to 'mvn install', which gets me this: >> >> Results : >> >> Tests in error: >> >> testEmptyInstanceTemplates(org.apache.whirr.actions.CleanupClusterActionTest) >> >> testActionIsExecutedOnAllRelevantNodes(org.apache.whirr.actions.CleanupClusterActionTest) >> >> testFilterScriptExecutionByRole(org.apache.whirr.actions.CleanupClusterActionTest) >> >> testFilterScriptExecutionByInstanceId(org.apache.whirr.actions.CleanupClusterActionTest) >> >> testFilterScriptExecutionByRoleAndInstanceId(org.apache.whirr.actions.CleanupClusterActionTest) >> >> testNoScriptExecutionsForNoop(org.apache.whirr.actions.CleanupClusterActionTest) >> >> testEmptyInstanceTemplates(org.apache.whirr.actions.ConfigureServicesActionTest) >> >> testActionIsExecutedOnAllRelevantNodes(org.apache.whirr.actions.ConfigureServicesActionTest) >> >> testFilterScriptExecutionByRole(org.apache.whirr.actions.ConfigureServicesActionTest) >> >> testFilterScriptExecutionByInstanceId(org.apache.whirr.actions.ConfigureServicesActionTest) >> >> testFilterScriptExecutionByRoleAndInstanceId(org.apache.whirr.actions.ConfigureServicesActionTest) >> >> testNoScriptExecutionsForNoop(org.apache.whirr.actions.ConfigureServicesActionTest) >> >> testEmptyInstanceTemplates(org.apache.whirr.actions.StartServicesActionTest) >> >> testActionIsExecutedOnAllRelevantNodes(org.apache.whirr.actions.StartServicesActionTest) >> >> testFilterScriptExecutionByRole(org.apache.whirr.actions.StartServicesActionTest) >> >> testFilterScriptExecutionByInstanceId(org.apache.whirr.actions.StartServicesActionTest) >> >> testFilterScriptExecutionByRoleAndInstanceId(org.apache.whirr.actions.StartServicesActionTest) >> >> testNoScriptExecutionsForNoop(org.apache.whirr.actions.StartServicesActionTest) >> >> testEmptyInstanceTemplates(org.apache.whirr.actions.StopServicesActionTest) >> >> testActionIsExecutedOnAllRelevantNodes(org.apache.whirr.actions.StopServicesActionTest) >> >> testFilterScriptExecutionByRole(org.apache.whirr.actions.StopServicesActionTest) >> >> testFilterScriptExecutionByInstanceId(org.apache.whirr.actions.StopServicesActionTest) >> >> testFilterScriptExecutionByRoleAndInstanceId(org.apache.whirr.actions.StopServicesActionTest) >> >> testNoScriptExecutionsForNoop(org.apache.whirr.actions.StopServicesActionTest) >> >> >> On Fri, Jul 26, 2013 at 7:34 PM, Russell Jurney <[email protected] >> > wrote: >> >>> After building Whirr from source via 'mvn package': >>> >>> $ bin/whirr launch-cluster --config recipes/zookeeper-ec2.properties >>> --private-key-file ~/.ssh/id_rsa_whirr >>> Exception in thread "main" java.lang.NoClassDefFoundError: >>> org/apache/whirr/cli/Main >>> Caused by: java.lang.ClassNotFoundException: org.apache.whirr.cli.Main >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:202) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:190) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247) >>> >>> Any ideas? >>> >>> -- >>> Russell Jurney twitter.com/rjurney [email protected] datasyndrome >>> .com >>> >> >> >> >> -- >> Russell Jurney twitter.com/rjurney [email protected] datasyndrome. >> com >> > > > > -- > Russell Jurney twitter.com/rjurney [email protected] datasyndrome. > com >
