Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11724

libhdfs compilation is broken on OS X

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.0.0-alpha4
    • 3.0.0-alpha4
    • libhdfs
    • None

    Description

      Looks like HDFS-11529 added an include for malloc.h, which isn't available on OS X and likely other operating systems. Many OSes use sys/malloc.h, including OS X. But considering this is supposed to be POSIX, then it should be using the define in stdlib.h (as mentioned in pretty much every userland man page on malloc).

      Attachments

        1. HDFS-11724.001.patch
          1 kB
          John Zhuge

        Issue Links

          Activity

            People

              jzhuge John Zhuge
              aw Allen Wittenauer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: