[ 
https://issues.apache.org/jira/browse/BEAM-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132479#comment-17132479
 ] 

Beam JIRA Bot commented on BEAM-1209:
-------------------------------------

This issue is assigned but has not received an update in 30 days so it has been 
labeled "stale-assigned". If you are still working on the issue, please give an 
update and remove the label. If you are no longer working on the issue, please 
unassign so someone else may work on it. In 7 days the issue will be 
automatically unassigned.

> GcsUtil can try to execute empty batches in some cases.
> -------------------------------------------------------
>
>                 Key: BEAM-1209
>                 URL: https://issues.apache.org/jira/browse/BEAM-1209
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-gcp
>            Reporter: Dan Halperin
>            Assignee: Pei He
>            Priority: P2
>              Labels: stale-assigned
>
> I think, but have not confirmed, that this happens because we try to remove 
> an empty set of files.
> {code}
> SEVERE: 2016-12-22T16:59:17.063Z: (e72c8b756ce69f1a): java.io.IOException: 
> Error executing batch GCS request
>         at org.apache.beam.sdk.util.GcsUtil.executeBatches(GcsUtil.java:486)
>         at org.apache.beam.sdk.util.GcsUtil.remove(GcsUtil.java:535)
>         at 
> org.apache.beam.sdk.util.GcsIOChannelFactory.remove(GcsIOChannelFactory.java:108)
>         at 
> org.apache.beam.sdk.io.FileBasedSink$FileBasedWriteOperation.removeTemporaryFiles(FileBasedSink.java:468)
>         at 
> org.apache.beam.sdk.io.FileBasedSink$FileBasedWriteOperation.finalize(FileBasedSink.java:382)
>         at org.apache.beam.sdk.io.Write$Bound$2.processElement(Write.java:417)
> Caused by: java.util.concurrent.ExecutionException: 
> java.lang.IllegalArgumentException: no JSON input found
>         at 
> org.apache.beam.sdk.repackaged.com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:476)
>         at 
> org.apache.beam.sdk.repackaged.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:455)
>         at 
> org.apache.beam.sdk.repackaged.com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)
>         at org.apache.beam.sdk.util.GcsUtil.executeBatches(GcsUtil.java:481)
>         at org.apache.beam.sdk.util.GcsUtil.remove(GcsUtil.java:535)
>         at 
> org.apache.beam.sdk.util.GcsIOChannelFactory.remove(GcsIOChannelFactory.java:108)
>         at 
> org.apache.beam.sdk.io.FileBasedSink$FileBasedWriteOperation.removeTemporaryFiles(FileBasedSink.java:468)
>         at 
> org.apache.beam.sdk.io.FileBasedSink$FileBasedWriteOperation.finalize(FileBasedSink.java:382)
>         at org.apache.beam.sdk.io.Write$Bound$2.processElement(Write.java:417)
>         at 
> org.apache.beam.sdk.io.Write$Bound$2$auxiliary$3HTfRVcv.invokeProcessElement(Unknown
>  Source)
>         at 
> org.apache.beam.sdk.transforms.DoFnAdapters$SimpleDoFnAdapter.processElement(DoFnAdapters.java:234)
>         at 
> org.apache.beam.runners.core.SimpleOldDoFnRunner.invokeProcessElement(SimpleOldDoFnRunner.java:118)
>         at 
> org.apache.beam.runners.core.SimpleOldDoFnRunner.processElement(SimpleOldDoFnRunner.java:104)
>         at 
> com.google.cloud.dataflow.worker.runners.worker.SimpleParDoFn.processElement(SimpleParDoFn.java:192)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to