Copilot commented on code in PR #841:
URL: https://github.com/apache/ranger/pull/841#discussion_r2780280549
##########
distro/src/main/assembly/hdfs-agent.xml:
##########
@@ -59,7 +59,8 @@
<include>org.apache.commons:commons-configuration2:jar:${commons.configuration.version}</include>
<include>org.apache.commons:commons-lang3:jar:${commons.lang3.version}</include>
<include>org.apache.hadoop:hadoop-auth:jar:${hadoop.version}</include>
-
<include>org.apache.hadoop:hadoop-common:jar:${hadoop.version}</include>
+
<include>org.apache.hadoop:hadoop-client-api:jar:${hadoop.version}</include>
+
<include>org.apache.hadoop:hadoop-client-runtime:jar:${hadoop.version}</include>
<include>org.apache.hadoop.thirdparty:hadoop-shaded-guava:jar:${hadoop-shaded-guava.version}</include>
Review Comment:
This change alters a key packaging decision (replacing `hadoop-common` with
`hadoop-client-api`/`hadoop-client-runtime`). Consider adding an inline XML
comment explaining why `hadoop-common` is intentionally omitted and which
install/runtime failure this addresses, so future maintainers don’t
accidentally revert it.
--
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]