-1 is given if value of $RESULT is not 0 :

submitJiraComment $RESULT

$RESULT is summation of return values of various checks:

checkAntiPatterns
(( RESULT = RESULT + $? ))
checkBuildWithHadoopVersions
(( RESULT = RESULT + $? ))
...

Looks like $RESULT was non-zeron somehow.

It was not clear which check returned non-zero value.

One improvement we can make is to assign unique values for the checks.
e.g. add 1 for anti pattern check, 2 for BuildWithHadoopVersions, 4
for JavacWarnings, etc

Cheers

On Wed, Dec 2, 2015 at 7:18 PM, Apekshit Sharma <a...@cloudera.com> wrote:

> Hi
> Any ideas what can be the reason here?
>
> https://issues.apache.org/jira/browse/HBASE-14865?focusedCommentId=15037056&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15037056
>
> -- Appy
>

Reply via email to