I'm trying to install hadoop on my mac.
What I did are
brew install hadoop
*in hadoop-env.sh: set JAVA_HOME and HADOOP_OPTS*
Then, I tried start-dfs.sh, but the following error came up:
AL01299205:hadoop user$ /usr/local/Cellar/hadoop/3.2.1/sbin/start-dfs.sh
Starting namenodes on [AL01299205.local]
AL01299205.local: ERROR: Cannot set priority of namenode process 24897
Starting datanodes Starting secondary namenodes [AL01299205.local]
AL01299205.local: ERROR: Cannot set priority of secondarynamenode process 25147
2020-02-19 18:06:08,843 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
How can I fix this error?