beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From igorbernstein2 <...@git.apache.org>
Subject [GitHub] beam pull request #1867: [BEAM-1343] Fix HDFSFileSource’s split size estim...
Date Sun, 29 Jan 2017 05:10:28 GMT
GitHub user igorbernstein2 opened a pull request:

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

    [BEAM-1343] Fix HDFSFileSource’s 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 <igorbernstein@google.com>
Date:   2017-01-29T05:00:02Z

    Fix HDFSFileSource’s 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.
---

Mime
View raw message