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-19249) test for "hbase antipatterns" should check _count_ of occurance rather than text of
Date Tue, 14 Nov 2017 05:30:02 GMT

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

Hudson commented on HBASE-19249:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-1.3-JDK7 #345 (See [https://builds.apache.org/job/HBase-1.3-JDK7/345/])
HBASE-19249 test for "hbase antipatterns" should check _count_ of (busbey: rev dea935dab72afeb4b366bb5307ee69f04a4bc50e)
* (edit) dev-support/hbase-personality.sh


> test for "hbase antipatterns" should check _count_ of occurance rather than text of
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-19249
>                 URL: https://issues.apache.org/jira/browse/HBASE-19249
>             Project: HBase
>          Issue Type: Bug
>          Components: build
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Critical
>             Fix For: 3.0.0, 1.4.0, 1.3.2, 1.5.0, 1.2.7, 2.0.0-beta-1, 1.1.13
>
>         Attachments: HBASE-19249.0.patch
>
>
> [~appy] noticed on HBASE-18624 that our check for Hadoop annotations failed to flag a
use.
> looking at our check:
> {code}
>   warnings=$(${GREP} 'import org.apache.hadoop.classification' "${patchfile}")
>   if [[ ${warnings} -gt 0 ]]; then
>     add_vote_table -1 hbaseanti "" "The patch appears use Hadoop classification instead
of HBase: ${warnings}."
>     ((result=result+1))
>   fi
> {code}
> That should have been a "grep -c" and not a "grep". So we've been falsely giving a negative
on all these checks.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message