You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2016/12/02 16:51:29 UTC
hbase git commit: HBASE-17228 precommit grep -c ERROR may grab non
errors I tested this by doing `cat /tmp/some_file_with_ERROR_combos|grep -c
'\[ERROR\]'
Repository: hbase
Updated Branches:
refs/heads/master 9c13219f0 -> 8f8daafee
HBASE-17228 precommit grep -c ERROR may grab non errors I tested this by doing `cat /tmp/some_file_with_ERROR_combos|grep -c '\[ERROR\]'
Signed-off-by: Michael Stack <st...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/8f8daafe
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/8f8daafe
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/8f8daafe
Branch: refs/heads/master
Commit: 8f8daafee0d3d6b80fd01d9e04b7417fc31b0ff7
Parents: 9c13219
Author: Michael Stack <st...@apache.org>
Authored: Thu Dec 1 21:42:19 2016 -0800
Committer: Michael Stack <st...@apache.org>
Committed: Fri Dec 2 08:51:21 2016 -0800
----------------------------------------------------------------------
dev-support/hbase-personality.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/8f8daafe/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index de9e80b..6c9d566 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -208,7 +208,7 @@ function hadoopcheck_rebuild
"${MAVEN}" clean install \
-DskipTests -DHBasePatchProcess \
-Dhadoop-two.version="${hadoopver}"
- count=$(${GREP} -c ERROR "${logfile}")
+ count=$(${GREP} -c '\[ERROR\]' "${logfile}")
if [[ ${count} -gt 0 ]]; then
add_vote_table -1 hadoopcheck "${BUILDMODEMSG} causes ${count} errors with Hadoop v${hadoopver}."
((result=result+1))
@@ -222,7 +222,7 @@ function hadoopcheck_rebuild
-DskipTests -DHBasePatchProcess \
-Dhadoop-three.version="${hadoopver} \
-Dhadoop.profile=3.0"
- count=$(${GREP} -c ERROR "${logfile}")
+ count=$(${GREP} -c '\[ERROR\]' "${logfile}")
if [[ ${count} -gt 0 ]]; then
add_vote_table -1 hadoopcheck "${BUILDMODEMSG} causes ${count} errors with Hadoop v${hadoopver}."
((result=result+1))
@@ -302,7 +302,7 @@ function hbaseprotoc_rebuild
fn=$(module_file_fragment "${module}")
logfile="${PATCH_DIR}/patch-hbaseprotoc-${fn}.txt"
- count=$(${GREP} -c ERROR "${logfile}")
+ count=$(${GREP} -c '\[ERROR\]' "${logfile}")
if [[ ${count} -gt 0 ]]; then
module_status ${i} -1 "patch-hbaseprotoc-${fn}.txt" "Patch generated "\