Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7927

Can't build packages 205+ on OSX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.20.205.0, 1.0.0
    • None
    • None
    • None

    Description

      Currently the ant build script tries to reference the native directories, which are not built on OSX, breaking the build:

      bin-package:
          [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1
          [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/bin
          [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/etc/hadoop
          [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/lib
          [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/libexec
          [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/sbin
          [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/share/hadoop/contrib
          [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/share/hadoop/webapps
          [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/share/hadoop/templates/conf
           [copy] Copying 11 files to /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/share/hadoop/templates/conf
           [copy] Copying 39 files to /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/share/hadoop/lib
           [copy] Copying 15 files to /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/share/hadoop/lib
      
      BUILD FAILED
      /Users/jhoman/repos/hadoop-common/build.xml:1611: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/native does not exist.
      

      Once one fixes this, one discovers the build is also trying to build the linux task controller, regardless of whether not the native flag is set, which also fails.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jghoman Jakob Homan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: