Re: Other problem in update

2012-11-28 Thread Everton Lima
The problens was that my unit tests are not cleaning up their data
directory and there is some corrupt data in there.
The problem was fixed by del the directory manualy.

Thanks

2012/11/27 Tupshin Harper tups...@tupshin.com

 Unless I'm misreading the git history, the stack trace you referenced
 isn't from 1.1.2. In particular, the writeHintForMutation method in
 StorageProxy.java wasn't added to the codebase until September 9th (
 https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=commitdiff;h=b38ca2879cf1cbf5de17e1912772b6588eaa7de6),
 and wasn't part of any release until 1.2.0-beta1.

 -Tupshin

 On Tue, Nov 27, 2012 at 7:40 AM, Everton Lima peitin.inu...@gmail.comwrote:

 writeHintForMutation





-- 

Everton Lima Aleixo
Bacharel em Ciencia da Computação
Universidade Federal de Goiás


Re: Other problem in update

2012-11-27 Thread Edward Capriolo
I am just taking a stab at this one. UUID's interact with system time and
maybe your real time os is doing something funky there. The other option,
which seems more likely, is that your unit tests are not cleaning up their
data directory and there is some corrupt data in there.

On Tue, Nov 27, 2012 at 7:40 AM, Everton Lima peitin.inu...@gmail.comwrote:

 People, when i try to execute my program that use
 EmbeddedCassandraService, with the version 1.1.2 of cassandra in OpenSuse
 Real Time operation system it is throwing the follow exception:


 [27/11/12 10:27:28,314 BRST] ERROR service.CassandraDaemon: Exception in
 thread Thread[MutationStage:20,5,main]
 java.lang.NullPointerException
 at org.apache.cassandra.utils.UUIDGen.decompose(UUIDGen.java:96)
 at
 org.apache.cassandra.cql.jdbc.JdbcUUID.decompose(JdbcUUID.java:55)
 at
 org.apache.cassandra.db.marshal.UUIDType.decompose(UUIDType.java:187)
 at
 org.apache.cassandra.db.RowMutation.hintFor(RowMutation.java:107)
 at
 org.apache.cassandra.service.StorageProxy.writeHintForMutation(StorageProxy.java:582)
 at
 org.apache.cassandra.service.StorageProxy$5.runMayThrow(StorageProxy.java:557)
 at
 org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:636)

 When I try to execute the same program in Ubuntu 12.04 the program starts
 without ERRORS.
 Someone could help me??

 --

 Everton Lima Aleixo
 Bacharel em Ciencia da Computação
 Universidade Federal de Goiás



Re: Other problem in update

2012-11-27 Thread Tupshin Harper
Unless I'm misreading the git history, the stack trace you referenced isn't
from 1.1.2. In particular, the writeHintForMutation method in
StorageProxy.java wasn't added to the codebase until September 9th (
https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=commitdiff;h=b38ca2879cf1cbf5de17e1912772b6588eaa7de6),
and wasn't part of any release until 1.2.0-beta1.

-Tupshin

On Tue, Nov 27, 2012 at 7:40 AM, Everton Lima peitin.inu...@gmail.comwrote:

 writeHintForMutation