You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2021/01/28 14:28:47 UTC
[GitHub] [accumulo] Manno15 edited a comment on pull request #1824: Upgrade to jline3
Manno15 edited a comment on pull request #1824:
URL: https://github.com/apache/accumulo/pull/1824#issuecomment-768247124
I am running into an issue getting these changes to run with zookeeper 3.6.2 on fluo-uno. I will investigate. Specific error below:
<pre>
Exception in thread "shell" java.lang.UnsatisfiedLinkError: 'int org.fusesource.jansi.internal.CLibrary.ioctl(int, long, org.fusesource.jansi.internal.CLibrary$WinSize)'
at org.fusesource.jansi.internal.CLibrary.ioctl(Native Method)
at org.jline.terminal.impl.jansi.JansiNativePty.getSize(JansiNativePty.java:146)
at org.jline.terminal.impl.AbstractPosixTerminal.getSize(AbstractPosixTerminal.java:60)
at org.jline.terminal.Terminal.getBufferSize(Terminal.java:216)
at org.jline.reader.impl.LineReaderImpl.doDisplay(LineReaderImpl.java:746)
at org.jline.reader.impl.LineReaderImpl.<init>(LineReaderImpl.java:303)
at org.jline.reader.LineReaderBuilder.build(LineReaderBuilder.java:115)
at org.apache.accumulo.shell.Shell.config(Shell.java:275)
at org.apache.accumulo.shell.Shell.execute(Shell.java:520)
at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:126)
at java.base/java.lang.Thread.run(Thread.java:834)
</pre>
EDIT: My guess is for some reason LineReader is trying to default to using Jansi and we don't have the correct libraries for it? I will push a commit that tells the terminal to not allow Jansi so it should default to a different type. I believe the old default type was xterm so not sure why the new zookeeper version updates the default to Jansi.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org