hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Brennan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7857) -fstack-check compilation flag causes binary incompatibility for container-executor between RHEL 6 and RHEL 7
Date Thu, 01 Feb 2018 22:35:00 GMT

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

Jim Brennan commented on YARN-7857:

As this is a change to the command line for container-executor, it was tested by compiling
on both RHEL6 and RHEL7 and running the mapreduce pi example.   Also ran with the RHEL6-compiled
container-executor on RHEL7.

I manually tested the change by compiling a small program that just includes a main() that
calls a stripped down version of copy_file().  With {{-fstack-check}}, this program fails
when compiled on RHEL 6 and run on RHEL 7.  With {{-fstack-protect}}, the RHEL6 version runs
on RHEL7.

Please review.

> -fstack-check compilation flag causes binary incompatibility for container-executor between
RHEL 6 and RHEL 7
> -------------------------------------------------------------------------------------------------------------
>                 Key: YARN-7857
>                 URL: https://issues.apache.org/jira/browse/YARN-7857
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 3.0.0
>            Reporter: Jim Brennan
>            Assignee: Jim Brennan
>            Priority: Major
>         Attachments: YARN-7857.001.patch
> The segmentation fault in container-executor reported in [YARN-7796]  appears to be due
to a binary compatibility issue with the {{-fstack-check}} flag that was added in [YARN-6721]
> Based on my testing, a container-executor (without the patch from [YARN-7796]) compiled
on RHEL 6 with the -fstack-check flag always hits this segmentation fault when run on RHEL
7.  But if you compile without this flag, the container-executor runs on RHEL 7 with no problems.
 I also verified this with a simple program that just does the copy_file.
> I think we need to either remove this flag, or find a suitable alternative.

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