Google File Service closeFinally() timeout

我与影子孤独终老i 提交于 2020-01-04 04:15:19

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!