HiveParser.java is a generated source from the hive grammer definitions, HiveParser.g. It is possible that some of the methods are XL with several case statements. It may be hard to change this source.
Wondering if there is an option in this shading plugin to configure larger size for method frames? On Mon, Nov 28, 2022 at 2:56 PM Chris Nauroth <cnaur...@apache.org> wrote: > Hello Jim, > > Can you please share the full mvn command that you are running? I don't > recall anyone else reporting this when we were testing the 4.0.0-alpha-2 > release candidate. > > Chris Nauroth > > > On Mon, Nov 21, 2022 at 1:08 PM Jim Hopper <hopperj...@gmail.com> wrote: > > > Hi, > > > > what is the best strategy to fix the following error during hive-exec > > shading? > > > > [INFO] --- maven-shade-plugin:3.1.1:shade (build-exec-bundle) @ hive-exec > > --- > > ... > > > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-shade-plugin:3.1.1:shade > (build-exec-bundle) > > on project hive-exec: Error creating shaded jar: Problem shading JAR > > > > > /home/jh/.m2/repository/org/apache/hive/hive-parser/4.0.0-alpha-2/hive-parser-4.0.0-alpha-2.jar > > entry org/apache/hadoop/hive/ql/parse/HiveParser.class: > > java.lang.RuntimeException: Method code too large! -> [Help 1] > > > > thanks! > > >