[
https://issues.apache.org/jira/browse/KNOX-2957?focusedWorklogId=880260&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-880260
]
ASF GitHub Bot logged work on KNOX-2957:
----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Sep/23 19:50
Start Date: 13/Sep/23 19:50
Worklog Time Spent: 10m
Work Description: moresandeep opened a new pull request, #794:
URL: https://github.com/apache/knox/pull/794
## What changes were proposed in this pull request?
Update groovy version and version of other libs that depend on groovy.
## How was this patch tested?
Locally.
Issue Time Tracking
-------------------
Worklog Id: (was: 880260)
Remaining Estimate: 0h
Time Spent: 10m
> Upgrade Groovy version >= 3.0.8 to support knoxshell on JDK17 cluster
> ---------------------------------------------------------------------
>
> Key: KNOX-2957
> URL: https://issues.apache.org/jira/browse/KNOX-2957
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Sandeep More
> Assignee: Sandeep More
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Execution on knoxshell.sh fails on jdk17 with below error
> {code:java}
> Caught: BUG! exception in phase 'semantic analysis' in source unit
> '/tmp/tokenShell/webHdfsLs.groovy' Unsupported class file major version 61
> BUG! exception in phase 'semantic analysis' in source unit
> '/tmp/tokenShell/webHdfsLs.groovy' Unsupported class file major version 61
> at org.apache.knox.gateway.shell.Shell.main(Shell.java:70)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at
> org.apache.knox.gateway.launcher.Invoker.invokeMainMethod(Invoker.java:68)
> at org.apache.knox.gateway.launcher.Invoker.invoke(Invoker.java:39)
> at org.apache.knox.gateway.launcher.Command.run(Command.java:99)
> at org.apache.knox.gateway.launcher.Launcher.run(Launcher.java:75)
> at org.apache.knox.gateway.launcher.Launcher.main(Launcher.java:52)
> Caused by: java.lang.IllegalArgumentException: Unsupported class file major
> version 61
> at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:189)
> at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:170)
> at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:156)
> at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:277)
> ... 9 more
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)