This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 4da757cad51 HBASE-29106 Hbase cannot be started in dev mode (#6657)
4da757cad51 is described below
commit 4da757cad518d58ff22a28ee089e3922e253f660
Author: Istvan Toth <[email protected]>
AuthorDate: Mon Feb 3 07:35:58 2025 +0100
HBASE-29106 Hbase cannot be started in dev mode (#6657)
Co-authored-by: Junegunn Choi <[email protected]>
Signed-off-by: Nihal Jain <[email protected]>
---
bin/hbase | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/hbase b/bin/hbase
index 8f58bf578a5..5f1b8451107 100755
--- a/bin/hbase
+++ b/bin/hbase
@@ -222,7 +222,7 @@ if [ "$HBASE_DISABLE_HADOOP_CLASSPATH_LOOKUP" != "true" ] ;
then
fi
#If Hadoop is not specified with HADOOP_HOME, check that the assembly includes
Hadoop
-if [[ -z "${HADOOP_IN_PATH}" && ! -e "lib/hadoop-common*" ]] ; then
+if [[ $in_dev_env = false && -z "${HADOOP_IN_PATH}" && ! -e
"lib/hadoop-common*" ]] ; then
echo Installation does not contain Hadoop, and HADOOP_HOME does not point to
a Hadoop installation.
echo Specify a compatible Hadoop installation via HADOOP_HOME, or use the
HBase assembly variant
echo that includes Hadoop.