Opened 11 years ago

Closed 11 years ago

#41332 closed defect (fixed)

hadoop @1.2.1: build failure on 10.9

Reported by: lcopps@… Owned by: humem (humem)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc:
Port: hadoop

Description

Hadoop fails final build on OSX 10.9 Mavericks on late 2013 MBP.

Attachments (2)

main.log (30.7 KB) - added by lcopps@… 11 years ago.
main.2.log (35.4 KB) - added by lcopps@… 11 years ago.
Full hadoop main.log after cleanup

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by lcopps@…

Attachment: main.log added

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Keywords: mavericks added; Hadoop Mavericks removed
Owner: changed from macports-tickets@… to hum@…
Port: hadoop added
Summary: Hadoop fails to build on OSX 10.9 Mavericks.hadoop @1.2.1: build failure on 10.9

In the future, please Cc relevant port maintainers (e.g., port info --maintainers hadoop).

:debug:main Skipping completed org.macports.archivefetch (hadoop)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (hadoop)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (hadoop)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (hadoop)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (hadoop)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (hadoop)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Tue Nov 12 14:04:35 EST 2013

This is not a complete log. Please clean, try again, and attach the new main.log if you experience another failure.

Changed 11 years ago by lcopps@…

Attachment: main.2.log added

Full hadoop main.log after cleanup

comment:2 in reply to:  description Changed 11 years ago by d5nguyenvan@…

Replying to lcopps@…:

Hadoop fails final build on OSX 10.9 Mavericks on late 2013 MBP.

I think you use Java 1.7 or greater when trying to install hadoop 1.2.1, I trace the build log, then change java to 1.6 and build complete. Using these steps to install the hadoop:

  1. Change to root user (sudo su)
  2. Change to java 1.6 (export JAVA_HOME=/usr/libexec/java_home -v 1.6)
  3. port install hadoop (if fail when verify the checksum, please clean and try again)

Hope you install hadoop successfully.

Last edited 11 years ago by d5nguyenvan@… (previous) (diff)

comment:3 Changed 11 years ago by humem (humem)

Resolution: fixed
Status: newclosed

I found the same problem on Mavericks, and have modified the Portfile to set JAVA_HOME in the build phase. Committed in r117032.

Note: See TracTickets for help on using tickets.