-
Notifications
You must be signed in to change notification settings - Fork 601
Compilation error in a container #2877
Comments
@comes5 - can you include what error you are getting? |
Alternatively you could use the docker image at
it has everything installed already. |
The error I am mentioning is in the log file I posted:
The problem is that I want to use Dhalion to implement new policies for Heron so I need to modify the source code and doing some tests with it. |
Can you clarify if you are using the Docker containers defined in the Heron repo (docker/compile) or you are constructing your own? |
Just constructing it on my own using the ubuntu default container. |
I would recommend using the dockerfiles in the |
Ok tried to compile using the instructions in /docker/Readme.md but there seem to be another error: |
So, I am trying with virtualbox now, following the heron documentation with ubuntu 16.04. So far no errors from thrift and scribe, but the build fails after a long time building: |
Have you checked out one of the release tags or are you building from the head of the master branch? Try checking out the latest tag, 0.17.8, and compiling from there? |
Solved, Bazel couldn't find the .git directory which I had removed. One question though: do I have to build everything if I modify only one component and I want to test it? |
@comes5 In short, Yes. You'll need to build the whole project to get the core jars for testing. But since bazel is smart enough to do the incremental building, it will only build targets affected by your changes after the initial full building. |
I am trying to build incubator-heron master in a container with Ubuntu, I managed to install everything but bazel when building the heron folder gives me an error, probably related to Python.
Can someone help me? I have attached all the output from the build comand, specifically
bazel build --config=ubuntu heron/...
output.log
The text was updated successfully, but these errors were encountered: