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

SubQuery::computeStatFromTasks occasionally fail.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: QueryMaster
    • Labels:
      None

      Description

      See the title.
      SubQuery::computeStatFromTasks occasionally fails as follows:

      ERROR querymaster.SubQuery (SubQuery.java:computeStatFromTasks(543)) - ==========================
      org.apache.tajo.exception.InvalidOperationException
              at org.apache.tajo.datum.Int8Datum.compareTo(Int8Datum.java:201)
              at org.apache.tajo.catalog.statistics.StatisticsUtil.aggregateTableStat(StatisticsUtil.java:122)
              at org.apache.tajo.master.querymaster.SubQuery.computeStatFromTasks(SubQuery.java:540)
              at org.apache.tajo.master.querymaster.SubQuery.finalizeStats(SubQuery.java:582)
              at org.apache.tajo.master.querymaster.SubQuery.complete(SubQuery.java:370)
              at org.apache.tajo.master.querymaster.SubQuery$SubQueryCompleteTransition.transition(SubQuery.java:1166)
              at org.apache.tajo.master.querymaster.SubQuery$SubQueryCompleteTransition.transition(SubQuery.java:1138)
              at org.apache.hadoop.yarn.state.StateMachineFactory$MultipleInternalArc.doTransition(StateMachineFactory.java:385)
              at org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:302)
              at org.apache.hadoop.yarn.state.StateMachineFactory.access$300(StateMachineFactory.java:46)
              at org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:448)
              at org.apache.tajo.master.querymaster.SubQuery.handle(SubQuery.java:610)
              at org.apache.tajo.master.querymaster.QueryMasterTask$SubQueryEventDispatcher.handle(QueryMasterTask.java:253)
              at org.apache.tajo.master.querymaster.QueryMasterTask$SubQueryEventDispatcher.handle(QueryMasterTask.java:247)
      

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user babokim opened a pull request:

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

        TAJO-916: SubQuery::computeStatFromTasks occasionally fail.

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

        $ git pull https://github.com/babokim/tajo TAJO-916

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

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


        commit 37cb561d03e1890819ec2f55dc35897b439d0b07
        Author: 김형준 <babokim@babokim-mbp.server.gruter.com>
        Date: 2014-07-14T04:20:57Z

        TAJO-916: SubQuery::computeStatFromTasks occasionally fail.


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user babokim opened a pull request: https://github.com/apache/tajo/pull/69 TAJO-916 : SubQuery::computeStatFromTasks occasionally fail. You can merge this pull request into a Git repository by running: $ git pull https://github.com/babokim/tajo TAJO-916 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/69.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 #69 commit 37cb561d03e1890819ec2f55dc35897b439d0b07 Author: 김형준 <babokim@babokim-mbp.server.gruter.com> Date: 2014-07-14T04:20:57Z TAJO-916 : SubQuery::computeStatFromTasks occasionally fail.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/69#issuecomment-48868210

        +1

        Task::getReport() and Task::getTaskCompletionReport() seem to have the concurrency problem potentially. The patch looks good to me, and includes a sufficient unit test.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/69#issuecomment-48868210 +1 Task::getReport() and Task::getTaskCompletionReport() seem to have the concurrency problem potentially. The patch looks good to me, and includes a sufficient unit test.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

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

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/69
        Hide
        hyunsik Hyunsik Choi added a comment -

        committed.

        Show
        hyunsik Hyunsik Choi added a comment - committed.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #294 (See https://builds.apache.org/job/Tajo-master-build/294/)
        TAJO-916: SubQuery::computeStatFromTasks occasionally fail. (Hyoungjun Kim via hyunsik) (hyunsik: rev fe557ad24a70f6d698cc85f0bb75765906eb3641)

        • tajo-catalog/tajo-catalog-common/src/test/java/org/apache/tajo/catalog/statistics/TestTableStat.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/statistics/TableStats.java
        • CHANGES
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #294 (See https://builds.apache.org/job/Tajo-master-build/294/ ) TAJO-916 : SubQuery::computeStatFromTasks occasionally fail. (Hyoungjun Kim via hyunsik) (hyunsik: rev fe557ad24a70f6d698cc85f0bb75765906eb3641) tajo-catalog/tajo-catalog-common/src/test/java/org/apache/tajo/catalog/statistics/TestTableStat.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/statistics/TableStats.java CHANGES

          People

          • Assignee:
            hjkim Hyoungjun Kim
            Reporter:
            blrunner Jaehwa Jung
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development