我在 hbase 列中有一些长字符串数据,我想在扫描的输出上使用 grep、cut、sort 等 linux 工具。
不幸的是,hbase shell 正在将扫描的输出格式化为我终端中的可视列。这对人类可读性很好,但对于脚本编写则不太好。
样本输出:
00000000-1111-2222-3333-444444444444 column=a:1, timestamp=151974600000, value="some really
long data that doesn't fit onto the terminal in one lin
e"
我尝试将输出重定向到一个文件,但看起来列值也被包装在那里。
有没有办法告诉 hbase shell 不要将此空格/格式插入我的字符串值?