hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-17228) precommit grep -c ERROR may grab non errors
Date Wed, 03 May 2017 21:59:04 GMT

     [ https://issues.apache.org/jira/browse/HBASE-17228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Busbey updated HBASE-17228:
--------------------------------
    Component/s:     (was: scripts)
                 test
                 community
                 build

> precommit grep -c ERROR may grab non errors
> -------------------------------------------
>
>                 Key: HBASE-17228
>                 URL: https://issues.apache.org/jira/browse/HBASE-17228
>             Project: HBase
>          Issue Type: Bug
>          Components: build, community, test
>            Reporter: Matteo Bertozzi
>            Assignee: stack
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17228.master.001.patch
>
>
> it looks like that we do a simple "grep -c ERROR" to count the errors that we have from
the build.
> https://github.com/apache/hbase/blob/master/dev-support/hbase-personality.sh#L305
> but in this way we ended up with a count=1 just because we have one enum called ERROR_CODE
in hbase. and the enum shows up as debug message
> {noformat}
> $ grep ERROR patch-hbaseprotoc-hbase-server.txt 
> [DEBUG] adding entry org/apache/hadoop/hbase/util/HBaseFsck$ErrorReporter$ERROR_CODE.class
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message