Spaces:
Paused
Paused
Update run.sh
Browse files
run.sh
CHANGED
@@ -3,8 +3,7 @@
|
|
3 |
|
4 |
set -e
|
5 |
|
6 |
-
|
7 |
-
export VESPA_CONFIGPROXY_JVMARGS="-Xms32M -Xmx32M"
|
8 |
export VESPA_CONFIGSERVERS=$(hostname)
|
9 |
export VESPA_CLI_HOME=/tmp/.vespa
|
10 |
export VESPA_CLI_CACHE_DIR=/tmp/.cache/vespa
|
@@ -16,9 +15,8 @@ cleanup() {
|
|
16 |
exit $?
|
17 |
}
|
18 |
|
19 |
-
|
20 |
-
/opt/vespa/bin/vespa-start-
|
21 |
-
/opt/vespa/bin/vespa-start-services
|
22 |
|
23 |
export HOME=/tmp/
|
24 |
cd $HOME
|
@@ -45,10 +43,10 @@ FEED_CLI_REPO="https://repo1.maven.org/maven2/com/yahoo/vespa/vespa-feed-client-
|
|
45 |
&& unzip -o vespa-feed-client-cli.zip
|
46 |
|
47 |
./vespa-feed-client-cli/vespa-feed-client \
|
48 |
-
--verbose --file feed_items.json --endpoint http://localhost:8080
|
49 |
|
50 |
./vespa-feed-client-cli/vespa-feed-client \
|
51 |
-
--verbose --file feed_reviews.json --endpoint http://localhost:8080
|
52 |
|
53 |
FORMAT="${VESPA_LOG_FORMAT:-vespa}"
|
54 |
/opt/vespa/bin/vespa-logfmt --follow --format "$FORMAT" ${VESPA_LOGFMT_ARGUMENTS} &
|
|
|
3 |
|
4 |
set -e
|
5 |
|
6 |
+
|
|
|
7 |
export VESPA_CONFIGSERVERS=$(hostname)
|
8 |
export VESPA_CLI_HOME=/tmp/.vespa
|
9 |
export VESPA_CLI_CACHE_DIR=/tmp/.cache/vespa
|
|
|
15 |
exit $?
|
16 |
}
|
17 |
|
18 |
+
VESPA_CONFIGSERVER_JVMARGS="-Xms32M -Xmx128M" /opt/vespa/bin/vespa-start-configserver
|
19 |
+
VESPA_CONFIGPROXY_JVMARGS="-Xms32M -Xmx32M" /opt/vespa/bin/vespa-start-services
|
|
|
20 |
|
21 |
export HOME=/tmp/
|
22 |
cd $HOME
|
|
|
43 |
&& unzip -o vespa-feed-client-cli.zip
|
44 |
|
45 |
./vespa-feed-client-cli/vespa-feed-client \
|
46 |
+
--verbose --file feed_items.json --show-errors --endpoint http://localhost:8080
|
47 |
|
48 |
./vespa-feed-client-cli/vespa-feed-client \
|
49 |
+
--verbose --file feed_reviews.json --show-errors --endpoint http://localhost:8080
|
50 |
|
51 |
FORMAT="${VESPA_LOG_FORMAT:-vespa}"
|
52 |
/opt/vespa/bin/vespa-logfmt --follow --format "$FORMAT" ${VESPA_LOGFMT_ARGUMENTS} &
|