adaptai / platform /dbops /binaries /janusgraph /elasticsearch /bin /elasticsearch-sql-cli
ADAPT-Chase's picture
Add files using upload-large-folder tool
3c86104 verified
#!/bin/bash
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.
CLI_PARAMETERS="$@"
source "`dirname "$0"`"/elasticsearch-env
source "$ES_HOME"/bin/x-pack-env
CLI_JAR=$(ls "$ES_HOME"/bin/elasticsearch-sql-cli-*.jar)
exec \
"$JAVA" \
"$XSHARE" \
-jar "$CLI_JAR" \
$CLI_PARAMETERS