FAQ
Does anybody know if there is a jdk6 available for Mac? I checked the apple developer site, and there doesn't seem to be one available, despite blogs from last year claiming apple was distributing it.

Since I do my development work on a Mac, switching to jdk6 would be very difficult for me if I can't find a darwin jdk6. I need to be able to build job jars and patch hadoop.

-Michael

On 10/12/07 10:12 AM, "Doug Cutting" wrote:

Owen O'Malley wrote:
That is a mistake of some sort. It was _not_ intended. I assume you are
using the release tarball off of the website? It might have been
compiled with java 1.6 instead of 1.5.
Yes, it seems I built the 0.14.2 release using 1.6 by accident. Sorry!
If this is a blocker for folks, please file an issue in Jira and I
will make a 0.14.3 tarball that's compiled with Java 1.5 instead.
I believe the QA framework runs
the unit tests under 1.5 to ensure that we don't break 1.5 compatibility
accidently.
Yes, that is the case. Hudson uses Java 1.5.
I do think it is worth changing the requirement up to java 1.6, but of
course not as a patch release. *smile* (The performance of socket
polling is much much better under 1.6.) I would not recommend running
Hadoop under java 1.5 unless you don't have a choice.
Can you please file an issue in Jira for this? Then folks can weigh in
there.

Doug

