[
https://issues.apache.org/jira/browse/YARN-8498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738672#comment-16738672
]
Ayush Saxena commented on YARN-8498:
------------------------------------
Yetus ran on older version.
After patch Native compilation passes for me on UBUNTU-18.04/GCC 7.3.0
{noformat}
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop YARN ................................. SUCCESS [ 3.270 s]
[INFO] Apache Hadoop YARN API ............................. SUCCESS [ 13.977 s]
[INFO] Apache Hadoop YARN Common .......................... SUCCESS [ 11.779 s]
[INFO] Apache Hadoop YARN Server .......................... SUCCESS [ 0.610 s]
[INFO] Apache Hadoop YARN Server Common ................... SUCCESS [ 7.117 s]
[INFO] Apache Hadoop YARN NodeManager ..................... SUCCESS [ 54.988 s]
[INFO] Apache Hadoop YARN Web Proxy ....................... SUCCESS [ 6.875 s]
[INFO] Apache Hadoop YARN ApplicationHistoryService ....... SUCCESS [ 5.056 s]
[INFO] Apache Hadoop YARN Timeline Service ................ SUCCESS [ 3.475 s]
[INFO] Apache Hadoop YARN ResourceManager ................. SUCCESS [ 14.097 s]
[INFO] Apache Hadoop YARN Server Tests .................... SUCCESS [ 3.539 s]
[INFO] Apache Hadoop YARN Client .......................... SUCCESS [ 4.673 s]
[INFO] Apache Hadoop YARN SharedCacheManager .............. SUCCESS [ 3.990 s]
[INFO] Apache Hadoop YARN Timeline Plugin Storage ......... SUCCESS [ 3.146 s]
[INFO] Apache Hadoop YARN TimelineService HBase Backend ... SUCCESS [ 0.638 s]
[INFO] Apache Hadoop YARN TimelineService HBase Common .... SUCCESS [ 6.824 s]
[INFO] Apache Hadoop YARN TimelineService HBase Client .... SUCCESS [ 7.431 s]
[INFO] Apache Hadoop YARN TimelineService HBase Servers ... SUCCESS [ 0.578 s]
[INFO] Apache Hadoop YARN TimelineService HBase Server 1.2 SUCCESS [ 5.473 s]
[INFO] Apache Hadoop YARN TimelineService HBase tests ..... SUCCESS [ 6.380 s]
[INFO] Apache Hadoop YARN Router .......................... SUCCESS [ 5.389 s]
[INFO] Apache Hadoop YARN Applications .................... SUCCESS [ 0.661 s]
[INFO] Apache Hadoop YARN DistributedShell ................ SUCCESS [ 3.212 s]
[INFO] Apache Hadoop YARN Unmanaged Am Launcher ........... SUCCESS [ 2.647 s]
[INFO] Apache Hadoop YARN Services ........................ SUCCESS [ 0.683 s]
[INFO] Apache Hadoop YARN Services Core ................... SUCCESS [ 9.123 s]
[INFO] Apache Hadoop YARN Services API .................... SUCCESS [ 4.718 s]
[INFO] Yet Another Learning Platform ...................... SUCCESS [ 3.505 s]
[INFO] Apache Hadoop YARN Site ............................ SUCCESS [ 0.612 s]
[INFO] Apache Hadoop YARN Registry ........................ SUCCESS [ 1.621 s]
[INFO] Apache Hadoop YARN UI .............................. SUCCESS [ 1.163 s]
[INFO] Apache Hadoop YARN CSI ............................. SUCCESS [ 14.102 s]
[INFO] Apache Hadoop YARN Project ......................... SUCCESS [ 3.415 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:35 min
[INFO] Finished at: 2019-01-10T02:44:39+05:30
[INFO] Final Memory: 210M/870M
[INFO] ------------------------------------------------------------------------
{noformat}
> Yarn NodeManager OOM Listener Fails Compilation on Ubuntu 18.04
> ---------------------------------------------------------------
>
> Key: YARN-8498
> URL: https://issues.apache.org/jira/browse/YARN-8498
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Jack Bearden
> Assignee: Ayush Saxena
> Priority: Blocker
> Attachments: YARN-8498-02.patch, YARN-8948-01.patch
>
>
> While building this project, I ran into a few compilation errors here. The
> first one was in this file:
> hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/oom-listener/impl/oom_listener_main.c
> At the very end, during the compilation of the OOM test, it fails again:
>
> hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/oom-listener/test/oom_listener_test_main.cc
> hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/oom-listener/test/oom_listener_test_main.cc:256:7:
> error: ‘__WAIT_STATUS’ was not declared in this scope
> __WAIT_STATUS mem_hog_status = {};
> hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/oom-listener/test/oom_listener_test_main.cc:257:30:
> error: ‘mem_hog_status’ was not declared in this scope
> __pid_t exited0 = wait(mem_hog_status);
> hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/oom-listener/test/oom_listener_test_main.cc:275:21:
> error: expected ‘;’ before ‘oom_listener_status’
> __WAIT_STATUS oom_listener_status = {};
> hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/oom-listener/test/oom_listener_test_main.cc:276:30:
> error: ‘oom_listener_status’ was not declared in this scope
> __pid_t exited1 = wait(oom_listener_status);
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]