Allen Zhang
Allen Zhang

Reputation: 9

How to set character in accumulo?

I use the accumulo shell to inspecte tables.I find I can insert english,But When I insert Chinese,I see some garbled in shell .how to deal with this problem.Can I set utf-8 in Accumulo?

enter image description here

Upvotes: 0

Views: 67

Answers (1)

Christopher
Christopher

Reputation: 2512

The answer is no. Unfortunately, displaying UTF-8 characters is not currently possible. Accumulo primarily deals with raw bytes, not Strings of Characters. The shell currently (up to 2.0.0-alpha-2, at least) has very limited capabilities to display wide Unicode characters. The shell's behavior is to, for convenience, show printable 7-bit ASCII characters; the rest are shown as hex-encoded form.

While the current shell capabilities are limited, it is an open source project, that would welcome patches to better support any UTF-8 printable characters.

Upvotes: 0

Related Questions