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

querytasks.jsp throws NPE occasionally when tasks are running.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: Web UI
    • Labels:
      None

      Description

      querytasks.jsp throws NPE occasionally when tasks of execution block are running as following:

      java.lang.NullPointerException
      	at org.apache.jsp.querytasks_jsp._jspService(org.apache.jsp.querytasks_jsp:426)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363
      

        Issue Links

          Activity

          Hide
          jhkim Jinho Kim added a comment -

          Jaehwa Jung
          If you don't start this issue yet, I'd like to do.

          Show
          jhkim Jinho Kim added a comment - Jaehwa Jung If you don't start this issue yet, I'd like to do.
          Hide
          blrunner Jaehwa Jung added a comment -

          Hi Jinho

          OK. I don't start it yet.

          Show
          blrunner Jaehwa Jung added a comment - Hi Jinho OK. I don't start it yet.
          Hide
          jhkim Jinho Kim added a comment -

          Thanks

          Show
          jhkim Jinho Kim added a comment - Thanks
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user jinossy opened a pull request:

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

          TAJO-1712: querytasks.jsp throws NPE occasionally when tasks are running.

          Current implementation opens the all file in order to get the total size.
          So I've remove the pagination in query page and add to the next link

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

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

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

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


          commit 5fecbe4d51168b97c7ec6078ab797d74fc4203c3
          Author: Jinho Kim <jhkim@apache.org>
          Date: 2015-07-27T14:17:54Z

          TAJO-1712: querytasks.jsp throws NPE occasionally when tasks are running.


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user jinossy opened a pull request: https://github.com/apache/tajo/pull/657 TAJO-1712 : querytasks.jsp throws NPE occasionally when tasks are running. Current implementation opens the all file in order to get the total size. So I've remove the pagination in query page and add to the next link You can merge this pull request into a Git repository by running: $ git pull https://github.com/jinossy/tajo TAJO-1712 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/657.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 #657 commit 5fecbe4d51168b97c7ec6078ab797d74fc4203c3 Author: Jinho Kim <jhkim@apache.org> Date: 2015-07-27T14:17:54Z TAJO-1712 : querytasks.jsp throws NPE occasionally when tasks are running.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user jihoonson commented on the pull request:

          https://github.com/apache/tajo/pull/657#issuecomment-125871849

          +1 LGTM!

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

          Github user asfgit closed the pull request at:

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

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/657
          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 #415 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/415/)
          TAJO-1712: querytasks.jsp throws NPE occasionally when tasks are running. (jinho) (jhkim: rev c46dc1a64f9528adc5f2a54db3bc6aa247252b84)

          • tajo-core/src/main/resources/webapps/worker/querytasks.jsp
          • tajo-core/src/test/java/org/apache/tajo/util/history/TestHistoryWriterReader.java
          • tajo-core/src/main/java/org/apache/tajo/util/JSPUtil.java
          • CHANGES
          • tajo-core/src/main/java/org/apache/tajo/util/history/HistoryReader.java
          • tajo-core/src/main/resources/webapps/admin/query.jsp
          • tajo-core/src/main/java/org/apache/tajo/master/QueryManager.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #415 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/415/ ) TAJO-1712 : querytasks.jsp throws NPE occasionally when tasks are running. (jinho) (jhkim: rev c46dc1a64f9528adc5f2a54db3bc6aa247252b84) tajo-core/src/main/resources/webapps/worker/querytasks.jsp tajo-core/src/test/java/org/apache/tajo/util/history/TestHistoryWriterReader.java tajo-core/src/main/java/org/apache/tajo/util/JSPUtil.java CHANGES tajo-core/src/main/java/org/apache/tajo/util/history/HistoryReader.java tajo-core/src/main/resources/webapps/admin/query.jsp tajo-core/src/main/java/org/apache/tajo/master/QueryManager.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Tajo-master-build #777 (See https://builds.apache.org/job/Tajo-master-build/777/)
          TAJO-1712: querytasks.jsp throws NPE occasionally when tasks are running. (jinho) (jhkim: rev c46dc1a64f9528adc5f2a54db3bc6aa247252b84)

          • tajo-core/src/main/java/org/apache/tajo/util/history/HistoryReader.java
          • CHANGES
          • tajo-core/src/main/resources/webapps/admin/query.jsp
          • tajo-core/src/main/resources/webapps/worker/querytasks.jsp
          • tajo-core/src/test/java/org/apache/tajo/util/history/TestHistoryWriterReader.java
          • tajo-core/src/main/java/org/apache/tajo/master/QueryManager.java
          • tajo-core/src/main/java/org/apache/tajo/util/JSPUtil.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #777 (See https://builds.apache.org/job/Tajo-master-build/777/ ) TAJO-1712 : querytasks.jsp throws NPE occasionally when tasks are running. (jinho) (jhkim: rev c46dc1a64f9528adc5f2a54db3bc6aa247252b84) tajo-core/src/main/java/org/apache/tajo/util/history/HistoryReader.java CHANGES tajo-core/src/main/resources/webapps/admin/query.jsp tajo-core/src/main/resources/webapps/worker/querytasks.jsp tajo-core/src/test/java/org/apache/tajo/util/history/TestHistoryWriterReader.java tajo-core/src/main/java/org/apache/tajo/master/QueryManager.java tajo-core/src/main/java/org/apache/tajo/util/JSPUtil.java

            People

            • Assignee:
              jhkim Jinho Kim
              Reporter:
              blrunner Jaehwa Jung
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development