问题
I just faced a problem with writing data to Google Cloud Storage using AppEngine FileService.
The problem is timeout related as I think. I created new GS file and write data to it using Tasks. Every task closes FileWriteChannel with close(). But closeFinally() is called in about 2 hours after last write (It is required by my DataFlow). So I do not see any file in GS.
Is it any timeoute between last write and closeFinally()?
回答1:
There is no timeout between calls to close() and closeFinally() but you must finalize the upload with a call to closeFinally() within a few days after starting the upload with createNewGSFile().
来源:https://stackoverflow.com/questions/12764269/google-file-service-closefinally-timeout