Hi Fang, I followed below steps:
1. I downloaded the code from https://github.com/apache/samza.git, cloned to desktop. 2. "cd" into code directory 3. Ran "gradle -b bootstrap.gradle" 4. then tried below two ways, it doesn't work in either a. gradlew -PscalaVersion=2.10 clean build b. gradlew clean build while running tests for samza-core that build is failing while execuitng samza-core:test task. And below is the error message what I am receiving... ============================================================================== 1 warning :samza-autoscaling_2.10:javadoc :samza-autoscaling_2.10:javadocJar :samza-autoscaling_2.10:sourcesJar :samza-autoscaling_2.10:signArchives SKIPPED :samza-autoscaling_2.10:assemble :samza-autoscaling_2.10:checkstyleMain :samza-autoscaling_2.10:compileTestJava UP-TO-DATE :samza-autoscaling_2.10:compileTestScala UP-TO-DATE :samza-autoscaling_2.10:processTestResources UP-TO-DATE :samza-autoscaling_2.10:testClasses UP-TO-DATE :samza-autoscaling_2.10:checkstyleTest UP-TO-DATE :samza-autoscaling_2.10:test UP-TO-DATE :samza-autoscaling_2.10:check :samza-autoscaling_2.10:build :samza-core_2.10:javadocJar :samza-core_2.10:sourcesJar :samza-core_2.10:signArchives SKIPPED :samza-core_2.10:assemble :samza-core_2.10:checkstyleMain :samza-core_2.10:compileTestJava Note: C:\Users\z013sqm\Desktop\POCs\samza1 - Copy\samza-core\src\test\java\org\apache\samza\coordinator\stream\TestCoordinatorStreamWriter.java uses unchecked or unsafe operat ions. Note: Recompile with -Xlint:unchecked for details. :samza-core_2.10:compileTestScala [ant:scalac] Element samza1 - Copy\samza-core\build\resources\main' does not exist. :samza-core_2.10:processTestResources :samza-core_2.10:testClasses :samza-core_2.10:checkstyleTest :samza-core_2.10:test testCanReadPropertiesConfigFiles FAILED java.lang.IllegalArgumentException: Illegal character in authority at index 7: file://samza1 - Copy\samza-core/src/test/resources/test.proper ties at java.net.URI.create(URI.java:859) at org.apache.samza.config.factories.TestPropertiesConfigFactory.testCanReadPropertiesConfigFiles(TestPropertiesConfigFactory.scala:34) Caused by: java.net.URISyntaxException: Illegal character in authority at index 7: file://samza1 - Copy\samza-core/src/test/resources/test.propertie s at java.net.URI$Parser.fail(URI.java:2829) at java.net.URI$Parser.parseAuthority(URI.java:3167) at java.net.URI$Parser.parseHierarchical(URI.java:3078) at java.net.URI$Parser.parse(URI.java:3034) at java.net.URI.<init>(URI.java:595) at java.net.URI.create(URI.java:857) ... 1 more testStorageEngineReceivedAllValues FAILED org.junit.ComparisonFailure: expected:<[/tmp/testing/state/testStore/]Partition_1> but was:<[\tmp\testing\state\testStore\]Partition_1> at org.junit.Assert.assertEquals(Assert.java:123) at org.junit.Assert.assertEquals(Assert.java:145) at org.apache.samza.storage.TestStorageRecovery.testStorageEngineReceivedAllValues(TestStorageRecovery.java:84) 150 tests completed, 3 failed, 1 skipped :samza-core_2.10:test FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':samza-core_2.10:test'. > There were failing tests. See the report at: > file:///samza1%20-%20Copy/samza-core/build/reports/tests/index.html * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED ============================================================================== Please guide me what I am doing wrong!! Also, please suggest me some document, where we can get build steps... Regards, Raja Mahesh Aravapalli. -----Original Message----- From: Yan Fang [mailto:yanfang...@gmail.com] Sent: Monday, August 24, 2015 8:10 PM To: dev@samza.apache.org Subject: Re: SAMZA build failing!!! Hi Raja, Do you only run samza-core or the whole samza project? I downloaded the samza from master branch and run ./gradlew clean build. There is no error. Could you give a little more information how you get this error? Thanks, Fang, Yan yanfang...@gmail.com On Mon, Aug 24, 2015 at 9:54 AM, Raja.Aravapalli <raja.aravapa...@target.com > wrote: > Hi, > > > I was n't able to build SAMZA to execute the Samza jobs. > > > Receiving below exception while executing samza-core_2.10. > > I checkedout the "master" branch from > https://github.com/apache/samza.git > and trying to build!! > > ================================================================ > > * What went wrong: > Execution failed for task ':samza-core_2.10:test'. > > > :samza-core_2.10:processTestResources > :samza-core_2.10:testClasses > :samza-core_2.10:checkstyleTest > :samza-core_2.10:test > > testCanReadPropertiesConfigFiles FAILED > java.lang.IllegalArgumentException: Illegal character in authority > at index 7: file://samza1\samza-core/src/test/resources/test.properties > at java.net.URI.create(URI.java:859) > at > org.apache.samza.config.factories.TestPropertiesConfigFactory.testCanR > eadPropertiesConfigFiles(TestPropertiesConfigFactory.scala:34) > > Caused by: > java.net.URISyntaxException: Illegal character in authority at > index 7: file://samza1\samza-core/src/test/resources/test.properties > at java.net.URI$Parser.fail(URI.java:2829) > at java.net.URI$Parser.parseAuthority(URI.java:3167) > at java.net.URI$Parser.parseHierarchical(URI.java:3078) > at java.net.URI$Parser.parse(URI.java:3034) > at java.net.URI.<init>(URI.java:595) > at java.net.URI.create(URI.java:857) > ... 1 more > > > ================================================================ > > > Can someone please help me fix this. Thank you. > > > Regards, > Raja Mahesh Aravapalli. > >