Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0, 0.11.1
    • Component/s: Unit Test
    • Labels:
      None

      Description

      The storage tests with MiniDFSCluster fails occasionally.
      I'm not exactly sure. but it causes at shutdown

      Tests run: 5, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 241.109 sec <<< FAILURE! - in org.apache.tajo.storage.TestFileTablespace
      testGetSplit(org.apache.tajo.storage.TestFileTablespace)  Time elapsed: 60.139 sec  <<< ERROR!
      org.junit.runners.model.TestTimedOutException: test timed out after 60000 milliseconds
      	at org.apache.tajo.storage.TestFileTablespace.testGetSplit(TestFileTablespace.java:157)
      
      testGetSplitWithBlockStorageLocationsBatching(org.apache.tajo.storage.TestFileTablespace)  Time elapsed: 60.13 sec  <<< ERROR!
      org.junit.runners.model.TestTimedOutException: test timed out after 60000 milliseconds
      	at org.apache.tajo.storage.TestFileTablespace.testGetSplitWithBlockStorageLocationsBatching(TestFileTablespace.java:257)
      
      testZeroLengthSplit(org.apache.tajo.storage.TestFileTablespace)  Time elapsed: 60.308 sec  <<< ERROR!
      org.junit.runners.model.TestTimedOutException: test timed out after 60000 milliseconds
      	at org.apache.tajo.storage.TestFileTablespace.testZeroLengthSplit(TestFileTablespace.java:206)
      
      testGetFileTablespace(org.apache.tajo.storage.TestFileTablespace)  Time elapsed: 60.247 sec  <<< ERROR!
      org.junit.runners.model.TestTimedOutException: test timed out after 60000 milliseconds
      	at org.apache.tajo.storage.TestFileTablespace.testGetFileTablespace(TestFileTablespace.java:291)
      

        Activity

        Hide
        jhkim Jinho Kim added a comment -

        I've change the deleteDfsDir flag to false

        Show
        jhkim Jinho Kim added a comment - I've change the deleteDfsDir flag to false
        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user jinossy opened a pull request:

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

        TAJO-2016: Investigate storage tests hangs.

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

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

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

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


        commit d02654423286a698c7b7002f68c4fedcf1e88e85
        Author: Jinho Kim <jhkim@apache.org>
        Date: 2015-12-10T02:00:10Z

        TAJO-2016: Investigate storage tests hangs.


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user jinossy opened a pull request: https://github.com/apache/tajo/pull/906 TAJO-2016 : Investigate storage tests hangs. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jinossy/tajo TAJO-2016 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/906.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 #906 commit d02654423286a698c7b7002f68c4fedcf1e88e85 Author: Jinho Kim <jhkim@apache.org> Date: 2015-12-10T02:00:10Z TAJO-2016 : Investigate storage tests hangs.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jinossy commented on the pull request:

        https://github.com/apache/tajo/pull/906#issuecomment-163469172

        e1c4623a04c90464d0c455227b1f88b14725c556 is not related this issue.
        It already reported by TAJO-1866

        Show
        githubbot ASF GitHub Bot added a comment - Github user jinossy commented on the pull request: https://github.com/apache/tajo/pull/906#issuecomment-163469172 e1c4623a04c90464d0c455227b1f88b14725c556 is not related this issue. It already reported by TAJO-1866
        Hide
        tajoqa Tajo QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12776702/TAJO-2016.patch
        against master revision release-0.9.0-rc0-603-gb195911.

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 4 new or modified test files.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 javadoc. The applied patch does not increase the total number of javadoc warnings.

        +1 checkstyle. The patch generated 0 code style errors.

        -1 findbugs. The patch appears to introduce 14 new Findbugs (version 2.0.3) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in tajo-storage/tajo-storage-hdfs.

        Test results: https://builds.apache.org/job/PreCommit-TAJO-Build/899//testReport/
        Findbugs warnings: https://builds.apache.org/job/PreCommit-TAJO-Build/899//artifact/incubator-tajo/patchprocess/newPatchFindbugsWarningstajo-storage-hdfs.html
        Console output: https://builds.apache.org/job/PreCommit-TAJO-Build/899//console

        This message is automatically generated.

        Show
        tajoqa Tajo QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12776702/TAJO-2016.patch against master revision release-0.9.0-rc0-603-gb195911. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 4 new or modified test files. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 javadoc. The applied patch does not increase the total number of javadoc warnings. +1 checkstyle. The patch generated 0 code style errors. -1 findbugs. The patch appears to introduce 14 new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in tajo-storage/tajo-storage-hdfs. Test results: https://builds.apache.org/job/PreCommit-TAJO-Build/899//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-TAJO-Build/899//artifact/incubator-tajo/patchprocess/newPatchFindbugsWarningstajo-storage-hdfs.html Console output: https://builds.apache.org/job/PreCommit-TAJO-Build/899//console This message is automatically generated.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user blrunner commented on the pull request:

        https://github.com/apache/tajo/pull/906#issuecomment-163493619

        +1

        LGTM!

        Show
        githubbot ASF GitHub Bot added a comment - Github user blrunner commented on the pull request: https://github.com/apache/tajo/pull/906#issuecomment-163493619 +1 LGTM!
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jinossy commented on the pull request:

        https://github.com/apache/tajo/pull/906#issuecomment-163516480

        Thanks for your quick review! I'll change the title to 'Fix storage tests hangs'

        Show
        githubbot ASF GitHub Bot added a comment - Github user jinossy commented on the pull request: https://github.com/apache/tajo/pull/906#issuecomment-163516480 Thanks for your quick review! I'll change the title to 'Fix storage tests hangs'
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

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

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/906
        Hide
        jhkim Jinho Kim added a comment -

        committed it.
        Thanks

        Show
        jhkim Jinho Kim added a comment - committed it. Thanks
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-master-CODEGEN-build #627 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/627/)
        TAJO-2016: Investigate storage tests hangs. (jhkim: rev 394879e0f01273b2c8a66aef01d6cc313a5e5f3d)

        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/raw/TestDirectRawFile.java
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestByteBufLineReader.java
        • CHANGES
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestFileTablespace.java
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestCompressionStorages.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #627 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/627/ ) TAJO-2016 : Investigate storage tests hangs. (jhkim: rev 394879e0f01273b2c8a66aef01d6cc313a5e5f3d) tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/raw/TestDirectRawFile.java tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestByteBufLineReader.java CHANGES tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestFileTablespace.java tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestCompressionStorages.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #1023 (See https://builds.apache.org/job/Tajo-master-build/1023/)
        TAJO-2016: Investigate storage tests hangs. (jhkim: rev 394879e0f01273b2c8a66aef01d6cc313a5e5f3d)

        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/raw/TestDirectRawFile.java
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestFileTablespace.java
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestCompressionStorages.java
        • CHANGES
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestByteBufLineReader.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #1023 (See https://builds.apache.org/job/Tajo-master-build/1023/ ) TAJO-2016 : Investigate storage tests hangs. (jhkim: rev 394879e0f01273b2c8a66aef01d6cc313a5e5f3d) tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/raw/TestDirectRawFile.java tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestFileTablespace.java tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestCompressionStorages.java CHANGES tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestByteBufLineReader.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-0.11.1-build #136 (See https://builds.apache.org/job/Tajo-0.11.1-build/136/)
        TAJO-2016: Fix storage tests hangs. (jhkim: rev 0a17877f988e6fadd7cd052b7cb8f4072e0900e7)

        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestByteBufLineReader.java
        • CHANGES
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestCompressionStorages.java
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/raw/TestDirectRawFile.java
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestFileTablespace.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-0.11.1-build #136 (See https://builds.apache.org/job/Tajo-0.11.1-build/136/ ) TAJO-2016 : Fix storage tests hangs. (jhkim: rev 0a17877f988e6fadd7cd052b7cb8f4072e0900e7) tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestByteBufLineReader.java CHANGES tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestCompressionStorages.java tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/raw/TestDirectRawFile.java tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/TestFileTablespace.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