com.google.cloud.datastore.DatastoreException

I/O error

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

  • I/O error
  • via Google Groups by Joshua Fox via StackOverflow, 7 months ago
    I/O error
  • via GitHub by Dima1224
    , 10 months ago
    I/O error
  • Stack trace

    • com.google.cloud.datastore.DatastoreException: I/O error at com.google.cloud.datastore.spi.DefaultDatastoreRpc.translate(DefaultDatastoreRpc.java:102) at com.google.cloud.datastore.spi.DefaultDatastoreRpc.lookup(DefaultDatastoreRpc.java:139) at com.google.cloud.datastore.DatastoreImpl$3.call(DatastoreImpl.java:289) at com.google.cloud.datastore.DatastoreImpl$3.call(DatastoreImpl.java:285) at com.google.cloud.RetryHelper.doRetry(RetryHelper.java:179) at com.google.cloud.RetryHelper.runWithRetries(RetryHelper.java:244) at com.google.cloud.datastore.DatastoreImpl.lookup(DatastoreImpl.java:284) at com.google.cloud.datastore.DatastoreImpl$ResultsIterator.loadResults(DatastoreImpl.java:260) at com.google.cloud.datastore.DatastoreImpl$ResultsIterator.<init>(DatastoreImpl.java:256) at com.google.cloud.datastore.DatastoreImpl.get(DatastoreImpl.java:246) at com.google.cloud.datastore.DatastoreImpl.get(DatastoreImpl.java:210) at com.google.cloud.datastore.DatastoreHelper.get(DatastoreHelper.java:47) at com.google.cloud.datastore.DatastoreImpl.get(DatastoreImpl.java:195) at com.spins.google.api.cpl.CustomProductLibrary.getProductInfo(CustomProductLibrary.java:142) at com.spins.google.api.cpl.CustomProductLibrary.getProduct(CustomProductLibrary.java:121) at com.spins.google.api.cpl.CustomProductLibrary.getProduct(CustomProductLibrary.java:116) at com.spins.hdp.sld.data.ProductLibrarySchema.toReportingString(ProductLibrarySchema.java:102) at com.spins.hdp.sld.PrepareStoreLevelData$R.reduceByUpc(PrepareStoreLevelData.java:377) at com.spins.hdp.sld.PrepareStoreLevelData$R.reduce(PrepareStoreLevelData.java:340) at com.spins.hdp.sld.PrepareStoreLevelData$R.reduce(PrepareStoreLevelData.java:1) at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:171) at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:627) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:389) at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657) at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158) Caused by: com.google.datastore.v1beta3.client.DatastoreException: I/O error, code=UNAVAILABLE at com.google.datastore.v1beta3.client.RemoteRpc.makeException(RemoteRpc.java:126) at com.google.datastore.v1beta3.client.RemoteRpc.call(RemoteRpc.java:95) at com.google.datastore.v1beta3.client.Datastore.lookup(Datastore.java:92) at com.google.cloud.datastore.spi.DefaultDatastoreRpc.lookup(DefaultDatastoreRpc.java:137) ... 26 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:170) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) at sun.security.ssl.InputRecord.read(InputRecord.java:503) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930) at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338) at com.google.api.client.http.javanet.NetHttpResponse.<init>(NetHttpResponse.java:37) at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:94) at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:972) at com.google.datastore.v1beta3.client.RemoteRpc.call(RemoteRpc.java:87)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 2 years ago
    5 times, 2 months ago
    Unknown user
    Once, 1 year ago
    Once, 2 months ago
    Unknown user
    Once, 11 months ago
    151 more bugmates