You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Antonio Piccolboni (Created) (JIRA)" <ji...@apache.org> on 2012/03/30 20:48:28 UTC
[jira] [Created] (WHIRR-579) sun jdk install fails
sun jdk install fails
---------------------
Key: WHIRR-579
URL: https://issues.apache.org/jira/browse/WHIRR-579
Project: Whirr
Issue Type: Bug
Components: service/hadoop
Affects Versions: 0.7.1
Environment: any
Reporter: Antonio Piccolboni
Due to changes in licensing terms, automatic download from Oracle of the sunjdk is not working. Hence Hadoop installs but fails to launch. To add insult to injury, launch-cluster doesn't fail and I couldn't find a related message in the logs. Potential workarounds need to take into account that it seems like a human has to click on the dreaded Oracle TOS (disclaimer: I am not a lawyer and will never be). How to make that happen with whirr is unclear. The option of not supporting sunjdk seems unappealing as there is limited testing experience with it, I hear from people at Cloudera. But the apache hadoop compatibility page states that that sunjdk is needed only for building. Clarity on this would be helpful to plan ahead.
--
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
[jira] [Commented] (WHIRR-579) sun jdk install fails
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423887#comment-13423887 ]
Tom White commented on WHIRR-579:
---------------------------------
That's a neat idea. We could use the Whirr feature that pushes binaries to a blobstore then localizes on nodes to do this. Still some overhead though, and OpenJDK is simpler and should be the default as you say.
> sun jdk install fails
> ---------------------
>
> Key: WHIRR-579
> URL: https://issues.apache.org/jira/browse/WHIRR-579
> Project: Whirr
> Issue Type: Bug
> Components: service/hadoop
> Affects Versions: 0.7.1
> Environment: any
> Reporter: Antonio Piccolboni
> Attachments: WHIRR-579.patch
>
>
> Due to changes in licensing terms, automatic download from Oracle of the sunjdk is not working. Hence Hadoop installs but fails to launch. To add insult to injury, launch-cluster doesn't fail and I couldn't find a related message in the logs. Potential workarounds need to take into account that it seems like a human has to click on the dreaded Oracle TOS (disclaimer: I am not a lawyer and will never be). How to make that happen with whirr is unclear. The option of not supporting sunjdk seems unappealing as there is limited testing experience with it, I hear from people at Cloudera. But the apache hadoop compatibility page states that that sunjdk is needed only for building. Clarity on this would be helpful to plan ahead.
--
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
[jira] [Commented] (WHIRR-579) sun jdk install fails
Posted by "Andrew Bayer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423726#comment-13423726 ]
Andrew Bayer commented on WHIRR-579:
------------------------------------
Another option would be to do something like what Jenkins does - when configuring a Java installer in the Jenkins management UI, you have to click through and accept the license/terms/etc. But then Jenkins will cache that downloaded tarball and reuse it on any of its slaves. So if we could add a click-through behavior to the Whirr CLI, we should be able to stay in line with the terms and conditions.
But in the meantime, OpenJDK is probably the best default option, with clear documentation saying "If your app won't work on OpenJDK, you'll need to install Oracle JDK on your boxes yourself"
> sun jdk install fails
> ---------------------
>
> Key: WHIRR-579
> URL: https://issues.apache.org/jira/browse/WHIRR-579
> Project: Whirr
> Issue Type: Bug
> Components: service/hadoop
> Affects Versions: 0.7.1
> Environment: any
> Reporter: Antonio Piccolboni
> Attachments: WHIRR-579.patch
>
>
> Due to changes in licensing terms, automatic download from Oracle of the sunjdk is not working. Hence Hadoop installs but fails to launch. To add insult to injury, launch-cluster doesn't fail and I couldn't find a related message in the logs. Potential workarounds need to take into account that it seems like a human has to click on the dreaded Oracle TOS (disclaimer: I am not a lawyer and will never be). How to make that happen with whirr is unclear. The option of not supporting sunjdk seems unappealing as there is limited testing experience with it, I hear from people at Cloudera. But the apache hadoop compatibility page states that that sunjdk is needed only for building. Clarity on this would be helpful to plan ahead.
--
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
[jira] [Resolved] (WHIRR-579) sun jdk install fails
Posted by "Andrew Bayer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Bayer resolved WHIRR-579.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.8.0
Committed.
> sun jdk install fails
> ---------------------
>
> Key: WHIRR-579
> URL: https://issues.apache.org/jira/browse/WHIRR-579
> Project: Whirr
> Issue Type: Bug
> Components: service/hadoop
> Affects Versions: 0.7.1
> Environment: any
> Reporter: Antonio Piccolboni
> Assignee: Andrew Bayer
> Fix For: 0.8.0
>
> Attachments: WHIRR-579.patch, WHIRR-579.patch
>
>
> Due to changes in licensing terms, automatic download from Oracle of the sunjdk is not working. Hence Hadoop installs but fails to launch. To add insult to injury, launch-cluster doesn't fail and I couldn't find a related message in the logs. Potential workarounds need to take into account that it seems like a human has to click on the dreaded Oracle TOS (disclaimer: I am not a lawyer and will never be). How to make that happen with whirr is unclear. The option of not supporting sunjdk seems unappealing as there is limited testing experience with it, I hear from people at Cloudera. But the apache hadoop compatibility page states that that sunjdk is needed only for building. Clarity on this would be helpful to plan ahead.
--
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
[jira] [Commented] (WHIRR-579) sun jdk install fails
Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281084#comment-13281084 ]
Andrei Savu commented on WHIRR-579:
-----------------------------------
Thanks Donald for taking the time to explain.
> sun jdk install fails
> ---------------------
>
> Key: WHIRR-579
> URL: https://issues.apache.org/jira/browse/WHIRR-579
> Project: Whirr
> Issue Type: Bug
> Components: service/hadoop
> Affects Versions: 0.7.1
> Environment: any
> Reporter: Antonio Piccolboni
> Attachments: WHIRR-579.patch
>
>
> Due to changes in licensing terms, automatic download from Oracle of the sunjdk is not working. Hence Hadoop installs but fails to launch. To add insult to injury, launch-cluster doesn't fail and I couldn't find a related message in the logs. Potential workarounds need to take into account that it seems like a human has to click on the dreaded Oracle TOS (disclaimer: I am not a lawyer and will never be). How to make that happen with whirr is unclear. The option of not supporting sunjdk seems unappealing as there is limited testing experience with it, I hear from people at Cloudera. But the apache hadoop compatibility page states that that sunjdk is needed only for building. Clarity on this would be helpful to plan ahead.
--
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
[jira] [Commented] (WHIRR-579) sun jdk install fails
Posted by "Sandeep Parikh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281085#comment-13281085 ]
Sandeep Parikh commented on WHIRR-579:
--------------------------------------
Perhaps the solution is to have a patch that allows downloads from a custom location. Another option (at least on Amazon) would be to allow the use of private AMIs that have the Oracle JDK already installed (in my limited testing, this didn't seem to work).
> sun jdk install fails
> ---------------------
>
> Key: WHIRR-579
> URL: https://issues.apache.org/jira/browse/WHIRR-579
> Project: Whirr
> Issue Type: Bug
> Components: service/hadoop
> Affects Versions: 0.7.1
> Environment: any
> Reporter: Antonio Piccolboni
> Attachments: WHIRR-579.patch
>
>
> Due to changes in licensing terms, automatic download from Oracle of the sunjdk is not working. Hence Hadoop installs but fails to launch. To add insult to injury, launch-cluster doesn't fail and I couldn't find a related message in the logs. Potential workarounds need to take into account that it seems like a human has to click on the dreaded Oracle TOS (disclaimer: I am not a lawyer and will never be). How to make that happen with whirr is unclear. The option of not supporting sunjdk seems unappealing as there is limited testing experience with it, I hear from people at Cloudera. But the apache hadoop compatibility page states that that sunjdk is needed only for building. Clarity on this would be helpful to plan ahead.
--
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
[jira] [Updated] (WHIRR-579) sun jdk install fails
Posted by "Tom White (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom White updated WHIRR-579:
----------------------------
Attachment: WHIRR-579.patch
> sun jdk install fails
> ---------------------
>
> Key: WHIRR-579
> URL: https://issues.apache.org/jira/browse/WHIRR-579
> Project: Whirr
> Issue Type: Bug
> Components: service/hadoop
> Affects Versions: 0.7.1
> Environment: any
> Reporter: Antonio Piccolboni
> Attachments: WHIRR-579.patch
>
>
> Due to changes in licensing terms, automatic download from Oracle of the sunjdk is not working. Hence Hadoop installs but fails to launch. To add insult to injury, launch-cluster doesn't fail and I couldn't find a related message in the logs. Potential workarounds need to take into account that it seems like a human has to click on the dreaded Oracle TOS (disclaimer: I am not a lawyer and will never be). How to make that happen with whirr is unclear. The option of not supporting sunjdk seems unappealing as there is limited testing experience with it, I hear from people at Cloudera. But the apache hadoop compatibility page states that that sunjdk is needed only for building. Clarity on this would be helpful to plan ahead.
--
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
[jira] [Commented] (WHIRR-579) sun jdk install fails
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433474#comment-13433474 ]
Tom White commented on WHIRR-579:
---------------------------------
+1 to the latest patch.
> sun jdk install fails
> ---------------------
>
> Key: WHIRR-579
> URL: https://issues.apache.org/jira/browse/WHIRR-579
> Project: Whirr
> Issue Type: Bug
> Components: service/hadoop
> Affects Versions: 0.7.1
> Environment: any
> Reporter: Antonio Piccolboni
> Attachments: WHIRR-579.patch, WHIRR-579.patch
>
>
> Due to changes in licensing terms, automatic download from Oracle of the sunjdk is not working. Hence Hadoop installs but fails to launch. To add insult to injury, launch-cluster doesn't fail and I couldn't find a related message in the logs. Potential workarounds need to take into account that it seems like a human has to click on the dreaded Oracle TOS (disclaimer: I am not a lawyer and will never be). How to make that happen with whirr is unclear. The option of not supporting sunjdk seems unappealing as there is limited testing experience with it, I hear from people at Cloudera. But the apache hadoop compatibility page states that that sunjdk is needed only for building. Clarity on this would be helpful to plan ahead.
--
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
[jira] [Commented] (WHIRR-579) sun jdk install fails
Posted by "Tom White (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246693#comment-13246693 ]
Tom White commented on WHIRR-579:
---------------------------------
At this point I think the simplest way forward is to use OpenJDK. If this surfaces bugs when running on Hadoop etc, then let's file and fix them as they crop up. Also, this approach doesn't preclude using {{whirr.java.install-function}} to install other versions of Java using some custom code.
I will create a patch to do this.
> sun jdk install fails
> ---------------------
>
> Key: WHIRR-579
> URL: https://issues.apache.org/jira/browse/WHIRR-579
> Project: Whirr
> Issue Type: Bug
> Components: service/hadoop
> Affects Versions: 0.7.1
> Environment: any
> Reporter: Antonio Piccolboni
>
> Due to changes in licensing terms, automatic download from Oracle of the sunjdk is not working. Hence Hadoop installs but fails to launch. To add insult to injury, launch-cluster doesn't fail and I couldn't find a related message in the logs. Potential workarounds need to take into account that it seems like a human has to click on the dreaded Oracle TOS (disclaimer: I am not a lawyer and will never be). How to make that happen with whirr is unclear. The option of not supporting sunjdk seems unappealing as there is limited testing experience with it, I hear from people at Cloudera. But the apache hadoop compatibility page states that that sunjdk is needed only for building. Clarity on this would be helpful to plan ahead.
--
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
[jira] [Commented] (WHIRR-579) sun jdk install fails
Posted by "Donald Smith (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281067#comment-13281067 ]
Donald Smith commented on WHIRR-579:
------------------------------------
Hi,
I'm Donald Smith, and am a Product Manager in the Java SE PM team.
I'm sorry for the inconvenience, but it is true that the terms need to be accepted on download from Oracle. The license does allow for internal only redistribution of the installer, but not external/publicly (see [1]).
This issue has been noted elsewhere as well:
http://issues.hudson-ci.org/browse/HUDSON-9016
https://issues.jenkins-ci.org/browse/JENKINS-11039
We are aware this is an inconvenience for build communities, and others like yours, and would like to address it. Unfortunately, it's going to take some time - probably more time than you will be happy with, and I'm sorry about that, but I want to be honest.
In the meantime, we hope that using OpenJDK is viable, relying on your Linux distro, or relying on the end user to already have a JDK/JRE installed somewhere internally. I'm not familiar with the exact use cases you're dealing with, but you might also want to explore shipping the JRE with your application, which is described in more detail in [2], Section C - may not work for you, but I know it does for some.
Cheers,
- Don (@DonaldOJDK)
[1] - http://www.java.com/en/download/faq/distribution.xml
[2] - http://www.oracle.com/technetwork/java/javase/terms/license/index.html
> sun jdk install fails
> ---------------------
>
> Key: WHIRR-579
> URL: https://issues.apache.org/jira/browse/WHIRR-579
> Project: Whirr
> Issue Type: Bug
> Components: service/hadoop
> Affects Versions: 0.7.1
> Environment: any
> Reporter: Antonio Piccolboni
> Attachments: WHIRR-579.patch
>
>
> Due to changes in licensing terms, automatic download from Oracle of the sunjdk is not working. Hence Hadoop installs but fails to launch. To add insult to injury, launch-cluster doesn't fail and I couldn't find a related message in the logs. Potential workarounds need to take into account that it seems like a human has to click on the dreaded Oracle TOS (disclaimer: I am not a lawyer and will never be). How to make that happen with whirr is unclear. The option of not supporting sunjdk seems unappealing as there is limited testing experience with it, I hear from people at Cloudera. But the apache hadoop compatibility page states that that sunjdk is needed only for building. Clarity on this would be helpful to plan ahead.
--
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
[jira] [Updated] (WHIRR-579) sun jdk install fails
Posted by "Andrew Bayer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Bayer updated WHIRR-579:
-------------------------------
Attachment: WHIRR-579.patch
This tweaked patch switches to OpenJDK for now. Eventually getting a viable Oracle JDK install would be nice, but this should cover us for now.
> sun jdk install fails
> ---------------------
>
> Key: WHIRR-579
> URL: https://issues.apache.org/jira/browse/WHIRR-579
> Project: Whirr
> Issue Type: Bug
> Components: service/hadoop
> Affects Versions: 0.7.1
> Environment: any
> Reporter: Antonio Piccolboni
> Attachments: WHIRR-579.patch, WHIRR-579.patch
>
>
> Due to changes in licensing terms, automatic download from Oracle of the sunjdk is not working. Hence Hadoop installs but fails to launch. To add insult to injury, launch-cluster doesn't fail and I couldn't find a related message in the logs. Potential workarounds need to take into account that it seems like a human has to click on the dreaded Oracle TOS (disclaimer: I am not a lawyer and will never be). How to make that happen with whirr is unclear. The option of not supporting sunjdk seems unappealing as there is limited testing experience with it, I hear from people at Cloudera. But the apache hadoop compatibility page states that that sunjdk is needed only for building. Clarity on this would be helpful to plan ahead.
--
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
[jira] [Assigned] (WHIRR-579) sun jdk install fails
Posted by "Andrew Bayer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Bayer reassigned WHIRR-579:
----------------------------------
Assignee: Andrew Bayer
> sun jdk install fails
> ---------------------
>
> Key: WHIRR-579
> URL: https://issues.apache.org/jira/browse/WHIRR-579
> Project: Whirr
> Issue Type: Bug
> Components: service/hadoop
> Affects Versions: 0.7.1
> Environment: any
> Reporter: Antonio Piccolboni
> Assignee: Andrew Bayer
> Attachments: WHIRR-579.patch, WHIRR-579.patch
>
>
> Due to changes in licensing terms, automatic download from Oracle of the sunjdk is not working. Hence Hadoop installs but fails to launch. To add insult to injury, launch-cluster doesn't fail and I couldn't find a related message in the logs. Potential workarounds need to take into account that it seems like a human has to click on the dreaded Oracle TOS (disclaimer: I am not a lawyer and will never be). How to make that happen with whirr is unclear. The option of not supporting sunjdk seems unappealing as there is limited testing experience with it, I hear from people at Cloudera. But the apache hadoop compatibility page states that that sunjdk is needed only for building. Clarity on this would be helpful to plan ahead.
--
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