[
https://issues.apache.org/jira/browse/HBASE-15229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vishal Khandelwal updated HBASE-15229:
--------------------------------------
Description:
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 ?
was:
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)
> 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
>
> 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
> ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)