-
Notifications
You must be signed in to change notification settings - Fork 357
Unable to fully build (Docker image), tests failed for caffe-distri #205
Comments
Hi @baristahell , How did you set up Hadoop and Spark for the Docker Image ? Were you able to |
Hello @arundasan91 , i have a similar Dockerfile as https://hub.docker.com/r/cimenx/caffeonspark/~/dockerfile/ , so the Hadoop and Spark installations are managed by the CaffeOnSpark scripts, i didn't change this part. I haven't done any kind of ssh into localhost yet. |
@baristahell java.lang.UnsatisfiedLinkError: no caffedistri in java.library.path It's likely your LD_LIBRARY_PATH was not set properly. somewhere you should have libcaffedistri.so after compilation, then LD_LIBRARY_PATH should be set accordingly. |
@baristahell , Please check whether:
I have a working docker container. I had to make sure that Hadoop is working fine. Also, in the dockerfile you shared, please correct the ENV variables. Some of them have |
To set the LD_LIBRARY_PATH, please include this to your docker file
|
Thanks for the answers. Ok so i already had the library path already set but after the If you have the time to check the Dockerfile i use i'll put it there, i don't really see what's wrong and i bet there's a lot. If you're able to share your Dockerfile it would be amazing, i'm struggling with this thing.
(I just realized i cloned the repo from cimenx and not from yahoo, but same error again) |
@baristahell , I will take a look at the Dockerfile.
Please add this to your docker file for passwordless SSH.
Since you are only getting
I hope I will be able to push a Dockerfile to CaffeOnSpark repo soon. Will definitely update here as well. |
In the mean time, please check whether this docker image works for you.
Tag is You'll have to continue from |
@baristahell , If you do not want to download the image as such, there is a |
Thanks for the help! I'll check that tomorrow and will keep you updated. |
Great. Take your time. |
First update: the image works and i am able to create a working container. The only issue for now was that YARN_CONFIG_DIR wasn't defined and i had to set it manually before submitting the test job. |
@baristahell , Thanks for the update. I had to give either HADOOP_CONF_DIR or YARN_CONF_DIR. So I chose the former. Should have defined both. Will surely update the image. While using the dockerfile mentioned in the PR, you will have to copy the supporting files in config directory as well. YARN_CONF_DIR should be updated in the dockerfile too, if required. Thanks. |
Adding this to the docker file will mitigate the error that you faced:
I should have missed the HADOOP_CONF_DIR in the image uploaded to docker hub. |
So, I'm trying to build a docker image for CaffeOnSpark, but the make step doesn't work. I based my Dockerfile on the CaffeOnSpark tutorial and added OpenBlas and Protobuf (had issues because they were missing). Still, I have issues about the test step that prevent me from successfully building the image. Can you help me? I don't really get it.
(It seems to work until there but i start getting some warnings. Not sure if they're that problematic though)
You can see here that the building step was successful
The text was updated successfully, but these errors were encountered: