Background problem
Recently found the following warning when executed do hbase script, but does not affect the operation, the problem screenshots:
Out of curiosity, the warning had some inquiry and resolve
Download native-hadoop
From the official website that, native-hadoop included in each release of $ HADOOP_HOME / lib / native directory, so I hadoop-2.9.2.tar.gz downloaded directly from the official website.
Configure native-hadoop
Extracting hadoop-2.9.2.tar.gz, the inside / lib / native to copy all the contents of / usr / local / lib / hadoop-native directory.
Modify / etc / profile file, add the following configuration at the end:
export JAVA_LIBRARY_PATH=/usr/local/lib/hadoop-native
After rebooting the system to perform hbase script again and found no above warning