snd297 / braintrust

Automatically exported from code.google.com/p/braintrust
0 stars 0 forks source link

Error adding annotations. #483

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Adding 80000 annotations to I014_P001_D02, 5000 at a time

What is the expected output? What do you see instead?
It will intermittently fail randomly with the error msg below. It has also 
completed successfully before. Is there a solution to this or is it just too 
high of a load?

Please provide any additional information below.

Java exception occurred:
edu.upenn.cis.db.mefview.services.IeegWsRemoteAppException: The server 
responded with 500 Internal Server Error. If
reporting the error please include the following: Error code: 
[TimeSeries.InternalError], Error message: [An error
occured on the server], host: [ip-10-194-23-47], error id: 
[4dea6c07-828d-437d-a2c7-b5d383e2143f].
    at edu.upenn.cis.db.mefview.services.IeegWsExceptionInterceptor.handle(IeegWsExceptionInterceptor.java:45)
    at
 edu.upenn.cis.db.mefview.internal.org.jboss.resteasy.client.core.extractors.ClientErrorHandler.clientErrorHandling(ClientErrorHandler.java:49)
    at
 edu.upenn.cis.db.mefview.internal.org.jboss.resteasy.client.core.extractors.BodyEntityExtractor.extractEntity(BodyEntityExtractor.java:43)
    at edu.upenn.cis.db.mefview.internal.org.jboss.resteasy.client.core.ClientInvoker.invoke(ClientInvoker.java:125)
    at edu.upenn.cis.db.mefview.internal.org.jboss.resteasy.client.core.ClientProxy.invoke(ClientProxy.java:88)
    at $Proxy151.addAnnotationsToDataSnapshot(Unknown Source)
    at
 edu.upenn.cis.db.mefview.services.TimeSeriesInterface.addAnnotationsToDataSnapshot(TimeSeriesInterface.java:1078)

Error in standalone_spike_keating (line 102)
            spikeLayer.add(spikeAnn(startIdx:min(startIdx+5000,numAnnot)));

Error in run_detections_vespa (line 30)
        standalone_spike_keating(session.data(i),'spike_detections',120,1:numel(session.data(i).channels),0,spikethres(i),200,100); 

Thanks,
Hoameng

Original issue reported on code.google.com by nem...@gmail.com on 20 May 2014 at 4:04

GoogleCodeExporter commented 9 years ago
There was a limit of 100,000 annotations allowed on a dataset. The viewer 
seemed to be performing okay with 98,094 annotations, so I just upped the limit 
to 200,000. 

The viewer will have a limit, but we'll have to see what it really is - 100,000 
was a conservative guess. 

Also, the error message should be better. 

Original comment by samd.p...@gmail.com on 20 May 2014 at 4:16