Elek, Marton created HDFS-13510:
-----------------------------------

             Summary: Ozone: Fix precommit hook for Ozone/Hdds on trunk
                 Key: HDFS-13510
                 URL: https://issues.apache.org/jira/browse/HDFS-13510
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Elek, Marton
            Assignee: Elek, Marton


Current precommit doesn't work with the ozone projects as they are in an 
optional profile.

This jira may not have any code change but I opened it to track the required 
changes on builds.apache.org and make the changes more transparent.

I think we need the following changes:

1. Separated jira subproject, as planned
2. After that we can create new Precommit-OZONE-Build job which will be 
triggered by the PreCommit-Admin (jira filter should be modified)
3. In the Precommit-OZONE-Build we need to enable the hdds profile. It could be 
done by modifying the yetus personality or the create a .mvn/mvn.config
4. We need the ozone/hdds snapshot artifacts in apache nexus:
  a.) One option is adding -P hdds to the Hadoop-trunk-Commit. This is the 
simplified but Hdds/Ozone build failure will cause missing artifacts on nexus 
(low chance as the merge will be guarded by PreCommit hook)
  b.) Other options is to create a Hadoop-Ozone-trunk-Commit which do a full 
compilation but only hdds and ozone artifacts will be deployed (some sync 
problem maybe here if different core artifacts are uploaded...)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to