i.related = i.related.replace(':','.').replace('\n','')

the columnpath i replace colons and newlines

"최진실 이혼";"최진실 이혼";1358458;"2008-10-03 23:53:03.064976";1

this the value that causes errors

On Sun, Jul 19, 2009 at 1:20 AM, <mobiledreamers@gmail.com> wrote:
Has anyone else encountered this - how do we alleviate this thanks?

97 tom and jerry show download tom and jerry  download zipped cartoon 1
insert took u'tom and jerry  download zipped cartoon' 0.0187880992889  seconds
98 ìµì§
       ì¤ ìì§
             ì¤ ì
                 Traceback (most recent call last):
  File "poprelated.py", line 16, in <module>
    client.insert('Table1', i.search, 'Super1:Related:%s'%(i.related), pickle.dumps(dict(count=i.count)),timestamp,0)
  File "/home/mark/work/common/cassandra/Cassandra.py", line 363, in insert
    self.recv_insert()
  File "/home/mark/work/common/cassandra/Cassandra.py", line 384, in recv_insert
    raise x
thrift.Thrift.TApplicationException: Internal error processing insert

 at org.apache.cassandra.service.CassandraServer.insert(CassandraServer.java:269)
        at org.apache.cassandra.service.Cassandra$Processor$insert.process(Cassandra.java:948)
        at org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:817)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:252)
        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)
DEBUG - Disseminating load info ...
DEBUG - Constructing range to endpoint map ...
DEBUG - Done constructing range to endpoint map ...

113.184:7000
DEBUG - insert
ERROR - Internal error processing insert
java.lang.NullPointerException
        at org.apache.cassandra.db.RowMutation.getColumnAndColumnFamily(RowMutation.java:103)
        at org.apache.cassandra.service.ThriftValidation.validateColumnPath(ThriftValidation.java:61)
        at org.apache.cassandra.service.CassandraServer.insert(CassandraServer.java:269)
        at org.apache.cassandra.service.Cassandra$Processor$insert.process(Cassandra.java:948)
        at org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:817)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:252)
        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)
DEBUG - Disseminating load info ...
DEBUG - Constructing range to endpoint map ...
DEBUG - Done constructing range to endpoint map ...
--
Bidegg worlds best auction site
http://bidegg.com



--
Bidegg worlds best auction site
http://bidegg.com