title: invalid variable name error on hadoop-functions.sh file on manjaro
body: <p>when ı run this code <code>hadoop version</code>, ı get this error</p>
  <pre><code>/usr/lib/hadoop-3.3.1/bin/../libexec/hadoop-functions.sh: line 2386: HADOOP_VERSİON_USER: invalid variable name
  /usr/lib/hadoop-3.3.1/bin/../libexec/hadoop-functions.sh: line 2489: HADOOP_VERSİON_OPTS: invalid variable name
  Hadoop 3.3.1
  Source code repository https://github.com/apache/hadoop.git -r a3b9c37a397ad4188041dd80621bdeefc46885f2
  Compiled by ubuntu on 2021-06-15T05:13Z
  Compiled with protoc 3.7.1
  From source with checksum 88a4ddb2299aca054416d6b7f81ca55
  This command was run using /usr/lib/hadoop-3.3.1/share/hadoop/common/hadoop-common-3.3.1.jar
  </code></pre>
  <p>hadoop-functions.sh: line 2386</p>
  <pre><code>2384   uvar=$(hadoop_build_custom_subcmd_var &quot;${program}&quot; &quot;${command}&quot; USER)
  2385
  -&gt;2386   if [[ -n ${!uvar} ]]; then
  2387     if [[ ${!uvar} !=  &quot;${USER}&quot; ]]; then
  2388       hadoop_error &quot;ERROR: ${command} can only be executed by ${!uvar}.&quot;
  2389       exit 1
  2390     fi
  2391   fi
  2392   return 0
  2393 }
  </code></pre>
  <p>hadoop-functions.sh: line 2489</p>
  <pre><code>2478   # Let's handle all of the deprecation cases early
  2479   # HADOOP_NAMENODE_OPTS -&gt; HDFS_NAMENODE_OPTS
  2480
  2481   depvar=&quot;HADOOP_${ucommand}_OPTS&quot;
  2482
  2483   if [[ &quot;${depvar}&quot; != &quot;${uvar}&quot; ]]; then
  2484     if [[ -n &quot;${!depvar}&quot; ]]; then
  2485       hadoop_deprecate_envvar &quot;${depvar}&quot; &quot;${uvar}&quot;
  2486     fi
  2487   fi
  2488
  -&gt;2489   if [[ -n ${!uvar} ]]; then
  2490     hadoop_debug &quot;Appending ${uvar} onto HADOOP_OPTS&quot;
  2491     HADOOP_OPTS=&quot;${HADOOP_OPTS} ${!uvar}&quot;
  2492     return 0
  2493   fi
  2494 }
  
  </code></pre>
  <p>what should ı do for solve 'invalid variable name' error?</p>