[ https://issues.apache.org/jira/browse/YARN-9319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16774430#comment-16774430 ]
Tan, Wangda commented on YARN-9319: ----------------------------------- Committing this patch now, thanks [~tangzhankun] and everybody for review. > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org