You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "rickyma (via GitHub)" <gi...@apache.org> on 2024/05/11 16:40:52 UTC

[PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections4.5.0-M1 [incubator-uniffle]

rickyma opened a new pull request, #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700

   ### What changes were proposed in this pull request?
   
   Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections4.5.0-M1.
   
   ### Why are the changes needed?
   
   Fix: https://github.com/apache/incubator-uniffle/issues/1699.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Existing UTs.
   


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.4 [incubator-uniffle]

Posted by "rickyma (via GitHub)" <gi...@apache.org>.
rickyma commented on code in PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#discussion_r1602723961


##########
pom.xml:
##########
@@ -56,7 +56,7 @@
     <version.checksum-maven-plugin>1.11</version.checksum-maven-plugin>
     <awaitility.version>4.2.0</awaitility.version>
     <checkstyle.version>9.3</checkstyle.version>
-    <commons-collections.version>3.2.2</commons-collections.version>
+    <commons-collections4.version>4.5.0-M1</commons-collections4.version>

Review Comment:
   Done.



-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.4 [incubator-uniffle]

Posted by "rickyma (via GitHub)" <gi...@apache.org>.
rickyma commented on code in PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#discussion_r1603260541


##########
server/pom.xml:
##########
@@ -129,13 +129,12 @@
       </exclusions>
     </dependency>
     <dependency>
-      <groupId>commons-collections</groupId>
-      <artifactId>commons-collections</artifactId>
-      <version>${commons-collections.version}</version>
+      <groupId>org.apache.commons</groupId>

Review Comment:
   We can find commons-collections 3 in the dependency tree which is introduced by `hadoop-common`, but it is provided:
   ```
   [INFO] +- org.apache.hadoop:hadoop-common:jar:2.8.5:provided
   [INFO] |  +- commons-collections:commons-collections:jar:3.2.2:provided
   ```
   @LuciferYang 



-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.4 [incubator-uniffle]

Posted by "LuciferYang (via GitHub)" <gi...@apache.org>.
LuciferYang merged PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.5.0-M1 [incubator-uniffle]

Posted by "rickyma (via GitHub)" <gi...@apache.org>.
rickyma commented on PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#issuecomment-2113907160

   PTAL. @jerqi @zuston 


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.4 [incubator-uniffle]

Posted by "rickyma (via GitHub)" <gi...@apache.org>.
rickyma commented on code in PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#discussion_r1602742070


##########
server/pom.xml:
##########
@@ -129,13 +129,12 @@
       </exclusions>
     </dependency>
     <dependency>
-      <groupId>commons-collections</groupId>
-      <artifactId>commons-collections</artifactId>
-      <version>${commons-collections.version}</version>
+      <groupId>org.apache.commons</groupId>

Review Comment:
   I just changed the order of the dependencies. `commons-lang3` remains the same as before. 
   
   The UTs have all passed, so the casading dependencies should be OK.



-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.5.0-M1 [incubator-uniffle]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#issuecomment-2114125865

   @LuciferYang  Could you help me review this pull request?


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.4 [incubator-uniffle]

Posted by "LuciferYang (via GitHub)" <gi...@apache.org>.
LuciferYang commented on code in PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#discussion_r1602731162


##########
server/pom.xml:
##########
@@ -129,13 +129,12 @@
       </exclusions>
     </dependency>
     <dependency>
-      <groupId>commons-collections</groupId>
-      <artifactId>commons-collections</artifactId>
-      <version>${commons-collections.version}</version>
+      <groupId>org.apache.commons</groupId>

Review Comment:
   should only modify the `commons-collections` part, no need to touch the `commons-lang3` part



-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.5.0-M1 [incubator-uniffle]

Posted by "zuston (via GitHub)" <gi...@apache.org>.
zuston commented on PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#issuecomment-2113908145

   Is this common update for other opensource projects? 


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.5.0-M1 [incubator-uniffle]

Posted by "LuciferYang (via GitHub)" <gi...@apache.org>.
LuciferYang commented on code in PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#discussion_r1602697673


##########
pom.xml:
##########
@@ -56,7 +56,7 @@
     <version.checksum-maven-plugin>1.11</version.checksum-maven-plugin>
     <awaitility.version>4.2.0</awaitility.version>
     <checkstyle.version>9.3</checkstyle.version>
-    <commons-collections.version>3.2.2</commons-collections.version>
+    <commons-collections4.version>4.5.0-M1</commons-collections4.version>

Review Comment:
   I suggest migrating to 4.4 first, rather than a milestone version



-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.5.0-M1 [incubator-uniffle]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#issuecomment-2105951844

   ## Test Results
     700 files   - 1 691    700 suites   - 1 691   11m 37s :stopwatch: - 4h 45m 13s
     343 tests  -   585    343 :white_check_mark:  -   584  0 :zzz:  -  1  0 :x: ±0 
   4 802 runs   - 5 952  4 802 :white_check_mark:  - 5 938  0 :zzz:  - 14  0 :x: ±0 
   
   Results for commit a03eae79. ± Comparison against base commit 8e26a34e.
   
   <details>
     <summary>This pull request <b>removes</b> 585 tests.</summary>
   
   ```
   org.apache.hadoop.mapred.SortWriteBufferManagerTest ‑ testCombineBuffer
   org.apache.hadoop.mapred.SortWriteBufferManagerTest ‑ testCommitBlocksWhenMemoryShuffleDisabled
   org.apache.hadoop.mapred.SortWriteBufferManagerTest ‑ testOnePartition
   org.apache.hadoop.mapred.SortWriteBufferManagerTest ‑ testWriteException
   org.apache.hadoop.mapred.SortWriteBufferManagerTest ‑ testWriteNormal
   org.apache.hadoop.mapred.SortWriteBufferTest ‑ testReadWrite
   org.apache.hadoop.mapred.SortWriteBufferTest ‑ testSortBufferIterator
   org.apache.hadoop.mapreduce.RssMRUtilsTest ‑ applyDynamicClientConfTest
   org.apache.hadoop.mapreduce.RssMRUtilsTest ‑ baskAttemptIdTest
   org.apache.hadoop.mapreduce.RssMRUtilsTest ‑ blockConvertTest
   …
   ```
   </details>
   
   [test-results]:data:application/gzip;base64,H4sIALmgP2YC/13MSw7CIBSF4a00jB3w8gJuxgBCQmyL4TFq3Lu0aZU6/L+TnAX5MLqMboPA+DKgXEPp8lGTLiHODUCJBm0s68w4O+qeq7X/9AyvRvgLXofxBC6lmHZJdV4/ucR0r+PzRL/PrbvLrftHG6cplBZIY+a0E0o4C5gZDlRcCfGUG+KNVMSAAkkVoPcHBIp29QsBAAA=
   


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.4 [incubator-uniffle]

Posted by "LuciferYang (via GitHub)" <gi...@apache.org>.
LuciferYang commented on code in PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#discussion_r1602770442


##########
server/pom.xml:
##########
@@ -129,13 +129,12 @@
       </exclusions>
     </dependency>
     <dependency>
-      <groupId>commons-collections</groupId>
-      <artifactId>commons-collections</artifactId>
-      <version>${commons-collections.version}</version>
+      <groupId>org.apache.commons</groupId>

Review Comment:
   > The UTs have all passed, so the casading dependencies should be OK.
   
   OK. It would be even better if we could double check this through the dependency tree.
   
   
   
   > I just changed the order of the dependencies. commons-lang3 remains the same as before.
   
   Can we maintain the original order?
   



-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.4 [incubator-uniffle]

Posted by "LuciferYang (via GitHub)" <gi...@apache.org>.
LuciferYang commented on code in PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#discussion_r1602734634


##########
server/pom.xml:
##########
@@ -129,13 +129,12 @@
       </exclusions>
     </dependency>
     <dependency>
-      <groupId>commons-collections</groupId>
-      <artifactId>commons-collections</artifactId>
-      <version>${commons-collections.version}</version>
+      <groupId>org.apache.commons</groupId>

Review Comment:
   Others is fine to me. But please check whether there are cascading dependencies on commons-collections 3. If there are, whether it is necessary to retain the definition of commons-collections 3 version in uniffle. @rickyma 



-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.4 [incubator-uniffle]

Posted by "LuciferYang (via GitHub)" <gi...@apache.org>.
LuciferYang commented on code in PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#discussion_r1602770442


##########
server/pom.xml:
##########
@@ -129,13 +129,12 @@
       </exclusions>
     </dependency>
     <dependency>
-      <groupId>commons-collections</groupId>
-      <artifactId>commons-collections</artifactId>
-      <version>${commons-collections.version}</version>
+      <groupId>org.apache.commons</groupId>

Review Comment:
   OK



-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.4 [incubator-uniffle]

Posted by "LuciferYang (via GitHub)" <gi...@apache.org>.
LuciferYang commented on PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#issuecomment-2116662281

   Merged into mater. Thanks @rickyma 


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [#1699] improvement: Upgrade from commons-collections:commons-collections:3.2.2 to org.apache.commons:commons-collections:4.5.0-M1 [incubator-uniffle]

Posted by "rickyma (via GitHub)" <gi...@apache.org>.
rickyma commented on PR #1700:
URL: https://github.com/apache/incubator-uniffle/pull/1700#issuecomment-2113971326

   I think it is. You can refer to https://issues.apache.org/jira/browse/SPARK-37968.


-- 
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: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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