Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1825

Remove zero length fragments when file length is zero

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0, 0.10.0, 0.10.1
    • Fix Version/s: 0.11.0, 0.12.0
    • Component/s: QueryMaster, Storage
    • Labels:
      None

      Description

      Currently, leaf stage creates zero length fragment when a file length is zero.
      It creates unnecessarily tasks. we should remove it.

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user jinossy opened a pull request:

        https://github.com/apache/tajo/pull/744

        TAJO-1825: Remove zero length fragments when file length is zero.

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

        $ git pull https://github.com/jinossy/tajo TAJO-1825

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

        https://github.com/apache/tajo/pull/744.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 #744


        commit 3ce4136426c02c883d0bc58f019c4630b089ad1a
        Author: Jinho Kim <jhkim@apache.org>
        Date: 2015-09-08T06:02:13Z

        TAJO-1825: Remove zero length fragments when file length is zero.


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user jinossy opened a pull request: https://github.com/apache/tajo/pull/744 TAJO-1825 : Remove zero length fragments when file length is zero. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jinossy/tajo TAJO-1825 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/744.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 #744 commit 3ce4136426c02c883d0bc58f019c4630b089ad1a Author: Jinho Kim <jhkim@apache.org> Date: 2015-09-08T06:02:13Z TAJO-1825 : Remove zero length fragments when file length is zero.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/744#issuecomment-138934108

        +1 thank you for the nice work!

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/744#issuecomment-138934108 +1 thank you for the nice work!
        Hide
        jhkim Jinho Kim added a comment -

        committed it
        Thanks for the review!

        Show
        jhkim Jinho Kim added a comment - committed it Thanks for the review!
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

        https://github.com/apache/tajo/pull/744

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/744
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-master-CODEGEN-build #496 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/496/)
        TAJO-1825: Remove zero length fragments when file length is zero. (jhkim: rev 7f7f4d1195ad0d0b60059d9729f318556ed66a10)

        • tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/FileTablespace.java
        • tajo-core/src/main/java/org/apache/tajo/util/JSPUtil.java
        • CHANGES
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestFileTablespace.java
        • tajo-core-tests/src/test/java/org/apache/tajo/querymaster/TestQueryState.java
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestStorages.java
        • tajo-client/src/main/java/org/apache/tajo/client/v2/LegacyClientDelegate.java
        • tajo-core/src/main/java/org/apache/tajo/querymaster/Stage.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #496 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/496/ ) TAJO-1825 : Remove zero length fragments when file length is zero. (jhkim: rev 7f7f4d1195ad0d0b60059d9729f318556ed66a10) tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/FileTablespace.java tajo-core/src/main/java/org/apache/tajo/util/JSPUtil.java CHANGES tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestFileTablespace.java tajo-core-tests/src/test/java/org/apache/tajo/querymaster/TestQueryState.java tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestStorages.java tajo-client/src/main/java/org/apache/tajo/client/v2/LegacyClientDelegate.java tajo-core/src/main/java/org/apache/tajo/querymaster/Stage.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #853 (See https://builds.apache.org/job/Tajo-master-build/853/)
        TAJO-1825: Remove zero length fragments when file length is zero. (jhkim: rev 7f7f4d1195ad0d0b60059d9729f318556ed66a10)

        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestFileTablespace.java
        • tajo-core/src/main/java/org/apache/tajo/util/JSPUtil.java
        • tajo-client/src/main/java/org/apache/tajo/client/v2/LegacyClientDelegate.java
        • tajo-core/src/main/java/org/apache/tajo/querymaster/Stage.java
        • tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/FileTablespace.java
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestStorages.java
        • CHANGES
        • tajo-core-tests/src/test/java/org/apache/tajo/querymaster/TestQueryState.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #853 (See https://builds.apache.org/job/Tajo-master-build/853/ ) TAJO-1825 : Remove zero length fragments when file length is zero. (jhkim: rev 7f7f4d1195ad0d0b60059d9729f318556ed66a10) tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestFileTablespace.java tajo-core/src/main/java/org/apache/tajo/util/JSPUtil.java tajo-client/src/main/java/org/apache/tajo/client/v2/LegacyClientDelegate.java tajo-core/src/main/java/org/apache/tajo/querymaster/Stage.java tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/FileTablespace.java tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestStorages.java CHANGES tajo-core-tests/src/test/java/org/apache/tajo/querymaster/TestQueryState.java
        Hide
        hudson Hudson added a comment -

        ABORTED: Integrated in Tajo-0.11.0-build #30 (See https://builds.apache.org/job/Tajo-0.11.0-build/30/)
        TAJO-1825: Remove zero length fragments when file length is zero. (jhkim: rev 7c7281de7d7c8e533efa2e619961a261acca95e9)

        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestFileTablespace.java
        • CHANGES
        • tajo-core/src/main/java/org/apache/tajo/util/JSPUtil.java
        • tajo-core-tests/src/test/java/org/apache/tajo/querymaster/TestQueryState.java
        • tajo-core/src/main/java/org/apache/tajo/querymaster/Stage.java
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestStorages.java
        • tajo-client/src/main/java/org/apache/tajo/client/v2/LegacyClientDelegate.java
        • tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/FileTablespace.java
        Show
        hudson Hudson added a comment - ABORTED: Integrated in Tajo-0.11.0-build #30 (See https://builds.apache.org/job/Tajo-0.11.0-build/30/ ) TAJO-1825 : Remove zero length fragments when file length is zero. (jhkim: rev 7c7281de7d7c8e533efa2e619961a261acca95e9) tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestFileTablespace.java CHANGES tajo-core/src/main/java/org/apache/tajo/util/JSPUtil.java tajo-core-tests/src/test/java/org/apache/tajo/querymaster/TestQueryState.java tajo-core/src/main/java/org/apache/tajo/querymaster/Stage.java tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestStorages.java tajo-client/src/main/java/org/apache/tajo/client/v2/LegacyClientDelegate.java tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/FileTablespace.java

          People

          • Assignee:
            jhkim Jinho Kim
            Reporter:
            jhkim Jinho Kim
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development