BookmarkSubscribeRSS Feed
xxx6
Fluorite | Level 6

Hello guys.

 

I am trying to install all SAS Viya 3.5 software on a single server (RHEL 8.6). All my sources are good enough.

 

But when I run site.yml, while doing all the installations and running the services, I get a Java related error at the ElasticSearch step.

 

The SAS Viya 3.5 environment uses Java 8, but ElasticSeach requires Java 11. For this, although I have defined the ES_JAVA_HOME variable to show Java 11, it sees Java 8 installed in the Viya 3.5 distribution and gives an error saying Java 11 is required.

 

/opt/sas/viya/var/log/svi-elasticsearch/startup_err

bursal_0-1668328481365.png

bursal_1-1668328504211.png

bursal_2-1668328549124.png

 

3 REPLIES 3
Gordhan
Fluorite | Level 6

Did you resolve it ??

Brian_MN_US
SAS Employee

in vars.yml if sas_install_java is false, it looks to sasenv_java_home for java 8. if no path is listed it looks to the environment variable $JAVA_HOME, if that isn't found the deployment will stop. (This basic text is provided in vars.ym). Try creating JAVA_HOME= pointing to java 8 and keeping the ES_JAVA_HOME for ElasticSearch or let the playbook install java (sas_install_java: true). 

Sajid01
Meteorite | Level 14

From the screen shots posted, there are two things pointed out.
First:  For future versions of elastic search java 11 is needed. This is only an informational message.

  From the subsequent screen shots, you have shown that java 11 is installed. But hat is not the default java for the userid running the program. Suggestions from @SultanX and install documents should help in changing the default java. 
Under such circumstances I would prefer to remove the default open-jdk-1.8   and install 0pen-jdk-11. 

Second: The second is the error notification. This is the error message. Correlating with the first message I suspect java version is not the cause. Please refer to elastic search documentation or approach the vendor for assistantancd.

 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1705 views
  • 0 likes
  • 4 in conversation