You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2022/08/09 12:46:34 UTC
[GitHub] [phoenix] iwasakims commented on pull request #1484: PHOENIX-6766. Fix failure of sqlline due to conflicting jline dependency pulled from Hadoop 3.3.
iwasakims commented on PR #1484:
URL: https://github.com/apache/phoenix/pull/1484#issuecomment-1209337195
The stack trace implies that [the constructor of StringsCompleter which is not exists in 3.9.0](https://www.javadoc.io/static/org.jline/jline-reader/3.12.1/org/jline/reader/impl/completer/StringsCompleter.html#StringsCompleter-org.jline.reader.Candidate...-) was called.
* https://www.javadoc.io/static/org.jline/jline-reader/3.9.0/org/jline/reader/impl/completer/StringsCompleter.html
* https://www.javadoc.io/static/org.jline/jline-reader/3.12.1/org/jline/reader/impl/completer/StringsCompleter.html
compile scope dependency on org.jline:jline:jar:3.9.0 is pulled from Hadoop (after YARN-8778).
```
$ mvn dependency:tree -DskipTests -Dhadoop.version=3.3.4 -Dhbase.version=2.4.13 -Dhbase.profile=2.4 | grep jline
[INFO] | | | \- org.jline:jline:jar:3.9.0:provided
[INFO] | | | \- org.jline:jline:jar:3.9.0:provided
[INFO] | | | \- org.jline:jline:jar:3.9.0:provided
[INFO] | | | \- org.jline:jline:jar:3.9.0:provided
[INFO] | | | \- org.jline:jline:jar:3.9.0:provided
[INFO] | | \- org.jline:jline:jar:3.9.0:compile
[INFO] | \- jline:jline:jar:0.9.94:compile
[INFO] | | | \- org.jline:jline:jar:3.9.0:compile
[INFO] | | \- jline:jline:jar:0.9.94:compile
[INFO] | | | \- org.jline:jline:jar:3.9.0:compile
[INFO] | | \- jline:jline:jar:0.9.94:compile
[INFO] +- org.jline:jline-terminal:jar:3.12.1:runtime
[INFO] +- org.jline:jline-reader:jar:3.12.1:runtime
[INFO] +- org.jline:jline-terminal-jansi:jar:3.12.1:runtime
[INFO] +- org.jline:jline-terminal-jna:jar:3.12.1:runtime
[INFO] \- org.jline:jline-builtins:jar:3.12.1:runtime
[INFO] \- org.jline:jline-style:jar:3.12.1:runtime
[INFO] | | \- jline:jline:jar:0.9.94:compile
[INFO] | | \- org.jline:jline:jar:3.9.0:provided
[INFO] | | | \- org.jline:jline:jar:3.9.0:provided
[INFO] | | \- jline:jline:jar:0.9.94:provided
[INFO] | | | | \- org.jline:jline:jar:3.9.0:compile
[INFO] | | | \- jline:jline:jar:0.9.94:compile
[INFO] | +- org.jline:jline-terminal:jar:3.12.1:runtime
[INFO] | +- org.jline:jline-reader:jar:3.12.1:runtime
[INFO] | +- org.jline:jline-terminal-jansi:jar:3.12.1:runtime
[INFO] | +- org.jline:jline-terminal-jna:jar:3.12.1:runtime
[INFO] | \- org.jline:jline-builtins:jar:3.12.1:runtime
[INFO] | \- org.jline:jline-style:jar:3.12.1:runtime
[INFO] | | | \- org.jline:jline:jar:3.9.0:compile
[INFO] | | \- jline:jline:jar:0.9.94:compile
[INFO] | | | \- org.jline:jline:jar:3.9.0:compile
[INFO] | | \- jline:jline:jar:0.9.94:compile
[INFO] +- org.jline:jline-terminal:jar:3.12.1:runtime
[INFO] +- org.jline:jline-reader:jar:3.12.1:runtime
[INFO] +- org.jline:jline-terminal-jansi:jar:3.12.1:runtime
[INFO] +- org.jline:jline-terminal-jna:jar:3.12.1:runtime
[INFO] \- org.jline:jline-builtins:jar:3.12.1:runtime
[INFO] \- org.jline:jline-style:jar:3.12.1:runtime
```
org.jline:jline is bundled jar. It contains duplicate classes of org.jline:jline-*:3.12.1 (which are transitive dependencies of sqlline).
--
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@phoenix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org