How to kill a scan operation in hbase shell without Ctrl-C

前端 未结 1 1378
遇见更好的自我
遇见更好的自我 2021-02-09 06:59

Sometimes when I run a scan \'. I see a continuous flood of data being printed because the table is big. I want to kill the process that print the

相关标签:
1条回答
  • 2021-02-09 07:08

    You could use scan with LIMIT to limit the scan output on shell :

    scan 'table', LIMIT => 5

    This will show you only 5 rows. You could also press ctlr+s to hold the scan, if you have done a full scan and want to hold on at a specific row.

    0 讨论(0)
提交回复
热议问题