You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/05 10:35:54 UTC
[GitHub] [pulsar] eolivelli opened a new issue #9492: Building Docker images locally is very slow while building the CXX client
eolivelli opened a new issue #9492:
URL: https://github.com/apache/pulsar/issues/9492
**Is your enhancement request related to a problem? Please describe.**
On my Mac building the docker images is very slow, and the slowest part is during the build of the CXX client
```
[ 0%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/AckGroupingTracker.cc.o
[ 0%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/AckGroupingTrackerDisabled.cc.o
[ 0%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/AckGroupingTrackerEnabled.cc.o
[ 3%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/Authentication.cc.o
[ 3%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/Backoff.cc.o
[ 3%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/BatchAcknowledgementTracker.cc.o
[ 6%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/BatchMessageContainer.cc.o
[ 6%] Building CXX object lib/CMakeFiles/pulsarStatic.dir/BatchMessageContain
....
```
I found that there would be some way to skip this part by using `skipBuildCppClient,skipBuildCppClient`
but if I enable those flags the build fails
the command is
```
cd docker
mvn clean install -Pdocker -pl pulsar
```
**Describe the solution you'd like**
To have a fast way to rebuild the images locally, in order to be quicker in debugging problems with integration tests
**Additional context**
I am on Docker Desktop on Mac, with a pretty good machine.
Probably the problem is due to how Docker Desktop deals with the disk
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] eolivelli commented on issue #9492: Building Docker images locally is very slow while building the CXX client
Posted by GitBox <gi...@apache.org>.
eolivelli commented on issue #9492:
URL: https://github.com/apache/pulsar/issues/9492#issuecomment-774094309
Cool. Thanks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] codelipenghui commented on issue #9492: Building Docker images locally is very slow while building the CXX client
Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #9492:
URL: https://github.com/apache/pulsar/issues/9492#issuecomment-1058893434
The issue had no activity for 30 days, mark with Stale label.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] codelipenghui commented on issue #9492: Building Docker images locally is very slow while building the CXX client
Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #9492:
URL: https://github.com/apache/pulsar/issues/9492#issuecomment-774076895
@eolivelli @Renkai I think RenKai is working on this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org