Get output from scans in hbase shell

前端 未结 4 2114
我在风中等你
我在风中等你 2020-12-24 06:09

Is there any way I can output the results from a scan in the hbase shell to a file? I\'m assuming this is easy but I haven\'t been able to find anything in the documentation

4条回答
  •  Happy的楠姐
    2020-12-24 07:14

    ex : file.sh contains scan 'tablename';

    Execute bellow command to capture result to log file....

    hbase shell < file.sh(which contains hbase commands) > output.lo
    

提交回复
热议问题