Please help, I try to build titan using command "mvn clean test -P comprehensive", but encounter exception as follow :
com.thinkaurelius.titan.diskstorage.TemporaryStorageException: Cassandra process failed to bind Thrift-port within timeout. at com.thinkaurelius.titan.diskstorage.cassandra.CassandraProcessStarter.start Cassandra(CassandraProcessStarter.java:164) at com.thinkaurelius.titan.blueprints.ExternalCassandraBlueprintsTest.startUp( ExternalCassandraBlueprintsTest.java:21) at com.thinkaurelius.titan.blueprints.LocalBlueprintsTest.doTestSuite(LocalBlu eprintsTest.java:117) at com.thinkaurelius.titan.blueprints.LocalBlueprintsTest.testGraphTestSuite(L ocalBlueprintsTest.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:8 3) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java :236) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provid er.java:134) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java: 113) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Reflec tionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Provi derFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFac tory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBoot er.java:103) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Please help, I try to build titan using command "mvn clean test -P comprehensive", but encounter exception as follow :
> com.thinkaurelius.titan.diskstorage.TemporaryStorageException: Cassandra process failed to bind Thrift-port within timeout.
> at com.thinkaurelius.titan.diskstorage.cassandra.CassandraProcessStarter.start Cassandra(CassandraProcessStarter.java:164)
> at com.thinkaurelius.titan.blueprints.ExternalCassandraBlueprintsTest.startUp( ExternalCassandraBlueprintsTest.java:21)
> at com.thinkaurelius.titan.blueprints.LocalBlueprintsTest.doTestSuite(LocalBlu eprintsTest.java:117)
> at com.thinkaurelius.titan.blueprints.LocalBlueprintsTest.testGraphTestSuite(L ocalBlueprintsTest.java:44)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 9)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:232)
> at junit.framework.TestSuite.run(TestSuite.java:227)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:8 3)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java :236)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provid er.java:134)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java: 113)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 9)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Reflec tionUtils.java:189)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Provi derFactory.java:165)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFac tory.java:85)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBoot er.java:103)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> On Oct 1, 2012, at 9:02 PM, Apirom Na Nakorn wrote:
> Hello,
> Please help, I try to build titan using command "mvn clean test -P
> comprehensive", but encounter exception as follow :
> com.thinkaurelius.titan.diskstorage.TemporaryStorageException: Cassandra
> process failed to bind Thrift-port within timeout.
> at
> com.thinkaurelius.titan.diskstorage.cassandra.CassandraProcessStarter.start Cassandra(CassandraProcessStarter.java:164)
> at
> com.thinkaurelius.titan.blueprints.ExternalCassandraBlueprintsTest.startUp( ExternalCassandraBlueprintsTest.java:21)
> at
> com.thinkaurelius.titan.blueprints.LocalBlueprintsTest.doTestSuite(LocalBlu eprintsTest.java:117)
> at
> com.thinkaurelius.titan.blueprints.LocalBlueprintsTest.testGraphTestSuite(L ocalBlueprintsTest.java:44)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 9)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:232)
> at junit.framework.TestSuite.run(TestSuite.java:227)
> at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:8 3)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java :236)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provid er.java:134)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java: 113)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 9)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Reflec tionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Provi derFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFac tory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBoot er.java:103)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
- OS : Window XP => I need to modify variable "cassandraCommand" in CassandraProcessStarter class to be "cassandra.bat"
Everything works perfectly with "mvn clean install". What if I modify something in Titan and would like to make sure that every function work properly, runing "mvn clean install: is enough ?
Now, I just start Cassandra separately and modify code in CassandraProcessStarter not to start/stop Cassandra and run the test again. Still waiting for the build result
> On Oct 1, 2012, at 9:02 PM, Apirom Na Nakorn wrote:
> Hello,
> Please help, I try to build titan using command "mvn clean test -P > comprehensive", but encounter exception as follow :
> com.thinkaurelius.titan.diskstorage.TemporaryStorageException: Cassandra > process failed to bind Thrift-port within timeout. > at > com.thinkaurelius.titan.diskstorage.cassandra.CassandraProcessStarter.start Cassandra(CassandraProcessStarter.java:164) > at > com.thinkaurelius.titan.blueprints.ExternalCassandraBlueprintsTest.startUp( ExternalCassandraBlueprintsTest.java:21) > at > com.thinkaurelius.titan.blueprints.LocalBlueprintsTest.doTestSuite(LocalBlu eprintsTest.java:117) > at > com.thinkaurelius.titan.blueprints.LocalBlueprintsTest.testGraphTestSuite(L ocalBlueprintsTest.java:44) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 9) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at junit.framework.TestCase.runTest(TestCase.java:168) > at junit.framework.TestCase.runBare(TestCase.java:134) > at junit.framework.TestResult$1.protect(TestResult.java:110) > at junit.framework.TestResult.runProtected(TestResult.java:128) > at junit.framework.TestResult.run(TestResult.java:113) > at junit.framework.TestCase.run(TestCase.java:124) > at junit.framework.TestSuite.runTest(TestSuite.java:232) > at junit.framework.TestSuite.run(TestSuite.java:227) > at > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:8 3) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java :236) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provid er.java:134) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java: 113) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 9) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(Reflec tionUtils.java:189) > at > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(Provi derFactory.java:165) > at > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFac tory.java:85) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBoot er.java:103) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
it sounds like there is a problem in starting the external cassandra
process on windows. If mvn clean install works for you that means starting
cassandra in the same jvm works fine. All of the important functionality is
covered by "mvn clean install" with the exception of HBase (because that
currently requires an external process for hbase). With the comprehensive
test suite you get Hbase coverage and additional performance tests.
I don't have a windows box to figure out why the process won't start under
windows. Does anybody have the means to test this out?
Thanks,
Matthias
On Tue, Oct 2, 2012 at 10:11 PM, Apirom Na Nakorn <apir...@gmail.com> wrote:
> - OS : Window XP => I need to modify variable "cassandraCommand"
> in CassandraProcessStarter class to be "cassandra.bat"
> Everything works perfectly with "mvn clean install". What if I modify
> something in Titan and would like to make sure that every function work
> properly, runing "mvn clean install: is enough ?
> Now, I just start Cassandra separately and modify code
> in CassandraProcessStarter not to start/stop Cassandra and run the test
> again. Still waiting for the build result
> Thank you
> Best Regards
> Mr.Apirom Na Nakorn
> On Tuesday, October 2, 2012 9:48:46 PM UTC+7, Marko Rodriguez wrote:
>> Hi,
>> Do you have a local version of Cassandra running (and the correct version
>> of Cassandra)?
>> ~$ cassandra -f
>> titan$ mvn clean install
>> Moreover, "comprehensive" takes a significant amount of time. You might
>> be better off with simply 'mvn clean install.'
>> On Oct 1, 2012, at 9:02 PM, Apirom Na Nakorn wrote:
>> Hello,
>> Please help, I try to build titan using command "mvn clean test -P
>> comprehensive", but encounter exception as follow :
>> com.thinkaurelius.titan.**diskstorage.**TemporaryStorageException:
>> Cassandra process failed to bind Thrift-port within timeout.
>> at com.thinkaurelius.titan.**diskstorage.cassandra.**
>> CassandraProcessStarter.**startCassandra(**CassandraProcessStarter.java:*
>> *164)
>> at com.thinkaurelius.titan.**blueprints.**
>> ExternalCassandraBlueprintsTes**t.startUp(**
>> ExternalCassandraBlueprintsTes**t.java:21)
>> at com.thinkaurelius.titan.**blueprints.**LocalBlueprintsTest.**
>> doTestSuite(**LocalBlueprintsTest.java:117)
>> at com.thinkaurelius.titan.**blueprints.**LocalBlueprintsTest.**
>> testGraphTestSuite(**LocalBlueprintsTest.java:44)
>> at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native
>> Method)
>> at sun.reflect.**NativeMethodAccessorImpl.**invoke(**
>> NativeMethodAccessorImpl.java:**39)
>> at sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
>> DelegatingMethodAccessorImpl.**java:25)
>> at java.lang.reflect.Method.**invoke(Method.java:597)
>> at junit.framework.TestCase.**runTest(TestCase.java:168)
>> at junit.framework.TestCase.**runBare(TestCase.java:134)
>> at junit.framework.TestResult$1.**protect(TestResult.java:110)
>> at junit.framework.TestResult.**runProtected(TestResult.java:**
>> 128)
>> at junit.framework.TestResult.**run(TestResult.java:113)
>> at junit.framework.TestCase.run(**TestCase.java:124)
>> at junit.framework.TestSuite.**runTest(TestSuite.java:232)
>> at junit.framework.TestSuite.run(**TestSuite.java:227)
>> at org.junit.internal.runners.**JUnit38ClassRunner.run(**
>> JUnit38ClassRunner.java:83)
>> at org.apache.maven.surefire.**junit4.JUnit4Provider.execute(**
>> JUnit4Provider.java:236)
>> at org.apache.maven.surefire.**junit4.JUnit4Provider.**
>> executeTestSet(JUnit4Provider.**java:134)
>> at org.apache.maven.surefire.**junit4.JUnit4Provider.invoke(**
>> JUnit4Provider.java:113)
>> at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native
>> Method)
>> at sun.reflect.**NativeMethodAccessorImpl.**invoke(**
>> NativeMethodAccessorImpl.java:**39)
>> at sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
>> DelegatingMethodAccessorImpl.**java:25)
>> at java.lang.reflect.Method.**invoke(Method.java:597)
>> at org.apache.maven.surefire.**util.ReflectionUtils.**
>> invokeMethodWithArray(**ReflectionUtils.java:189)
>> at org.apache.maven.surefire.**booter.ProviderFactory$**
>> ProviderProxy.invoke(**ProviderFactory.java:165)
>> at org.apache.maven.surefire.**booter.ProviderFactory.**
>> invokeProvider(**ProviderFactory.java:85)
>> at org.apache.maven.surefire.**booter.ForkedBooter.**
>> runSuitesInProcess(**ForkedBooter.java:103)
>> at org.apache.maven.surefire.**booter.ForkedBooter.main(**
>> ForkedBooter.java:74)
On Wednesday, October 3, 2012 3:21:06 PM UTC+7, Matthias wrote:
> Hey Apirom,
> it sounds like there is a problem in starting the external cassandra > process on windows. If mvn clean install works for you that means starting > cassandra in the same jvm works fine. All of the important functionality is > covered by "mvn clean install" with the exception of HBase (because that > currently requires an external process for hbase). With the comprehensive > test suite you get Hbase coverage and additional performance tests.
> I don't have a windows box to figure out why the process won't start under > windows. Does anybody have the means to test this out? > Thanks, > Matthias
> On Tue, Oct 2, 2012 at 10:11 PM, Apirom Na Nakorn <api...@gmail.com<javascript:> > > wrote:
>> Hi,
>> I run maven with the following environment:
>> - Apache Cassandra 1.1.3
>> - OS : Window XP => I need to modify variable "cassandraCommand" >> in CassandraProcessStarter class to be "cassandra.bat"
>> Everything works perfectly with "mvn clean install". What if I modify >> something in Titan and would like to make sure that every function work >> properly, runing "mvn clean install: is enough ?
>> Now, I just start Cassandra separately and modify code >> in CassandraProcessStarter not to start/stop Cassandra and run the test >> again. Still waiting for the build result
>> Thank you
>> Best Regards
>> Mr.Apirom Na Nakorn
>> On Tuesday, October 2, 2012 9:48:46 PM UTC+7, Marko Rodriguez wrote:
>>> Hi,
>>> Do you have a local version of Cassandra running (and the correct >>> version of Cassandra)?
>>> ~$ cassandra -f >>> titan$ mvn clean install
>>> Moreover, "comprehensive" takes a significant amount of time. You might >>> be better off with simply 'mvn clean install.'
>>> On Oct 1, 2012, at 9:02 PM, Apirom Na Nakorn wrote:
>>> Hello,
>>> Please help, I try to build titan using command "mvn clean test -P >>> comprehensive", but encounter exception as follow :
>>> com.thinkaurelius.titan.**diskstorage.**TemporaryStorageException: >>> Cassandra process failed to bind Thrift-port within timeout. >>> at com.thinkaurelius.titan.**diskstorage.cassandra.** >>> CassandraProcessStarter.**startCassandra(**CassandraProcessStarter.java: >>> **164) >>> at com.thinkaurelius.titan.**blueprints.** >>> ExternalCassandraBlueprintsTes**t.startUp(** >>> ExternalCassandraBlueprintsTes**t.java:21) >>> at com.thinkaurelius.titan.**blueprints.**LocalBlueprintsTest.** >>> doTestSuite(**LocalBlueprintsTest.java:117) >>> at com.thinkaurelius.titan.**blueprints.**LocalBlueprintsTest.** >>> testGraphTestSuite(**LocalBlueprintsTest.java:44) >>> at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native >>> Method) >>> at sun.reflect.**NativeMethodAccessorImpl.**invoke(** >>> NativeMethodAccessorImpl.java:**39) >>> at sun.reflect.**DelegatingMethodAccessorImpl.**invoke(** >>> DelegatingMethodAccessorImpl.**java:25) >>> at java.lang.reflect.Method.**invoke(Method.java:597) >>> at junit.framework.TestCase.**runTest(TestCase.java:168) >>> at junit.framework.TestCase.**runBare(TestCase.java:134) >>> at junit.framework.TestResult$1.**protect(TestResult.java:110) >>> at junit.framework.TestResult.**runProtected(TestResult.java:** >>> 128) >>> at junit.framework.TestResult.**run(TestResult.java:113) >>> at junit.framework.TestCase.run(**TestCase.java:124) >>> at junit.framework.TestSuite.**runTest(TestSuite.java:232) >>> at junit.framework.TestSuite.run(**TestSuite.java:227) >>> at org.junit.internal.runners.**JUnit38ClassRunner.run(** >>> JUnit38ClassRunner.java:83) >>> at org.apache.maven.surefire.**junit4.JUnit4Provider.execute(** >>> JUnit4Provider.java:236) >>> at org.apache.maven.surefire.**junit4.JUnit4Provider.** >>> executeTestSet(JUnit4Provider.**java:134) >>> at org.apache.maven.surefire.**junit4.JUnit4Provider.invoke(** >>> JUnit4Provider.java:113) >>> at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native >>> Method) >>> at sun.reflect.**NativeMethodAccessorImpl.**invoke(** >>> NativeMethodAccessorImpl.java:**39) >>> at sun.reflect.**DelegatingMethodAccessorImpl.**invoke(** >>> DelegatingMethodAccessorImpl.**java:25) >>> at java.lang.reflect.Method.**invoke(Method.java:597) >>> at org.apache.maven.surefire.**util.ReflectionUtils.** >>> invokeMethodWithArray(**ReflectionUtils.java:189) >>> at org.apache.maven.surefire.**booter.ProviderFactory$** >>> ProviderProxy.invoke(**ProviderFactory.java:165) >>> at org.apache.maven.surefire.**booter.ProviderFactory.** >>> invokeProvider(**ProviderFactory.java:85) >>> at org.apache.maven.surefire.**booter.ForkedBooter.** >>> runSuitesInProcess(**ForkedBooter.java:103) >>> at org.apache.maven.surefire.**booter.ForkedBooter.main(** >>> ForkedBooter.java:74)