whirr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Savu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WHIRR-435) sun-java6-jdk installation fails in install_java_deb() function on Ubuntu 11.10 AMI
Date Sun, 05 Feb 2012 21:09:59 GMT

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

Andrei Savu commented on WHIRR-435:
-----------------------------------

Can you use WHIRR-454 as an workaround? 
                
> sun-java6-jdk installation fails in install_java_deb() function on Ubuntu 11.10 AMI
> -----------------------------------------------------------------------------------
>
>                 Key: WHIRR-435
>                 URL: https://issues.apache.org/jira/browse/WHIRR-435
>             Project: Whirr
>          Issue Type: Bug
>          Components: service/cdh
>    Affects Versions: 0.5.0
>         Environment: Running Apache Whirr 0.5.0-cdh3u2 on Ubuntu 11.04
>            Reporter: Steven Bruce
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: install_java.sh.patch, whirr.log, whirr.properties
>
>
> Whirr fails to correctly setup a hadoop cluster because the installation of java fails
on the Ubuntu 11.10 AMI. The cluster actually starts but Java and Hadoop are not present on
the EC2 instances.
> Extract from whirr.log 
> {code}
> 2011-11-17 16:15:19,063 DEBUG [jclouds.compute] (user thread 2) << stderr from
setup-steve as ubuntu@122.248.231.156
> sun-java6-jre   shared/present-sun-dlj-v1-1     note
> '
> + apt-get -y install sun-java6-jdk
> E: Package 'sun-java6-jdk' has no installation candidate
> + echo 'export JAVA_HOME=/usr/lib/jvm/java-6-sun'
> + export JAVA_HOME=/usr/lib/jvm/java-6-sun
> + JAVA_HOME=/usr/lib/jvm/java-6-sun
> + java -version
> /tmp/setup-steve.sh: line 161: java: command not found
> + exit 1
> {code}
> Here is my whirr.properties
> {code}
> whirr.cluster-name=stevecluster 
> whirr.instance-templates=1 hadoop-jobtracker+hadoop-namenode,2 hadoop-datanode+hadoop-tasktracker

> whirr.provider=aws-ec2
> whirr.location-id=ap-southeast-1a
> whirr.hardware-id=m1.small
> whirr.image-id=ap-southeast-1/ami-82047ed0
> whirr.identity=...
> whirr.credential=...
> whirr.private-key-file=/home/steve/.ssh/whirr
> whirr.public-key-file=/home/steve/.ssh/whirr.pub
> whirr.hadoop-install-function=install_cdh_hadoop
> whirr.hadoop-configure-function=configure_cdh_hadoop
> {code}
> I've tried the same thing with the 11.04 image (ami-72255f20) and it works correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message