You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Íñigo Goiri (Jira)" <ji...@apache.org> on 2021/07/26 20:11:00 UTC

[jira] [Resolved] (HADOOP-17807) Use separate source dir for platform builds

     [ https://issues.apache.org/jira/browse/HADOOP-17807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Íñigo Goiri resolved HADOOP-17807.
----------------------------------
    Fix Version/s: 3.4.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

> Use separate source dir for platform builds
> -------------------------------------------
>
>                 Key: HADOOP-17807
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17807
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.4.0
>            Reporter: Gautham Banasandra
>            Assignee: Gautham Banasandra
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>         Attachments: image-2021-07-16-11-36-26-698.png, image-2021-07-16-11-36-55-495.png, image-2021-07-16-11-37-56-923.png
>
>          Time Spent: 5h
>  Remaining Estimate: 0h
>
> The multi-platform build stages run on the checkout of the source directory, one after the other. For those platforms that are marked as optional (Centos 8 and Debian 10 currently), the condition to run CI on the platform is determined by inspecting the git commit history and checking if there's any C++ file/C++ build/platform related changes.
> It seems like after YETUS runs on one platform, it's clearing up the git branch information. This is causing the build to not get triggered on the optional platforms. Please note that those platforms not marked optional (Ubuntu focal) isn't affected by this since CI runs for this platform irrespective of any C++ changes.
> We can see this in the Jenkins UI page -
> CI runs for Centos 8 -
>  !image-2021-07-16-11-36-26-698.png! 
> Subsequently, the CI for Debian 10 gets skipped -
>  !image-2021-07-16-11-36-55-495.png! 
> However, CI for Ubuntu focal runs since it's not marked as optional -
>  !image-2021-07-16-11-37-56-923.png! 
> Thus, we need to ensure that each platform builds on its own copy of the source code checkout so that whatever changes one platform makes doesn't affect the other.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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