ì¤ ìì§ ì¤ ì thrift.Thrift.TApplicationException: Internal error processing insert

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ì¤ ìì§ ì¤ ì thrift.Thrift.TApplicationException: Internal error processing insert

mobiledreamers
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ì¤ ìì§ ì¤ ì thrift.Thrift.TApplicationException: Internal error processing insert

mobiledreamers
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, <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ì¤ ìì§ ì¤ ì thrift.Thrift.TApplicationException: Internal error processing insert

mobiledreamers
Any utf-8 keyword causes cassandra to crash!

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ì¤ ìì§ ì¤ ì thrift.Thrift.TApplicationException: Internal error processing insert

Jonathan Ellis-3
That should be partially solved in trunk now that 139 is committed,
and more solved when we commit 185 soon.

On Sun, Jul 19, 2009 at 3:43 AM, <[hidden email]> wrote:
> Any utf-8 keyword causes cassandra to crash!
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ì¤ ìì§ ì¤ ì thrift.Thrift.TApplicationException: Internal error processing insert

mobiledreamers
i upgraded to the latest cassandra

now i get this error

i did git pull on the same dir and did not do anything to the data directory and 
ran ant

DEBUG - insert
ERROR - Internal error processing insert
java.lang.NullPointerException
        at org.apache.cassandra.service.ThriftValidation.validateColumnPath(ThriftValidation.java:61)
        at org.apache.cassandra.service.CassandraServer.insert(CassandraServer.java:262)
        at org.apache.cassandra.service.Cassandra$Processor$insert.process(Cassandra.java:927)
        at org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:796)
        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)


On Sun, Jul 19, 2009 at 6:11 AM, Jonathan Ellis <[hidden email]> wrote:
That should be partially solved in trunk now that 139 is committed,
and more solved when we commit 185 soon.

On Sun, Jul 19, 2009 at 3:43 AM, <[hidden email]> wrote:
> Any utf-8 keyword causes cassandra to crash!
>



--
Bidegg worlds best auction site
http://bidegg.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ì¤ ìì§ ì¤ ì thrift.Thrift.TApplicationException: Internal error processing insert

mobiledreamers
latest trunk, latest thrift still buggy on utf8

if the key and column path and celldata are pickle dumped it works as expected
 client.insert('Table1', pickle.dumps(x.search), ColumnPath('Super1', 'Related', pickle.dumps(x.related)), pickle.dumps(dict(count=1)), time.time(), 0)


On Sun, Jul 19, 2009 at 9:31 AM, <[hidden email]> wrote:
i upgraded to the latest cassandra

now i get this error

i did git pull on the same dir and did not do anything to the data directory and 
ran ant

DEBUG - insert
ERROR - Internal error processing insert
java.lang.NullPointerException
        at org.apache.cassandra.service.ThriftValidation.validateColumnPath(ThriftValidation.java:61)
        at org.apache.cassandra.service.CassandraServer.insert(CassandraServer.java:262)
        at org.apache.cassandra.service.Cassandra$Processor$insert.process(Cassandra.java:927)
        at org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:796)
        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)


On Sun, Jul 19, 2009 at 6:11 AM, Jonathan Ellis <[hidden email]> wrote:
That should be partially solved in trunk now that 139 is committed,
and more solved when we commit 185 soon.

On Sun, Jul 19, 2009 at 3:43 AM, <[hidden email]> wrote:
> Any utf-8 keyword causes cassandra to crash!
>



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



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