keith-turner commented on PR #5856:
URL: https://github.com/apache/accumulo/pull/5856#issuecomment-3255690115
Reworked this in commit 82900a9 to make Accumulo look for the jline option
and set it.
Test that commit by inserting the following data in jshell.
```
jshell> client.tableOperations().create("test"); var
writer=client.createBatchWriter("test"); Mutation m = new Mutation("r1");
m.at().family(new byte[]{'a',0,'b'}).qualifier("q").put("v1");
writer.addMutation(m); writer.close();
```
Then made the following change in accumulo-env.sh
```bash
JAVA_OPTS=(
'-XX:OnOutOfMemoryError=kill -9 %p'
'-XX:-OmitStackTraceInFastThrow'
'-Djava.net.preferIPv4Stack=true'
'-Dorg.jline.reader.props.disable-event-expansion=on'
"-Daccumulo.native.lib.path=${lib}/native"
"${accumulo_initial_opts[@]}"
)
```
After that, ran the shell and jline is no longer removing `\`
```
root@uno> scan -t test -c a\x00b
r1 a\x00b:q [] v1
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]