[
https://issues.apache.org/jira/browse/DRILL-8107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17476823#comment-17476823
]
ASF GitHub Bot commented on DRILL-8107:
---------------------------------------
vvysotskyi commented on a change in pull request #2429:
URL: https://github.com/apache/drill/pull/2429#discussion_r785462370
##########
File path: exec/jdbc-all/pom.xml
##########
@@ -874,6 +874,42 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>hadoop-2</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-jdbc-jar-compactness</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <phase>verify</phase>
+ <configuration>
+ <rules>
+ <requireFilesSize>
+ <message>
+ The file drill-jdbc-all-${project.version}.jar is
outside the expected size range.
+ This is likely due to you adding new dependencies to a
java-exec and not updating the excludes in this module. This is important as it
minimizes the size of the dependency of Drill application users.
+ </message>
+ <maxsize>47600000</maxsize>
Review comment:
If plugin configs have only different `maxsize`, you can define it as a
property and set that property value in the profile instead of providing plugin
configs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> Hadoop2 backport Maven profile
> ------------------------------
>
> Key: DRILL-8107
> URL: https://issues.apache.org/jira/browse/DRILL-8107
> Project: Apache Drill
> Issue Type: New Feature
> Components: Storage - HDF5, Tools, Build & Test
> Affects Versions: 1.19.0
> Reporter: Vitalii Diravka
> Assignee: Vitalii Diravka
> Priority: Major
>
> Some Drill clients are stuck on the old Hadoop2 cluster version. To run the
> latest version of Drill, need to add a Maven profile to build Drill for that
> environment.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)