[
https://issues.apache.org/jira/browse/HBASE-24095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17074705#comment-17074705
]
Josh Elser commented on HBASE-24095:
------------------------------------
Hi Alex. Welcome!
Interesting issue you've found here. Guessing, it seems like when HBase's shell
scripts are invoking something from Hadoop's shell scripts, Hadoop's shell
scripts are getting messed up/confused. However, this is just a guess without
the context of how you got from `hbase version` to the error you've provided.
Typically, we don't like using Jira when the problem is unknown (especially
when it seems like the problem might lie in Hadoop, not HBase), however, I
don't want to close this and kick you to using email.
Can you modify your copy of the `hbase` script to add a {{set -x}} to the
beginning of it and start tracing through execution until you get to the
`hadoop-functions.sh` call? You may have to propagate the {{set -x}} addition
to more than just `hbase`. This should make it a little more clear as to what's
going on.
> HBase Bad Substitution ERROR on hadoop-functions.sh
> ---------------------------------------------------
>
> Key: HBASE-24095
> URL: https://issues.apache.org/jira/browse/HBASE-24095
> Project: HBase
> Issue Type: Bug
> Components: hadoop3
> Affects Versions: 2.2.3
> Environment: hbase 2.2.3 with hadoop 3.2.1:
> Installed both hadoop and hbase according the apache "Getting Started"
> guides. for hbase, i have removed the hadoop jar files it downloaded with,
> which do not match my current version of hadoop, as per the documentation.
> Reporter: Alex Swarner
> Priority: Blocker
>
> Any Time i make a call to hbase (e.g. "hbase version" or "hbase-daemon.sh
> start master", i receive this error message:
> */usr/hdeco/hadoop/bin/../libexec/hadoop-functions.sh: line 2366:
> HADOOP_ORG.APACHE.HADOOP.HBASE.UTIL.GETJAVAPROPERTY_USER: bad substitution*
> */usr/hdeco/hadoop/bin/../libexec/hadoop-functions.sh: line 2461:
> HADOOP_ORG.APACHE.HADOOP.HBASE.UTIL.GETJAVAPROPERTY_OPTS: bad substitution*
>
> "hbase version" does provide version information after this error message,
> but i am unable to start the hbase master, so i am unable to use hbase
> further.
>
> I have never posted in any forum before, so let me know if more information
> is needed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)