-
Notifications
You must be signed in to change notification settings - Fork 37
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
Dockerfile - Add hadoop native libraries #8
Comments
No need to compile the native libs. I was able to compile hadoop and the native libs, along with another Dockerfile (locally), but since the native libs are already included in the binary package that reside in the gelog/hadoop image, I don't see the point of doing this. The easy fix is to install the right Ubuntu packages and set HADOOP_OPTS properly in the Dockerfile. The only lib that does not work properly is the native bzip2. However It looks from the link you provided that they were not able to compile with bzip2 either.. After applying the patch :
|
Great! I don't know about the bzip2. Do you have this issue on your cluster? |
Nope...works on our cluster
|
Maybe the hadoop version has not been compiled with libbz2 ?
|
Technically, hadoop native libraries have been installed, but a problem remains with the bzip2. See #29 for more details. |
When starting any HDFS daemon, we get this warning:
Install the hadoop native libraries as a separate RUN instruction.
http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/NativeLibraries.html
The text was updated successfully, but these errors were encountered: