[英]hbase shell filter on hierarchical rowkey (or filter by rowkey length)
[英]Hbase remote shell command
我想在远程服务器中创建一个 hbase shell,如下所示
[root@localhost ~]#` ssh root@<hostname> " echo 'create '\'"sample'\'"','\'"cf'\'"' | hbase shell -n "`
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will
likely be removed in a future release
19/06/28 07:25:55 INFO Configuration.deprecation: hadoop.native.lib is deprecated.
Instead, use io.native.lib.available
ERROR SyntaxError: stdin:1: syntax error, unexpected null
create 'sample',\cf'
^
任何人都可以帮我解决这个问题的语法。
提前致谢。
我已经使用 EOF 选项解决了上述问题,如下所示
ssh root@<hostname> <<-EOF
echo " create 'table',schema "| hbase shell -n
EOF
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.