You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2020/09/15 09:42:00 UTC

[hbase] branch HBASE-25021 updated: fix version when debug is on

This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch HBASE-25021
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/HBASE-25021 by this push:
     new d0d5170  fix version when debug is on
d0d5170 is described below

commit d0d51704ad09b067b349a3ff090d6be846e79eef
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Tue Sep 15 17:41:24 2020 +0800

    fix version when debug is on
---
 dev-support/hbase_nightly_pseudo-distributed-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-support/hbase_nightly_pseudo-distributed-test.sh b/dev-support/hbase_nightly_pseudo-distributed-test.sh
index ff4d773..9a00fc5 100755
--- a/dev-support/hbase_nightly_pseudo-distributed-test.sh
+++ b/dev-support/hbase_nightly_pseudo-distributed-test.sh
@@ -176,7 +176,7 @@ fi
 
 echo "HBase version information:"
 "${component_install}/bin/hbase" version 2>/dev/null
-hbase_version=$("${component_install}/bin/hbase" version | head -n 1 2>/dev/null)
+hbase_version=$("${component_install}/bin/hbase" version 2>&1 | grep ^HBase | head -n 1)
 hbase_version="${hbase_version#HBase }"
 
 echo "version is $hbase_version"