Search Discussions

  • Doug Cutting at Oct 12, 2007 at 6:11 pm

    Michael Bieniosek wrote:
    Does anybody know if there is a jdk6 available for Mac? I checked the apple developer site, and there doesn't seem to be one available, despite blogs from last year claiming apple was distributing it.

    Since I do my development work on a Mac, switching to jdk6 would be very difficult for me if I can't find a darwin jdk6. I need to be able to build job jars and patch hadoop.
    JDK6 has been available as a "developer preview" for Mac for a while.
    Is there a problem with that version?

    http://lists.apple.com/archives/Java-dev/2006/Jul/msg00064.html

    Doug
  • Torsten Curdt at Oct 12, 2007 at 10:02 pm

    On 12.10.2007, at 20:10, Doug Cutting wrote:

    Michael Bieniosek wrote:
    Does anybody know if there is a jdk6 available for Mac? I checked
    the apple developer site, and there doesn't seem to be one
    available, despite blogs from last year claiming apple was
    distributing it.
    Since I do my development work on a Mac, switching to jdk6 would
    be very difficult for me if I can't find a darwin jdk6. I need to
    be able to build job jars and patch hadoop.
    JDK6 has been available as a "developer preview" for Mac for a
    while. Is there a problem with that version?
    Yepp ...some APIs weren't finalized. (e.g. JSR199 is not compatible)

    cheers
    --
    Torsten
  • Bob Futrelle at Oct 12, 2007 at 6:13 pm
    Wait a few weeks. jdk6 (jse 6) should be in the Leopard Mac OS X
    release, c. 26 Oct.

    - rpf
    On 10/12/07, Michael Bieniosek wrote:
    Does anybody know if there is a jdk6 available for Mac? I checked the apple developer site, and there doesn't seem to be one available, despite blogs from last year claiming apple was distributing it.

    Since I do my development work on a Mac, switching to jdk6 would be very difficult for me if I can't find a darwin jdk6. I need to be able to build job jars and patch hadoop.

    -Michael

    On 10/12/07 10:12 AM, "Doug Cutting" wrote:

    Owen O'Malley wrote:
    That is a mistake of some sort. It was _not_ intended. I assume you are
    using the release tarball off of the website? It might have been
    compiled with java 1.6 instead of 1.5.
    Yes, it seems I built the 0.14.2 release using 1.6 by accident. Sorry!
    If this is a blocker for folks, please file an issue in Jira and I
    will make a 0.14.3 tarball that's compiled with Java 1.5 instead.
    I believe the QA framework runs
    the unit tests under 1.5 to ensure that we don't break 1.5 compatibility
    accidently.
    Yes, that is the case. Hudson uses Java 1.5.
    I do think it is worth changing the requirement up to java 1.6, but of
    course not as a patch release. *smile* (The performance of socket
    polling is much much better under 1.6.) I would not recommend running
    Hadoop under java 1.5 unless you don't have a choice.
    Can you please file an issue in Jira for this? Then folks can weigh in
    there.

    Doug

  • Colin Evans at Oct 12, 2007 at 6:14 pm
    Apple used to have a beta 1.6 JDK available, but it looks like it was
    pulled from their developer site recently. I tried using the beta a
    while back, and found that some apps wouldn't work with it, so it might
    not be a good solution anyways.

    I'm a bit confused by this discussion though. How would compiling the
    jars with Java 1.5 and running on 1.6 degrade performance (assuming that
    the jars don't use any new 1.6 APIs)?


    Michael Bieniosek wrote:
    Does anybody know if there is a jdk6 available for Mac? I checked the apple developer site, and there doesn't seem to be one available, despite blogs from last year claiming apple was distributing it.

    Since I do my development work on a Mac, switching to jdk6 would be very difficult for me if I can't find a darwin jdk6. I need to be able to build job jars and patch hadoop.

    -Michael

    On 10/12/07 10:12 AM, "Doug Cutting" wrote:

    Owen O'Malley wrote:
    That is a mistake of some sort. It was _not_ intended. I assume you are
    using the release tarball off of the website? It might have been
    compiled with java 1.6 instead of 1.5.
    Yes, it seems I built the 0.14.2 release using 1.6 by accident. Sorry!
    If this is a blocker for folks, please file an issue in Jira and I
    will make a 0.14.3 tarball that's compiled with Java 1.5 instead.

    I believe the QA framework runs
    the unit tests under 1.5 to ensure that we don't break 1.5 compatibility
    accidently.
    Yes, that is the case. Hudson uses Java 1.5.

    I do think it is worth changing the requirement up to java 1.6, but of
    course not as a patch release. *smile* (The performance of socket
    polling is much much better under 1.6.) I would not recommend running
    Hadoop under java 1.5 unless you don't have a choice.
    Can you please file an issue in Jira for this? Then folks can weigh in
    there.

    Doug


  • Doug Cutting at Oct 12, 2007 at 6:35 pm

    Colin Evans wrote:
    I'm a bit confused by this discussion though. How would compiling the
    jars with Java 1.5 and running on 1.6 degrade performance (assuming that
    the jars don't use any new 1.6 APIs)?
    It won't. The claim is just that running with Java 1.5 degrades
    performance significantly. The source code is compatible with Java 1.5,
    and code compiled with Java 1.5 runs efficiently in Java 1.6.

    So recompilation will make 0.14.2 work in Java 1.5 and Java 1.6. This
    has been the way we normally produce Hadoop releases: compile with Java
    1.5 and recommend Java 1.6 as the runtime. I made a mistake when
    building 0.14.2, and used Java 1.6 to compile it, and no one noticed
    until after the release was published.

    The question is whether this warrants a 0.14.3 release, compiled with
    Java 1.5. I'm currently leaning that way.

    Doug
  • Michael Bieniosek at Oct 12, 2007 at 9:51 pm
    Ah, okay. I thought Owen was suggesting that we move to requiring java 1.6 for compilation or runtime, but it appears it is still a little early for that in terms of availability of java 1.6.

    -Michael

    On 10/12/07 11:34 AM, "Doug Cutting" wrote:

    Colin Evans wrote:
    I'm a bit confused by this discussion though. How would compiling the
    jars with Java 1.5 and running on 1.6 degrade performance (assuming that
    the jars don't use any new 1.6 APIs)?
    It won't. The claim is just that running with Java 1.5 degrades
    performance significantly. The source code is compatible with Java 1.5,
    and code compiled with Java 1.5 runs efficiently in Java 1.6.

    So recompilation will make 0.14.2 work in Java 1.5 and Java 1.6. This
    has been the way we normally produce Hadoop releases: compile with Java
    1.5 and recommend Java 1.6 as the runtime. I made a mistake when
    building 0.14.2, and used Java 1.6 to compile it, and no one noticed
    until after the release was published.

    The question is whether this warrants a 0.14.3 release, compiled with
    Java 1.5. I'm currently leaning that way.

    Doug
  • Peter W. at Oct 13, 2007 at 12:36 am
    Hello,

    Does the jdk6 developer preview install in:
    /System/Library/Frameworks/JavaVM.framework/Versions?

    Is your CurrentJDK symbolic link changed?

    Will 12.3 Hadoop code still run?

    Thanks,

    Peter W.
  • Torsten Curdt at Oct 12, 2007 at 6:16 pm

    On 12.10.2007, at 19:34, Michael Bieniosek wrote:

    Does anybody know if there is a jdk6 available for Mac? I checked
    the apple developer site, and there doesn't seem to be one
    available, despite blogs from last year claiming apple was
    distributing it.

    Since I do my development work on a Mac, switching to jdk6 would be
    very difficult for me if I can't find a darwin jdk6. I need to be
    able to build job jars and patch hadoop.
    There is a beta (available from the ADC) but it is terribly outdated!
    I hope they get their act together soon :(

    cheers
    --
    Torsten

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedOct 12, '07 at 5:35p
activeOct 13, '07 at 12:36a
posts9
users6
websitehadoop.apache.org...
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase