Hi all,

I've seen a few other people asking about this around the internet (eg. 
http://www.mail-archive.com/google-appengine@googlegroups.com/msg34608.html, 
http://markmail.org/message/o35btiibcsqurenv) but it appears that no one has 
got to the bottom of it yet.

I need to use the bulkloader to load a largish file (14.4Mb), the 
configuration works ok as sometimes I will be able to load the file 
successfully, but more often that not I get the UnknownJavaServerError shown 
in the log file below... which really doesn't tell me anything. I've tried 
reducing and increasing the batch size (set to 100 in log below), but that 
doesn't seem to have any impact. 

Could anyone please explain the inconsistent behaviour, and suggest a 
solution?

Many thanks,
Mark


Uploading data records.
[INFO    ] Logging to bulkloader-log-20110716.140518
[INFO    ] Throttling transfers:
[INFO    ] Bandwidth: 250000 bytes/second
[INFO    ] HTTP connections: 8/second
[INFO    ] Entities inserted/fetched/modified: 20/second
[INFO    ] Batch Size: 100
[INFO    ] Opening database: bulkloader-progress-20110716.140518.sql3
[INFO    ] Connecting to localhost:8080/remote_api
[INFO    ] Starting import; maximum 100 entities per post
Password for marknuttallsm...@gmail.com: .[INFO    ] [WorkerThread-0] 
Backing off due to errors: 1.0 seconds
.[INFO    ] Resetting backoff to 0.0
..................................................................................................................................[ERROR
   
] [WorkerThread-2] WorkerThread:
Traceback (most recent call last):
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/adaptive_thread_pool.py",
 
line 176, in WorkOnItems
    status, instruction = item.PerformWork(self.__thread_pool)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
 
line 764, in PerformWork
    transfer_time = self._TransferItem(thread_pool)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
 
line 935, in _TransferItem
    self.request_manager.PostEntities(self.content)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/bulkloader.py",
 
line 1418, in PostEntities
    datastore.Put(entities)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/datastore.py",
 
line 467, in Put
    return PutAsync(entities, **kwargs).get_result()
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/datastore/datastore_rpc.py",
 
line 658, in get_result
    results = self.__rpcs[0].get_result()
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/apiproxy_stub_map.py",
 
line 592, in get_result
    return self.__get_result_hook(self)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/datastore/datastore_rpc.py",
 
line 1385, in __put_hook
    self.check_rpc_success(rpc)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/datastore/datastore_rpc.py",
 
line 1072, in check_rpc_success
    rpc.check_success()
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/apiproxy_stub_map.py",
 
line 558, in check_success
    self.__rpc.CheckSuccess()
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/apiproxy_rpc.py",
 
line 156, in _WaitImpl
    self.request, self.response)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py",
 
line 249, in MakeSyncCall
    handler(request, response)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py",
 
line 387, in _Dynamic_Put
    'datastore_v3', 'Put', put_request, put_response)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py",
 
line 178, in MakeSyncCall
    self._MakeRealSyncCall(service, call, request, response)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py",
 
line 200, in _MakeRealSyncCall
    raise UnknownJavaServerError("An unknown error has occured in the "
UnknownJavaServerError: An unknown error has occured in the Java remote_api 
handler for this call.



-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/fAIGyqI0L8UJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to