Failure logged when working with s3, and seems like operation is stuck

24 views
Skip to first unread message

Shay Banon

unread,
Jul 21, 2010, 5:46:16 PM7/21/10
to jcl...@googlegroups.com
Here is the logged failure, does it make any sense? I am sure that I do provide the correct content length with the InputStream:

Jul 22, 2010 12:44:36 AM com.google.common.io.Closeables close
WARNING: IOException thrown while closing Closeable.
java.io.IOException: insufficient data written
at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.close(HttpURLConnection.java:2666)
at com.google.common.io.Closeables.close(Closeables.java:79)
at com.google.common.io.Closeables.closeQuietly(Closeables.java:98)
at org.jclouds.http.internal.JavaUrlHttpCommandExecutorService.convert(JavaUrlHttpCommandExecutorService.java:222)
at org.jclouds.http.internal.JavaUrlHttpCommandExecutorService.convert(JavaUrlHttpCommandExecutorService.java:63)
at org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.call(BaseHttpCommandExecutorService.java:99)
at org.jclouds.http.internal.BaseHttpCommandExecutorService$HttpResponseCallable.call(BaseHttpCommandExecutorService.java:78)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)

Adrian Cole

unread,
Jul 21, 2010, 6:39:59 PM7/21/10
to jcl...@googlegroups.com
This doesn't make immediate sense, no.  One thing you can do to test this is to try (temporarily) jclouds-apachehc for the engine.  This will narrow it down to a java related transport or not issue.  you can try this by adding the maven dep jclouds-apachehc and use the following creating your context:

new ApacheHCHttpCommandExecutorServiceModule();


Best luck, Shay.

-Adrian

--
You received this message because you are subscribed to the Google Groups "jclouds" group.
To post to this group, send email to jcl...@googlegroups.com.
To unsubscribe from this group, send email to jclouds+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jclouds?hl=en.

Reply all
Reply to author
Forward
0 new messages