Comments (16)
We don't provide images for Ubuntu. I guess it wouldn't be too hard to do I guess somebody would need to contribute it as we don't use Ubuntu. Perhaps you can do it?
Otherwise I suggest running Vespa inside a Docker image.
from vespa.
Not an issue @bratseth. I have used Vespa inside a Docker image. Thanks for the Quick Response.
In below line,
"curl -s --head http://localhost:8080/ApplicationStatus"
What is this "ApplicationStatus". Is it any project which runs under vespa engine ?
Above command is not giving me 200 OK result.
So, i was little bit confused. How can i resolve this? Please let me know if you have any suggestions for the same.
How can i start vespa-engine separately ?
Thanks
from vespa.
Is it any project which runs under vespa engine
It's a built-in API which provides information about status of the deployed application.
If you don't get 200 OK it means the server did not come up.
Run
vespa-logfmt
to check the log.
from vespa.
Yeah, Great!.
Now i got the 200 OK respone.
And i am able to run the Vespa 👍 .
Is there any way to connect the database?
I mean, i need to connect to the database(e.g. cassandra). So, is there any configuration i need to do in any project of vespa-engine?
from vespa.
We don't provide any Cassandra integration. Either PUT the documents one by one over HTTP, or, if you need high throughput use the Java HTTP client - http://docs.vespa.ai/documentation/vespa-http-client.html
from vespa.
Thanks for the quick response @bratseth .
java -jar $VESPA_HOME/lib/jars/vespa-http-client-jar-with-dependencies.jar --file feed.json --host localhost --port 8080
While executing above commange i am getting below error:
"Nov 01, 2017 4:48:27 PM com.yahoo.vespa.http.client.core.communication.IOThread cycle
INFO: Handshake did not work out localhost:8080 ssl=false"
i have deployed that "http-api-using-searcher" project and also build vespa-engine as well.
did i missed anything?
Please provide me some suggestion for the same.
from vespa.
Are there any warnings/errors in the log when you start? Check with
logfmt -l warning,error
Does it work to write single documents using the simple HTTP API as described here?:
http://docs.vespa.ai/documentation/document-api.html
from vespa.
The exact instructions in all our sample applications is tested by our build pipeline https://travis-ci.org/vespa-engine/documentation so most likely reason is that nothing runs on localhost:8080, can you telnet to it?
from vespa.
Yes, i am able to get the response from localhost:8080. But, Error remains the same while executing that command.
from vespa.
You mean telnet response or did you try the things I mentioned above?
from vespa.
Yes, i am talking about telnet response.
from vespa.
If you search for 'http-api-' in https://s3.amazonaws.com/archive.travis-ci.org/jobs/295691361/log.txt?X-Amz-Expires=29&X-Amz-Date=20171101T124053Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJRYRXRSVGNKPKO5A/20171101/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=a1d43b266d5b4230009588a6df8d2c071c8e3171be71a04760292880eb9173a2 you'll see how we test and execute the README.md for that particular sample application available here https://github.com/vespa-engine/sample-apps/tree/master/http-api-using-searcher so we know that these sample apps works.
vespa-logfmt (http://docs.vespa.ai/documentation/reference/logfmt.html) from inside the running docker container might give a hint about what's going on and if you are talking to a vespa or something else with forwarded to port 8080.
from vespa.
All the issues has been resolved and everything is UP and Running.
Thanks for the Support!
I just want to know that,
According to the sample-apps examples, It always search/feed and work using particular " *.json " file. If i want to change that it search from the database.. What should i need to do ?
How vespa search the data from external database ?
Is there any way to achieve this scenario ?
Please suggest me the way for the same.
Thank You!
from vespa.
You will need to export the data from the database, convert your DB schema to a Vespa document schema and index the data into Vespa using Vespa's json feed format.
from vespa.
Okay. So, is there any option available to convert my DB schema to a Vespa document schema ?
from vespa.
There is currently no tool that will automatically convert your DB schema to a Vespa schema no.
from vespa.
Related Issues (20)
- Short form for indexed tensors representing binary data requires "values" HOT 1
- Error when onnx model is fp16 HOT 3
- Generate a sample Vespa JSON payload given a Vespa tensor type
- Vespa CLI option to delete all documents in an application
- What's the difference between Tensor and Vector within other vector databases? HOT 1
- Vespa Deploy fails for application package with model files HOT 3
- Add matched-elements-only support for index fields
- Syntax support for configuring distance-metric within the field
- No 'input' query param when use "vespa query yql=xxx" HOT 4
- Support setting metrics-proxy heap size HOT 3
- All Search Nodes are crashing HOT 4
- Potential Memory Leak Issue in PrometheusModel class HOT 4
- Node coming up with latest deployed application version after being down HOT 5
- Configurable max token length
- Add embedding instruction prompt support for to hf-embedder HOT 1
- NPE while deploying HOT 1
- Cluster Crashes When Distribution Key Is Too High HOT 2
- Error code - ORT_INVALID_PROTOBUF HOT 2
- Vespa content pod created snapshot folder owned by nobody user in a high RAM situation HOT 3
- Add deploy time warning about combining paged attributes with index (hnsw) or fast-search
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 vespa.