We are trying to set up Datastax Enterprise cluster on AWS. We want to use the community Datastax AMI that is provided by https://github.com/riptano/ComboAMI/
Before Datastax Enterprise 5.0 edition, we were installing 4.8, entire process was running OK.
Today, when we wanted to install cluster following usual procedure explained here , we get following error in
~/datastax_ami/ami.log
trace:
[INFO] Checking for 15 seconds to ensure Cassandra stays up...
[EXEC] 06/30/16-10:47:38 nodetool info:
DSE 5.0 requires Java 8u40 or later.
[EXEC] 06/30/16-10:47:39 nodetool info:
DSE 5.0 requires Java 8u40 or later.
[EXEC] 06/30/16-10:47:40 nodetool info:
DSE 5.0 requires Java 8u40 or later.
[EXEC] 06/30/16-10:47:42 nodetool info:
DSE 5.0 requires Java 8u40 or later.
[ERROR] 06/30/16-10:47:43 sudo service datastax-agent restart:
datastax-agent: unrecognized service
It seems that DSE 5.0 requires java 1.8, while java 1.7 is being installed, which I confirmed by executing on one of the machines in the cluster:
java -version
Result was
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
Also, when we tried installing previous versions of DSE on AWS using AMI, we were also getting errors.
Why there is no Java 1.8 available in AMI distribution?
Thank you