[ 
https://issues.apache.org/jira/browse/HADOOP-18300?focusedWorklogId=783054&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-783054
 ]

ASF GitHub Bot logged work on HADOOP-18300:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Jun/22 16:10
            Start Date: 20/Jun/22 16:10
    Worklog Time Spent: 10m 
      Work Description: medb commented on code in PR #4454:
URL: https://github.com/apache/hadoop/pull/4454#discussion_r901830038


##########
hadoop-client-modules/hadoop-client-runtime/pom.xml:
##########
@@ -249,6 +249,13 @@
                         
<exclude>META-INF/versions/11/module-info.class</exclude>
                       </excludes>
                     </filter>
+                    <filter>
+                      <artifact>com.google.code.gson:gson</artifact>
+                      <excludes>
+                        
<exclude>META-INF/versions/9/module-info.class</exclude>
+                      </excludes>
+                    </filter>

Review Comment:
   This is necessary because [Gson 2.9.0 added 
`META-INF/versions/9/module-info.class` 
file](https://github.com/google/gson/pull/2013) which leads to the Hadoop build 
failure - not sure if there are better ways to fix this (maybe merge 
`module-info.class` files?), but this is what is already done for Jackson 
dependency that has the same issue.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 783054)
    Time Spent: 40m  (was: 0.5h)

> Update Gson to 2.9.0
> --------------------
>
>                 Key: HADOOP-18300
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18300
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: build
>            Reporter: Igor Dvorzhak
>            Assignee: Igor Dvorzhak
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Update to the Gson 2.9.0 that has many 
> [fixes|https://github.com/google/gson/releases/tag/gson-parent-2.9.0], and 
> backward-compatible as long as Java 7+ is used.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to