hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6141) Hadoop build fails with cmake error
Date Mon, 06 Feb 2017 16:41:41 GMT

    [ https://issues.apache.org/jira/browse/YARN-6141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854319#comment-15854319

Allen Wittenauer commented on YARN-6141:

This is working as expected; this isn't a cmake problem. This is either a compiler/header
problem or a build-time configuration problem.  

Specifically, on Linux platforms:

#elif defined(__linux)

char* get_executable(char *argv0) {
  return __get_exec_readproc("/proc/self/exe");

should be getting triggered.  If it's not, then __linux isn't being defined.  If ppc64le on
Linux is not defining __linux, then I'd say the compiler chain is broken.  If that is actually
intentional, then supplemental code will need to be provided.  If it can't be provided, then
container-executor.conf.dir needs to be defined on the maven command line to point to an absolute
path where the container-executor.conf will be located post-installation.

> Hadoop build fails with cmake error
> -----------------------------------
>                 Key: YARN-6141
>                 URL: https://issues.apache.org/jira/browse/YARN-6141
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 3.0.0-alpha3
>         Environment: $ uname -a
> Linux f8eef0f055cf 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:42:36 UTC 2015
ppc64le ppc64le ppc64le GNU/Linux
>            Reporter: Sonia Garudi
>              Labels: ppc64le
> On ppc64le architecture, the build fails in the 'Hadoop YARN NodeManager' project with
the below error:
> Cannot safely determine executable path with a relative HADOOP_CONF_DIR on this operating
> [WARNING]  #error Cannot safely determine executable path with a relative HADOOP_CONF_DIR
on this operating system.
> [WARNING]   ^
> [WARNING] make[2]: *** [CMakeFiles/container.dir/main/native/container-executor/impl/get_executable.c.o]
Error 1
> [WARNING] make[2]: *** Waiting for unfinished jobs....
> [WARNING] make[1]: *** [CMakeFiles/container.dir/all] Error 2
> [WARNING] make: *** [all] Error 2
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> Cmake version used :
> $ /usr/bin/cmake --version
> cmake version

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message