[ https://issues.apache.org/jira/browse/HDFS-13298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elek, Marton updated HDFS-13298: -------------------------------- Status: Patch Available (was: Open) Details of the implementation: 1. hdsl/cblock/ozone submodules and dependencies are moved to maven profile 2. The hadoop-dist (and especialy dev-support/bin/dist-layout-stitching) could work even if the files are missing. We don't need to modify 3. The problematic part is the usage of the common js/css/html files. They are copied with simple copy in the dist-layout-stitching which is failing if the source is missing. I modified it with moving the common css/js/html files to the classpath of the framework project and copy/unpack them during the build of ozone-manager/server-scm. With this approach we don't need the copy any more. To test it: 1. Do a full maven build with -Phdsl 2. Everything should work as before (start a hdsl/ozone cluster from hadoop-dist/target/compose/ozone) 3. Do a maven clean *with -Phdsl profile* (you need to delete the hdsl/cblock files as well) 4. Do a full maven build (without the -Phdsl profile) and check if any cblock/hdsl/ozone files are in the hadoop-dist/target/hadoop-3.2.0-SNAPSHOT directory > Ozone: Make ozone/hdsl/cblock modules turned off by default > ----------------------------------------------------------- > > Key: HDFS-13298 > URL: https://issues.apache.org/jira/browse/HDFS-13298 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Elek, Marton > Assignee: Elek, Marton > Priority: Major > Attachments: HDFS-13298-HDFS-7240.001.patch > > > According to the > [proposal|https://mail-archives.apache.org/mod_mbox/hadoop-common-dev/201803.mbox/%3CCAHfHakEoHTVFo9R3FoNTbYF-ovEEaCExtPqxhxv0UV0HXjhrhw%40mail.gmail.com%3E] > from [~owen.omalley] Hdsl/Ozone/Cblock projects could be activated by an > optional maven profile. > At HDFS-13258 we moved out Hdsl/Ozone/Cblock code out from hdfs/common > projects, this issue is about introducing the new profile to turn off/on the > hdsl compilation/packaging. -- 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