Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random error: java.io.IOException: mark/reset #11

Open
GoogleCodeExporter opened this issue Dec 14, 2015 · 0 comments
Open

Random error: java.io.IOException: mark/reset #11

GoogleCodeExporter opened this issue Dec 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. calling bigquery.insert with local csv file
2.
3.

What is the expected output? What do you see instead?

java.lang.RuntimeException: java.io.IOException: mark/reset not supported
    at com.google.api.client.googleapis.MediaExponentialBackOffPolicy.getNextBackOffMillis(MediaExponentialBackOffPolicy.java:58)
    at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:833)
    at com.google.api.client.googleapis.MediaHttpUploader.upload(MediaHttpUploader.java:208)
    at com.google.api.services.bigquery.Bigquery$Jobs$Insert.executeUnparsed(Bigquery.java:1419)
    at com.google.api.services.bigquery.Bigquery$Jobs$Insert.execute(Bigquery.java:1441)
    at org.terracotta.bq.BigqueryHandler.upload(BigqueryHandler.java:133)
    at org.terracotta.kit.reflector.BigqueryUploader.doRun(BigqueryUploader.java:62)
    at org.terracotta.kit.reflector.ProcessingThread.run(ProcessingThread.java:21)
Caused by: java.io.IOException: mark/reset not supported
    at java.io.InputStream.reset(InputStream.java:334)
    at com.google.api.client.googleapis.MediaHttpUploader.serverErrorCallback(MediaHttpUploader.java:322)
    at com.google.api.client.googleapis.MediaExponentialBackOffPolicy.getNextBackOffMillis(MediaExponentialBackOffPolicy.java:55)
    ... 7 more


What version of the product are you using? On what operating system?

google-api-services-bigquery-v2-1.4.0-beta

Please provide any additional information below.

It's odd that this IOException happened out of no where when the process has 
been running for days. What's more unexpected that it's wrapped in a 
RuntimeException. 

Original issue reported on code.google.com by [email protected] on 12 Sep 2012 at 6:04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant