vespa-engine / sample-apps Goto Github PK
View Code? Open in Web Editor NEWRepository of sample applications for https://vespa.ai, the open big data serving engine
Home Page: https://github.com/vespa-engine/sample-apps
License: Apache License 2.0
Repository of sample applications for https://vespa.ai, the open big data serving engine
Home Page: https://github.com/vespa-engine/sample-apps
License: Apache License 2.0
Refer to the following link to deploy vespa on a three-node self-built kubernetes cluster.
https://github.com/vespa-engine/sample-apps/tree/master/examples/operations/multinode-HA/gke
Among them, service-query.yml and service-feed.yml are two configuration files. Since they are deployed locally, the type is changed from the default LoadBalancer to ClusterIP.
Please help me see how to solve it.
After the node is deployed, it looks like this:
vespa-admin-0 1/1 Running 0 18m
vespa-configserver-0 1/1 Running 0 45m
vespa-configserver-1 1/1 Running 0 45m
vespa-configserver-2 1/1 Running 0 45m
vespa-content-0 1/1 Running 0 18m
vespa-content-1 1/1 Running 0 18m
vespa-feed-container-0 1/1 Running 0 18m
vespa-feed-container-1 1/1 Running 0 18m
vespa-query-container-0 1/1 Running 0 18m
vespa-query-container-1 1/1 Running 0 18m
After deployment, the pod keeps reporting the following error:
vespa-configserver-0:
[2024-03-12 09:24:25.799] WARNING logd logdemon.vespalib.net.async_resolver could not resolve host name: 'vespa-admin-0.vespa-internal.default.svc.cluster.local'
[2024-03-12 09:25:30.805] WARNING logd logdemon.vespalib.net.async_resolver could not resolve host name: 'vespa-admin-0.vespa-internal.default.svc.cluster.local'
[2024-03-12 09:26:33.940] WARNING config-sentinel sentinel.vespalib.net.async_resolver could not resolve host name: 'vespa-content-0.vespa-internal.default.svc.cluster.local'
[2024-03-12 09:26:33.943] WARNING config-sentinel sentinel.vespalib.net.async_resolver could not resolve host name: 'vespa-content-1.vespa-internal.default.svc.cluster.local'
[2024-03-12 09:26:33.945] WARNING config-sentinel sentinel.vespalib.net.async_resolver could not resolve host name: 'vespa-feed-container-0.vespa-internal.default.svc.cluster.local'
[2024-03-12 09:26:33.947] WARNING config-sentinel sentinel.vespalib.net.async_resolver could not resolve host name: 'vespa-feed-container-1.vespa-internal.default.svc.cluster.local'
[2024-03-12 09:26:33.949] WARNING config-sentinel sentinel.vespalib.net.async_resolver could not resolve host name: 'vespa-query-container-0.vespa-internal.default.svc.cluster.local'
[2024-03-12 09:26:33.951] WARNING config-sentinel sentinel.vespalib.net.async_resolver could not resolve host name: 'vespa-query-container-1.vespa-internal.default.svc.cluster.local'
[2024-03-12 09:27:45.620] WARNING slobrok vespa-slobrok.slobrok.server.exchange_manager Peer slobrok at tcp/vespa-configserver-1.vespa-internal.default.svc.cluster.local:19099 may have problems, differences from consensus map: \nmissing: music/search/cluster.music/1/realtimecontroller->tcp/vespa-content-1.vespa-internal.default.svc.cluster.local:19103\nmissing: storage/cluster.music/distributor/1->tcp/vespa-content-1.vespa-internal.default.svc.cluster.local:19110\nmissing: storage/cluster.music/distributor/1/default->tcp/vespa-content-1.vespa-internal.default.svc.cluster.local:19109\nmissing: storage/cluster.music/storage/0->tcp/vespa-content-0.vespa-internal.default.svc.cluster.local:19101\nmissing: storage/cluster.music/storage/0/default->tcp/vespa-content-0.vespa-internal.default.svc.cluster.local:19100\nmissing: storage/cluster.music/storage/1->tcp/vespa-content-1.vespa-internal.default.svc.cluster.local:19101\nmissing: storage/cluster.music/storage/1/default->tcp/vespa-content-1.vespa-internal.default.svc.cluster.local:19100
vespa-content-1:
[2024-03-12 09:27:13.062] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:13.062] WARNING config-sentinel sentinel.sentinel.env Bad network connectivity (try 11)
[2024-03-12 09:27:16.064] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:16.064] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:19.065] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:19.065] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:22.067] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:22.067] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:25.068] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:25.068] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:28.069] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:28.070] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:31.071] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:31.071] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:34.081] WARNING config-sentinel sentinel.sentinel.connectivity 5 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:37.089] WARNING config-sentinel sentinel.sentinel.connectivity 5 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:40.097] WARNING config-sentinel sentinel.sentinel.connectivity 5 of 10 nodes up but with network connectivity problems (max is 1)
vespa-feed-container-1:
[2024-03-12 09:27:06.592] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:09.594] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:09.594] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:09.594] WARNING config-sentinel sentinel.sentinel.env Bad network connectivity (try 11)
[2024-03-12 09:27:12.595] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:12.595] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:15.597] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:15.597] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:18.598] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:18.598] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:21.599] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:21.599] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:24.601] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:24.601] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:27.602] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:27.602] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:30.604] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:30.604] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:33.606] WARNING config-sentinel sentinel.sentinel.connectivity 4 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:33.606] WARNING config-sentinel sentinel.sentinel.connectivity Only 1 of 10 nodes are up and OK, 10.0% (min is 50%)
[2024-03-12 09:27:36.614] WARNING config-sentinel sentinel.sentinel.connectivity 5 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:39.617] WARNING config-sentinel sentinel.sentinel.connectivity 2 of 10 nodes up but with network connectivity problems (max is 1)
[2024-03-12 09:27:39.617] WARNING config-sentinel sentinel.sentinel.env Bad network connectivity (try 21)
Hi,
I'm getting the following error when building the sample multilingual-search
JDisc exiting: Throwable caught: \nexception=\ncom.yahoo.container.di.componentgraph.core.ComponentNode$ComponentConstructorException: Error constructing 'e5' of type 'ai.vespa.embedding.huggingface.HuggingFaceEmbedder': null\nCaused by: java.lang.IllegalArgumentException: Model does not contain required input: 'token_type_ids'. Model contains: input_ids,attention_mask\n\tat ai.vespa.embedding.huggingface.HuggingFaceEmbedder.validateName(HuggingFaceEmbedder.java:87)\n\tat ai.vespa.embedding.huggingface.HuggingFaceEmbedder.validateModel(HuggingFaceEmbedder.java:78)\n
This error occurs only if I use E5 onnx obtained from the optimum-cl export onnx
, but if works fine if I use the model available from the alternative source:
https://data.vespa.oath.cloud/sample-apps-data/m-e5-small/model.onnx
The difference between both models if that the working version is configured to receive has inputs "token_type_ids". However, the E5 multilingual was trained from a XLM-RoBERTa that does not use token_type_ids, meaning that optimum-cl export onnx
seems to be working ok.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These branches will be created by Renovate only once you click their checkbox below.
org.immutables:gson
, org.immutables:value
)org.apache.lucene:lucene-analysis-stempel
, org.apache.lucene:lucene-analysis-opennlp
, org.apache.lucene:lucene-analysis-common
, org.apache.lucene:lucene-core
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
Gemfile
ruby >=2.6
jekyll '>= 4.2.1'
rake undefined
html-proofer undefined
examples/operations/monitoring/album-recommendation-monitoring/docker-compose.yml
examples/operations/multinode-HA/docker-compose.yaml
examples/operations/monitoring/album-recommendation-monitoring/album-recommendation-random-data/Dockerfile
maven 3.9.5-eclipse-temurin-17
semantic-qa-retrieval/Dockerfile
.github/workflows/feed.yml
actions/checkout v4
ruby/setup-ruby v1
actions/setup-python v4
examples/google-cloud/cloud-functions/go/go.mod
go 1.19
cloud.google.com/go/storage v1.39.0
github.com/GoogleCloudPlatform/functions-framework-go v1.8.0
album-recommendation-java/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
billion-scale-image-search/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
org.codehaus.mojo:exec-maven-plugin 3.2.0
billion-scale-vector-search/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
dense-passage-retrieval-with-ann/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
com.yahoo.vespa:linguistics-components [8,9)
examples/document-processing/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
examples/embedding-service/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
examples/generic-request-processing/pom.xml
com.yahoo.vespa:container 8.324.16
com.yahoo.vespa:container-test 8.324.16
org.junit.jupiter:junit-jupiter 5.10.1
org.apache.maven.plugins:maven-compiler-plugin 3.12.1
org.apache.maven.plugins:maven-surefire-plugin 3.2.5
com.yahoo.vespa:vespa-application-maven-plugin 8.324.16
com.yahoo.vespa:bundle-plugin 8.324.16
org.codehaus.mojo:versions-maven-plugin 2.16.2
org.apache.maven.plugins:maven-antrun-plugin 3.1.0
examples/http-api-using-request-handlers-and-processors/pom.xml
com.yahoo.vespa:container 8.324.16
com.yahoo.vespa:container-test 8.324.16
org.junit.jupiter:junit-jupiter 5.10.1
org.apache.maven.plugins:maven-compiler-plugin 3.12.1
org.apache.maven.plugins:maven-surefire-plugin 3.2.5
com.yahoo.vespa:vespa-application-maven-plugin 8.324.16
com.yahoo.vespa:bundle-plugin 8.324.16
org.codehaus.mojo:versions-maven-plugin 2.16.2
org.apache.maven.plugins:maven-antrun-plugin 3.1.0
examples/joins/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
examples/lucene-linguistics/advanced-configuration/pom.xml
org.apache.lucene:lucene-analysis-stempel 9.8.0
com.yahoo.vespa:lucene-linguistics 8.324.16
com.yahoo.vespa:linguistics 8.324.16
com.yahoo.vespa:application 8.324.16
org.junit.jupiter:junit-jupiter 5.10.1
com.yahoo.vespa:bundle-plugin 8.324.16
com.yahoo.vespa:vespa-application-maven-plugin 8.324.16
org.apache.maven.plugins:maven-compiler-plugin 3.12.1
examples/lucene-linguistics/going-crazy/pom.xml
com.yahoo.vespa:lucene-linguistics 8.324.16
org.apache.lucene:lucene-core 9.8.0
org.apache.lucene:lucene-analysis-common 9.8.0
org.apache.lucene:lucene-analysis-opennlp 9.8.0
org.apache.lucene:lucene-analysis-stempel 9.8.0
eu.hlavki.text:jlemmagen 1.0
com.yahoo.vespa:linguistics 8.324.16
com.yahoo.vespa:application 8.324.16
org.junit.jupiter:junit-jupiter 5.10.1
com.yahoo.vespa:bundle-plugin 8.324.16
com.yahoo.vespa:vespa-application-maven-plugin 8.324.16
org.apache.maven.plugins:maven-compiler-plugin 3.12.1
examples/lucene-linguistics/minimal/pom.xml
com.yahoo.vespa:lucene-linguistics 8.324.16
com.yahoo.vespa:linguistics 8.324.16
com.yahoo.vespa:application 8.324.16
com.yahoo.vespa:bundle-plugin 8.324.16
com.yahoo.vespa:vespa-application-maven-plugin 8.324.16
org.apache.maven.plugins:maven-compiler-plugin 3.12.1
examples/multiple-bundles-lib/pom.xml
com.yahoo.vespa:container 8.324.16
com.yahoo.vespa:container-test 8.324.16
org.junit.jupiter:junit-jupiter 5.10.1
com.yahoo.vespa:bundle-plugin 8.324.16
org.apache.maven.plugins:maven-compiler-plugin 3.12.1
org.apache.maven.plugins:maven-surefire-plugin 3.2.5
org.codehaus.mojo:versions-maven-plugin 2.16.2
examples/multiple-bundles/pom.xml
com.yahoo.vespa:container 8.324.16
com.yahoo.vespa:container-test 8.324.16
org.junit.jupiter:junit-jupiter 5.10.1
com.yahoo.vespa:bundle-plugin 8.324.16
org.apache.maven.plugins:maven-dependency-plugin 3.6.1
com.yahoo.vespa:vespa-application-maven-plugin 8.324.16
org.apache.maven.plugins:maven-compiler-plugin 3.12.1
org.apache.maven.plugins:maven-surefire-plugin 3.2.5
org.codehaus.mojo:versions-maven-plugin 2.16.2
examples/operations/monitoring/album-recommendation-monitoring/album-recommendation-random-data/pom.xml
org.immutables:value 2.10.0
org.immutables:gson 2.10.0
com.yahoo.vespa:vespa-feed-client 8.324.16
org.apache.maven.plugins:maven-compiler-plugin 3.12.1
org.apache.maven.plugins:maven-assembly-plugin 3.6.0
org.apache.maven.plugins:maven-jar-plugin 3.3.0
examples/predicate-fields/pom.xml
com.yahoo.vespa:container 8.324.16
com.yahoo.vespa:container-test 8.324.16
org.junit.jupiter:junit-jupiter 5.10.1
org.apache.maven.plugins:maven-compiler-plugin 3.12.1
org.apache.maven.plugins:maven-surefire-plugin 3.2.5
com.yahoo.vespa:vespa-application-maven-plugin 8.324.16
com.yahoo.vespa:bundle-plugin 8.324.16
org.codehaus.mojo:versions-maven-plugin 2.16.2
org.apache.maven.plugins:maven-antrun-plugin 3.1.0
examples/vespa-chinese-linguistics/pom.xml
com.yahoo.vespa:component 8.324.16
com.yahoo.vespa:config-lib 8.324.16
com.yahoo.vespa:configdefinitions 8.324.16
com.yahoo.vespa:opennlp-linguistics 8.324.16
com.google.inject:guice 7.0.0
com.huaban:jieba-analysis 1.0.3
org.junit.jupiter:junit-jupiter 5.10.1
org.apache.maven.plugins:maven-compiler-plugin 3.12.1
com.yahoo.vespa:bundle-plugin 8.324.16
com.yahoo.vespa:config-class-plugin 8.324.16
incremental-search/search-as-you-type/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
incremental-search/search-suggestions/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
model-inference/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
news/app-6-recommendation-with-searchers/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
news/app-7-parent-child/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
pom.xml
text-image-search/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
org.codehaus.mojo:exec-maven-plugin 3.2.0
text-search/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
org.apache.httpcomponents:httpclient 4.5.14
org.apache.httpcomponents:httpcore 4.4.16
use-case-shopping/pom.xml
com.yahoo.vespa:cloud-tenant-base [8,9)
org.apache.httpcomponents:httpclient 4.5.14
org.apache.httpcomponents:httpcore 4.4.16
org.codehaus.mojo:exec-maven-plugin 3.2.0
dense-passage-retrieval-with-ann/requirements.txt
torch ==1.10.2
transformers ==4.10.3
onnxruntime ==1.9.0
examples/google-cloud/cloud-functions/python/requirements.txt
functions-framework ==3.*
news/requirements.txt
semantic-qa-retrieval/py-requirements.txt
tensorflow_text >=2.0.0rc0
numpy <1.26.3
test/requirements.txt
text-image-search/src/python/requirements.txt
torch == 1.*
pyvespa >= 0.34.0
text-search/src/python/requirements.txt
tensorflow >=2.0.0
tensorflow_hub >=0.6.0
text-video-search/src/python/requirements.txt
examples/operations/monitoring/vespa-grafana-terraform/main.tf
grafana >= 1.28.2
examples/operations/monitoring/vespa-grafana-terraform/modules/alerts/main.tf
grafana >= 1.28.2
examples/operations/monitoring/vespa-grafana-terraform/modules/dashboards/main.tf
grafana >= 1.28.2
Hey. Is there any chance you have this dataset cached locally and can send it to me?
https://huggingface.co/datasets/ChristophSchuhmann/improved_aesthetics_6plus
I'm going to train miniSDXL (like lambdalabs/miniSD-diffusers, but for SDXL) and need the exact same dataset which was used here...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.