New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vespa Installation Issue on Ubuntu 16.04 #3882
Comments
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. |
Not an issue @bratseth. I have used Vespa inside a Docker image. Thanks for the Quick Response. Thanks |
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. |
Yeah, Great!. Is there any way to connect the database? |
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 |
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: i have deployed that "http-api-using-searcher" project and also build vespa-engine as well. |
Are there any warnings/errors in the log when you start? Check with Does it work to write single documents using the simple HTTP API as described here?: |
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? |
Yes, i am able to get the response from localhost:8080. But, Error remains the same while executing that command. |
You mean telnet response or did you try the things I mentioned above? |
Yes, i am talking about telnet response. |
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. |
All the issues has been resolved and everything is UP and Running. I just want to know that, How vespa search the data from external database ? Please suggest me the way for the same. |
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. |
Okay. So, is there any option available to convert my DB schema to a Vespa document schema ? |
There is currently no tool that will automatically convert your DB schema to a Vespa schema no. |
Hi,
How to install vespa in ubuntu?
As i gone through readme document. In that i have executed "docker/build-vespa.sh". But it's downloading CentOS files and due to this i am not able to use vespa. I have tried to find this things on google but I was not able to find the source of Vespa for Ubuntu and also not able to find any other packaes of Vespa for Ubuntu.
Kindly help me to resolve this issue or provide me the url where I can find the Installable of Vespa for Ubuntu.
Thanks.
The text was updated successfully, but these errors were encountered: