[ 
https://issues.apache.org/jira/browse/HDFS-11724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer updated HDFS-11724:
------------------------------------
    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).  (was: 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.)

> libhdfs compilation is broken on OS X
> -------------------------------------
>
>                 Key: HDFS-11724
>                 URL: https://issues.apache.org/jira/browse/HDFS-11724
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Allen Wittenauer
>            Priority: Blocker
>
> 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).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to