[
https://issues.apache.org/jira/browse/HBASE-11431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046553#comment-14046553
]
Yi Deng commented on HBASE-11431:
---------------------------------
Thanks for the comment.
The method you provide is not convinient for creating a file each time. But
somebody else just tell me I can do things like:
echo "put 't1_dn15','row5','cf1:q1','row5_from15'" | hbase shell
This is simple enough.
> Add support of running from command line for 'hbase shell'
> ----------------------------------------------------------
>
> Key: HBASE-11431
> URL: https://issues.apache.org/jira/browse/HBASE-11431
> Project: HBase
> Issue Type: New Feature
> Components: Admin
> Affects Versions: 0.89-fb
> Reporter: Yi Deng
> Priority: Minor
> Labels: shell
> Fix For: 0.89-fb
>
>
> Add support of running from command line for 'hbase shell'.
> Now you can execute shell command from the bash like this:
> bin/hbase shell --exec='scan ".META"'
> The result can be piped to grep or other command.
--
This message was sent by Atlassian JIRA
(v6.2#6252)