AnsweredAssumed Answered

whirr script fails to install java (sun-java6-jdk)

Question asked by andrew1234 on Jul 29, 2012
Latest reply on Aug 15, 2012 by abhinav
When using the mapr-simple-ec2.properties file to launch a cluster as described here (http://www.mapr.com/doc/display/MapR/Using+Whirr+to+Install+on+Amazon+EC2), it seems that java is not properly installed.

I believe the root cause is this line in the install scripts: apt-get -y install sun-java6-jdk (http://archive.mapr.com/scripts/whirr/sun/java/install). Some googling suggests that this package has been discontinued and that the preferred package is now openjdk.

Would it be possible to update the scripts at archive.mapr.com to reflect the correct java package? Alternatively, can you suggest a CentOS-based AMI to use instead of the default listed in mapr-simple-ec2.properties? This might work since it uses rpm instead of apt to install java.

Thanks!

Outcomes