[ 
https://issues.apache.org/jira/browse/CONNECTORS-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086994#comment-17086994
 ] 

Karl Wright commented on CONNECTORS-1639:
-----------------------------------------

It looks like we can reverse engineer the startup script here:

{code}
test-materials/elasticsearch-7.6.2/bin/elasticsearch"
{code}

The basic daemon runner is:

{code}
  exec \
    "$JAVA" \
    $ES_JAVA_OPTS \
    -Des.path.home="$ES_HOME" \
    -Des.path.conf="$ES_PATH_CONF" \
    -Des.distribution.flavor="$ES_DISTRIBUTION_FLAVOR" \
    -Des.distribution.type="$ES_DISTRIBUTION_TYPE" \
    -Des.bundled_jdk="$ES_BUNDLED_JDK" \
    -cp "$ES_CLASSPATH" \
    org.elasticsearch.bootstrap.Elasticsearch \
    "$@"
{code}

This can be shelled out easily enough in Java, BUT we'd also need to make sure 
it comes up before starting the test.


> Upgrade Elastic Search Version
> ------------------------------
>
>                 Key: CONNECTORS-1639
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1639
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Elastic Search connector
>            Reporter: Cihad Guzel
>            Assignee: Karl Wright
>            Priority: Major
>             Fix For: ManifoldCF 2.16
>
>         Attachments: CONNECTORS-1639.diff, 
> elastic-search-1.0.1-java11-build-error.log
>
>
> Current Elastic Search version is 1.0.1 . According to [this 
> matrix|https://www.elastic.co/support/matrix#matrix_jvm], Java 11 is not 
> supported by any ES version below 6.5.
> Besides, ES 1.x is no longer supported.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to