hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6421) RHEL4 fails to compile vecsum.c
Date Fri, 16 May 2014 23:40:15 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14000506#comment-14000506
] 

Colin Patrick McCabe commented on HDFS-6421:
--------------------------------------------

I've actually never heard of anyone deploying Hadoop on RHEL4 (when it was released in 2005,
Hadoop didn't exist).  However, I did manage to track down a RHEL4 virtual machine and try
to compile.  I noticed that a bunch of stuff didn't work, not only {{vecsum}}.  For example,
you get this error when building YARN:

{code}
     [exec] libcontainer.a(container-executor.c.o)(.text+0x593): In function `mkdirs':
     [exec] /home/cmccabe/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c:378:
undefined reference to `mkdirat'
     [exec] libcontainer.a(container-executor.c.o)(.text+0x5b4):/home/cmccabe/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c:387:
undefined reference to `openat'
{code}

It's going to be tough to "fix" this since RHEL4 just doesn't have big pieces of necessary
functionality, like cgroups.

Maybe this is a dumb question on my part, but I wonder if compiling without {{Pnative}} is
a possibility for you?  We dropped support for JDK5, which was released just a few months
after RHEL4.  Is it realistic to compile trunk on a 10 year-old OS?  What do you guys think?

I definitely think we should fix the malloc.h thing, though, to compile on modern BSD systems.

> RHEL4 fails to compile vecsum.c
> -------------------------------
>
>                 Key: HDFS-6421
>                 URL: https://issues.apache.org/jira/browse/HDFS-6421
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 2.5.0
>         Environment: RHEL4
>            Reporter: Jason Lowe
>            Assignee: Mit Desai
>         Attachments: HDFS-6421.patch
>
>
> After HDFS-6287 RHEL4 builds fail trying to compile vecsum.c since they don't have RUSAGE_THREAD.
 RHEL4 is ancient, but we use it in a 32-bit compatibility environment.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message