Comments (9)
removing the image sounds excessive - maybe the last container is not cleaned up - what does docker ps -a -q -f status=exited
show?
from pyvespa.
Only containers unrelated to vespa when I run that command and lsof
shows that 8080 isn't in use.
I agree that removing the image is a ridiculous workaround seeing as images != containers, but yet it seems to work 🤷
from pyvespa.
I am working on reproducing the problem now
from pyvespa.
Hi again, we have found that the signal handling in the start script does not seem to properly trap the TERM signal, so stopping the container isn't correct. We are working to find out more, and a fix, will update
from pyvespa.
vespa-engine/docker-image#44 will fix the Docker stop issue and be released later this week - so can test pyvespa again then - I will update
from pyvespa.
https://hub.docker.com/r/vespaengine/vespa/tags - 8.122.27 (latest
as of today) has a fix for stopping the Docker container without the wait (link in above comment). Maybe that will help fix your issue, I don't have your problem, but I'm on intel...
Can I ask you to test again with the latest image? if still an issue, I will find someone with an M1 and try to reproduce
from pyvespa.
copy-pasting the "getting started" sample python scripts and running it twice with stop/rm between works fine for me.
this is on M1 mac, pyvespa-0.31.0 and vespa-8.122.27 versions.
% python3 dd.py
Waiting for configuration server, 0/300 seconds...
Waiting for configuration server, 5/300 seconds...
Waiting for application status, 0/300 seconds...
Waiting for application status, 5/300 seconds...
Waiting for application status, 10/300 seconds...
Waiting for application status, 15/300 seconds...
Waiting for application status, 20/300 seconds...
Waiting for application status, 25/300 seconds...
Finished deployment.
% docker stop qa
qa
% docker rm qa
qa
% python3 dd.py
Waiting for configuration server, 0/300 seconds...
Waiting for configuration server, 5/300 seconds...
Waiting for application status, 0/300 seconds...
Waiting for application status, 5/300 seconds...
Waiting for application status, 10/300 seconds...
Waiting for application status, 15/300 seconds...
Waiting for application status, 20/300 seconds...
Finished deployment.
from pyvespa.
Thanks Arne!
from pyvespa.
I can also confirm this works. Thank you @kkraune + team (and sorry for not testing the fix sooner)
from pyvespa.
Related Issues (20)
- OSError when using multiple async feed_batch() instead of feed_data_point() HOT 2
- Access to user query in reranking phase when using approximate neighbor search HOT 1
- Use rank profile inputs HOT 4
- What about increasing the minimum required Python version? HOT 1
- Add field to schema HOT 2
- No document can be fed because ostensibly there isn't enough disk space HOT 7
- Allow to add configuration to content HOT 2
- Dependency Dashboard
- Types for RankProfile.inputs HOT 1
- VespaSync::delete_all_docs only makes a single delete call HOT 1
- Better feed implementation/interface HOT 1
- Deprecation of PyVespa functionality HOT 1
- Add support for mode streaming with pyvespa HOT 1
- Add support for node resource specification and count
- Remove dependency on pandas
- Struct inconsistencie HOT 3
- Deploy with docker compose and similar setup vespa to other vector dbs HOT 5
- Manually deployed vespa with docker compose Failed to establish a new connection: [Errno 111] HOT 15
- clear explanation where does the docker container stores files HOT 1
- Type hint of RankProfile inputs HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyvespa.