You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Sqoop QA bot (JIRA)" <ji...@apache.org> on 2016/01/18 04:12:39 UTC
[jira] [Commented] (SQOOP-2776) Sqoop2: Add web interface for
thread dump
[ https://issues.apache.org/jira/browse/SQOOP-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15104092#comment-15104092 ]
Sqoop QA bot commented on SQOOP-2776:
-------------------------------------
Testing file [SQOOP-2776.001.patch|https://issues.apache.org/jira/secure/attachment/12782797/SQOOP-2776.001.patch] against branch sqoop2 took 1:03:29.561040.
{color:green}Overall:{color} +1 all checks pass
{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} Patch add/modify test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:green}SUCCESS:{color} All unit tests passed (executed 1676 tests)
{color:green}SUCCESS:{color} Test coverage did not decreased ([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2114/artifact/patch-process/cobertura_report.txt])
{color:orange}WARNING:{color} New findbugs warnings ([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/2114/artifact/patch-process/findbugs_report.txt])
* Package {{common}}: Class {{org.apache.sqoop.json.ThreadDumpBean}} introduced 2 completely new findbugs warnings.
{color:green}SUCCESS:{color} All integration tests passed (executed 195 tests)
Console output is available [here|https://builds.apache.org/job/PreCommit-SQOOP-Build/2114/console].
This message is automatically generated.
> Sqoop2: Add web interface for thread dump
> -----------------------------------------
>
> Key: SQOOP-2776
> URL: https://issues.apache.org/jira/browse/SQOOP-2776
> Project: Sqoop
> Issue Type: Sub-task
> Reporter: Colin Ma
> Assignee: Colin Ma
> Fix For: 1.99.7
>
> Attachments: SQOOP-2776.001.patch
>
>
> Add web interface for thread dump, user can get the information from the shell.
> the following is the example of output:
> Process Thread Dump:
> 31 active threads
> Thread 43 (Keep-Alive-Timer):
> State: TIMED_WAITING
> Blocked count: 0
> Waited count: 1
> Stack:
> java.lang.Thread.sleep(Native Method)
> sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:172)
> java.lang.Thread.run(Thread.java:745)
> Thread 42 (pool-1-thread-6 - /sqoop/threadDump?user.name=username):
> State: RUNNABLE
> Blocked count: 0
> Waited count: 0
> Stack:
> sun.management.ThreadImpl.getThreadInfo1(Native Method)
> sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:174)
> sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:139)
> org.apache.hadoop.util.ReflectionUtils.printThreadInfo(ReflectionUtils.java:165)
> org.apache.sqoop.json.ThreadDumpBean.getThreadDump(ThreadDumpBean.java:44)
> org.apache.sqoop.json.ThreadDumpBean.extract(ThreadDumpBean.java:37)
> org.apache.sqoop.server.SqoopProtocolServlet.sendSuccessResponse(SqoopProtocolServlet.java:113)
> org.apache.sqoop.server.SqoopProtocolServlet.doGet(SqoopProtocolServlet.java:52)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)