SAS Visual Investigator 10.8 Hot Fix16 and later requires Java11 for OpenSearch. Earlier versions of SAS Visual Investigator 10.8 allowed either Java8 or Java11 for OpenSearch.
This SAS KB article outlines the steps to install and configure OpenSearch to use Java11.
Note that issues can occur if you continue to use Java8 with OpenSearch following the update to SAS Visual Investigator 10.8 Hot Fix 16 or later, such as the following:
To circumvent this issue, complete the following steps. Note that you must install Java11 on the Linux operating system for the first four steps. Consult with your Linux operating system administrator as needed for these instructions.
1. sudo yum list available java-11*
2. sudo yum install java-11-openjdk.x86_64
3. ls -la /usr/jvm/lib | grep -i jre-11-openjdk-11
Note: Take a note of the directory name returned in this step. (This article uses the jre-11-openjdk-11.0.23.0.9-3.el8.x86_64 directory.)
4. cd /usr/jvm/lib/jre-11-openjdk-11.0.23.0.9-3.el8.x86_64
./bin/java -version
Here an example output:
Then, complete the following steps to reconfigure OpenSearch to use Java11.
5. sudo su - sas
6. vi /opt/sas/viya/config/etc/sysconfig/sas-svi-elasticsearch/default/sas-svi-elasticsearch
7. Ensure that the ES_JAVA_HOME line is uncommented and uses the directory from step #4. Here is an example:
Note: If the ES_JAVA_HOME variable is not present in the file, you can manually add it:
export ES_JAVA_HOME='/usr/lib/jvm/java-11-openjdk-11.0.23.0.9-3.el8.x86_64'
8. Save the file.
9. Repeat steps #1-8 on each OpenSearch node.
10. Then, restart each of the OpenSearch nodes: sudo systemctl restart sas-viya-svi-elasticsearch-default