You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/14 02:30:58 UTC

[jira] [Commented] (BEAM-1153) GcsUtil needs to set timeout and retry explicitly in BatchRequest.

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

ASF GitHub Bot commented on BEAM-1153:
--------------------------------------

GitHub user peihe opened a pull request:

    https://github.com/apache/incubator-beam/pull/1611

    [BEAM-1153] GcsUtil: use non-batch API for single file size requests.

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [ ] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt).
    
    ---
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/peihe/incubator-beam fix-pr-1359

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-beam/pull/1611.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1611
    
----
commit a42055ec58c0f458a1939f4682d0c77bac9127bb
Author: Pei He <pe...@google.com>
Date:   2016-12-14T02:29:17Z

    [BEAM-1153] GcsUtil: use non-batch API for single file size requests.

----


> GcsUtil needs to set timeout and retry explicitly in BatchRequest.
> ------------------------------------------------------------------
>
>                 Key: BEAM-1153
>                 URL: https://issues.apache.org/jira/browse/BEAM-1153
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Pei He
>            Assignee: Pei He
>            Priority: Blocker
>
> Google Cloud auto generated Json library doesn't set HttpRequestInitializer for batch requests. (But, it doesn't for other non-batch requests.)
> Possible fix is: https://github.com/apache/incubator-beam/pull/1608
> In additional, we can partially rollback https://github.com/apache/incubator-beam/pull/1359 to keep using non-batch API for fileSize() for single files. This will make sure existing code will keep work as the same way.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)