hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15229) Canary Tools should not call System.Exit on error
Date Wed, 10 Feb 2016 19:16:18 GMT

    [ https://issues.apache.org/jira/browse/HBASE-15229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141470#comment-15141470
] 

Hudson commented on HBASE-15229:
--------------------------------

SUCCESS: Integrated in HBase-1.3-IT #491 (See [https://builds.apache.org/job/HBase-1.3-IT/491/])
HBASE-15229 Canary Tools should not call System.Exit on error (Vishal (apurtell: rev e85575f5683e25fa8e44969ede68330358de63a4)
* hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java


> Canary Tools should not call System.Exit on error
> -------------------------------------------------
>
>                 Key: HBASE-15229
>                 URL: https://issues.apache.org/jira/browse/HBASE-15229
>             Project: HBase
>          Issue Type: Bug
>          Components: canary
>    Affects Versions: 0.98.17
>            Reporter: Vishal Khandelwal
>            Assignee: Vishal Khandelwal
>            Priority: Critical
>             Fix For: 2.0.0, 1.3.0, 1.2.1, 0.98.18
>
>         Attachments: HBASE-15229-0.98.patch, HBASE-15229.patch, HBASE-15229.v1.patch,
HBASE-15229.v2.patch, HBASE-15229.v3.patch
>
>
> run method in canary tool calls system.Exit on failure. Due to this it can't be integrated
as an API as jvm will stop on failure. It should only return (exit code)  
> So any integration with unit test also fail with
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14:test
(default-test) on project <>: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14:test
failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit
called ?
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message