You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "cloudcheflabs (via GitHub)" <gi...@apache.org> on 2023/07/01 08:19:04 UTC

[GitHub] [iceberg] cloudcheflabs opened a new issue, #7953: I cannot package my application as uberjar using maven shade plugin.

cloudcheflabs opened a new issue, #7953:
URL: https://github.com/apache/iceberg/issues/7953

   ### Apache Iceberg version
   
   1.3.0 (latest release)
   
   ### Query engine
   
   None
   
   ### Please describe the bug 🐞
   
   Hi,
   
   I have problem with packaging my application as uberjar using maven shade plugin.
   
   I have the following environments. 
   
   - `Java 11` which is mandatory.
   
   ```
                    <dependency>
   			<groupId>org.apache.iceberg</groupId>
   			<artifactId>iceberg-hive-runtime</artifactId>
   			<version>1.3.0</version>
   		</dependency>
   ```
   
   I tried to package my application as uberjar with maven shade plugin, but I got the following errors.
   ```
   Caused by: java.io.IOException: Problem shading JAR /home/opc/.m2/repository/org/apache/iceberg/iceberg-hive-runtime/1.3.0/iceberg-hive-runtime-1.3.0.jar entry META-INF/versions/19/org/apache/iceberg/shaded/com/fasterxml/jackson/core/io/doubleparser/FastDoubleSwar.class: java.lang.IllegalArgumentException: Unsupported class file major version 63
       at org.apache.maven.plugins.shade.DefaultShader.shadeJars (DefaultShader.java:274)
       at org.apache.maven.plugins.shade.DefaultShader.shade (DefaultShader.java:128)
       at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute (ShadeMojo.java:500)
   
   ```
   
   - Kidong.


-- 
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@iceberg.apache.org.apache.org

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


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


Re: [I] I cannot package my application as uberjar using maven shade plugin. [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7953:
URL: https://github.com/apache/iceberg/issues/7953#issuecomment-2364773193

   This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'


-- 
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@iceberg.apache.org

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


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


Re: [I] I cannot package my application as uberjar using maven shade plugin. [iceberg]

Posted by "vinitamaloo-asu (via GitHub)" <gi...@apache.org>.
vinitamaloo-asu commented on issue #7953:
URL: https://github.com/apache/iceberg/issues/7953#issuecomment-1771943066

   I am getting the same issue. Were you able to resolve 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: issues-unsubscribe@iceberg.apache.org

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


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


Re: [I] I cannot package my application as uberjar using maven shade plugin. [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7953:
URL: https://github.com/apache/iceberg/issues/7953#issuecomment-2332935022

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


-- 
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@iceberg.apache.org

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


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


Re: [I] I cannot package my application as uberjar using maven shade plugin. [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7953: I cannot package my application as uberjar using maven shade plugin.
URL: https://github.com/apache/iceberg/issues/7953


-- 
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@iceberg.apache.org

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


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


Re: [I] I cannot package my application as uberjar using maven shade plugin. [iceberg]

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on issue #7953:
URL: https://github.com/apache/iceberg/issues/7953#issuecomment-1772179150

   `Unsupported class file major version 63` indicates that you're using JDK19 instead of JDK11, so that's most likely the issue


-- 
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@iceberg.apache.org

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


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