[ 
https://issues.apache.org/jira/browse/BUILDS-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14341120#comment-14341120
 ] 

Colin Patrick McCabe commented on BUILDS-60:
--------------------------------------------

Docker is an interesting suggestion.  Is there a howto for setting it up?

Most of our dependencies are downloaded either through Maven (for the Java 
code) or go (for the go code).  leveldb is a native library that we are using 
that can't be handled this way.  At the moment, go, java, and leveldb are the 
only dependencies.  In the future, we are going to add a native client which 
will require CMake and libcurl-devel.

To be honest I don't think hunting down the dependencies will ever be that 
hard.  {{apt-get install leveldb-devel cmake libcurl-devel java}} and you're 
done.  Well, that and some env vars, like JAVA_HOME and so on, but I think most 
of our users are familiar with that already.

I would encourage most developers to just install the dependencies themselves 
rather than use a docker image.  But maybe a docker image could be helpful on 
jenkins, to ensure that all the jenkins nodes are running the same thing.  We 
had a lot of problems with different slaves having a different environment on 
Hadoop, at one point.

> leveldb on the ubuntu/hadoop boxes?
> -----------------------------------
>
>                 Key: BUILDS-60
>                 URL: https://issues.apache.org/jira/browse/BUILDS-60
>             Project: Infra Build Platform
>          Issue Type: Task
>            Reporter: stack
>
> incubator-htrace stores traces in leveldb. Trying to setup builds for 
> incubator-htrace, we fail because the package is missing.
> "You must install the leveldb-devel package (or distro-specific equivalent.)"
> Here is set of boxes we were trying to use:
> (ubuntu&&!ubuntu-3||Hadoop) && !jenkins-cloud-4GB && !H11
> Can we have leveldb installed on these or if not, where can we have it 
> installed? Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to