You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2019/02/20 18:50:00 UTC

[jira] [Created] (YARN-9319) YARN-9060 does not compile

Wei-Chiu Chuang created YARN-9319:
-------------------------------------

             Summary: YARN-9060 does not compile
                 Key: YARN-9319
                 URL: https://issues.apache.org/jira/browse/YARN-9319
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 3.3.0
         Environment:  RHEL 6.8, CMake 3.2.0, Java 8u151, gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC)
            Reporter: Wei-Chiu Chuang


When I do: 

mvn clean install -DskipTests -Pdist,native  -Dmaven.javadoc.skip=true

It does not compile on my machine (RHEL 6.8, CMake 3.2.0, Java 8u151, gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC))
{noformat}
[WARNING] [ 54%] Built target test-container-executor
[WARNING] Linking CXX static library libgtest.a
[WARNING] /opt/toolchain/cmake-3.2.0/bin/cmake -P CMakeFiles/gtest.dir/cmake_clean_target.cmake
[WARNING] /opt/toolchain/cmake-3.2.0/bin/cmake -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=1
[WARNING] /usr/bin/ar cq libgtest.a  CMakeFiles/gtest.dir/data/4/weichiu/hadoop/hadoop-common-project/hadoop-common/src/main/native/gtest/gtest-all.cc.o
[WARNING] /usr/bin/ranlib libgtest.a
[WARNING] make[2]: Leaving directory `/data/4/weichiu/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/native'
[WARNING] /opt/toolchain/cmake-3.2.0/bin/cmake -E cmake_progress_report /data/4/weichiu/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/native/CMakeFiles  26
[WARNING] [ 54%] Built target gtest
[WARNING] make[1]: Leaving directory `/data/4/weichiu/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/native'
[WARNING] In file included from /data/4/weichiu/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/main.c:27:
[WARNING] /data/4/weichiu/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/modules/devices/devices-module.h:31: error: redefinition of typedef 'update_cgroups_parameters_function'
[WARNING] /data/4/weichiu/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/modules/fpga/fpga-module.h:31: note: previous declaration of 'update_cgroups_parameters_function' was here
[WARNING] make[2]: *** [CMakeFiles/container-executor.dir/main/native/container-executor/impl/main.c.o] Error 1
[WARNING] make[1]: *** [CMakeFiles/container-executor.dir/all] Error 2
[WARNING] make[1]: *** Waiting for unfinished jobs....
[WARNING] make: *** [all] Error 2
{noformat}
[~tangzhankun], [~sunilg] care to take a look?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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