Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install hadoop-native libraries #2

Open
davidonlaptop opened this issue Aug 21, 2015 · 1 comment
Open

Install hadoop-native libraries #2

davidonlaptop opened this issue Aug 21, 2015 · 1 comment

Comments

@davidonlaptop
Copy link
Member

Error message

This warning occurs when using Hbase:

15/08/19 21:15:28 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable`

Impact

The HBase operation will be slower.

@bukkasamudram
Copy link

Hi davidoonlaptop,
The above error tells us Hadoop native libraries are not available in HBase context. You could probably confirm this by running below command. This command will show many false statements.

$ /usr/bin/hbase --config /etc/alternatives/hbase-conf/ org.apache.hadoop.util.NativeLibraryChecker

To solve the issue permanently gently export LD_LIBRARY_PATH environment variable in hbase-env.sh.
meanwhile you can confirm this by providing LD_LIBRARY_PATH in previous command.

$ LD_LIBRARY_PATH=/usr/lib/hadoop/lib/native/ /usr/bin/hbase --config /etc/alternatives/hbase-conf/ org.apache.hadoop.util.NativeLibraryChecker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants