You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by igorbernstein2 <gi...@git.apache.org> on 2017/01/29 05:10:28 UTC

[GitHub] beam pull request #1867: [BEAM-1343] Fix HDFSFileSource’s split size estim...

GitHub user igorbernstein2 opened a pull request:

    https://github.com/apache/beam/pull/1867

    [BEAM-1343] Fix HDFSFileSource\u2019s split size estimate

    This is a port of this fix:
    https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/534
    
    HDFSFileSource incorrectly calculates estimated byte size. The source can represent either a top level source or a split from splitIntoBundles. However, getEstimatedSizeBytes always calculates the size of the entire top level source.
    
    This PR detects if the source represents a split and returns its length.


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

    $ git pull https://github.com/igorbernstein2/beam fix-hdfs-splitsize

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

    https://github.com/apache/beam/pull/1867.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 #1867
    
----
commit 440b6c84bf11fcda20932edc157c8e8a5a7cb767
Author: Igor Bernstein <ig...@google.com>
Date:   2017-01-29T05:00:02Z

    Fix HDFSFileSource\u2019s split size estimate

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] beam pull request #1867: [BEAM-1343] Fix HDFSFileSource’s split size estim...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/beam/pull/1867


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---