hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei-Chiu Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-9319) YARN-9060 does not compile
Date Thu, 21 Feb 2019 17:54:00 GMT

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

Wei-Chiu Chuang commented on YARN-9319:
---------------------------------------

+1 from me too. Code compiled after the patch.

> 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
>            Assignee: Zhankun Tang
>            Priority: Blocker
>         Attachments: YARN-9319-trunk.001.patch
>
>
> 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}
> The code compiles once I revert YARN-9060.
> [~tangzhankun], [~sunilg] care to take a look?



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

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


Mime
View raw message