hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <dinusw...@gmail.com>
Subject Execute script file from with in HBase shell
Date Fri, 21 Aug 2015 12:10:30 GMT

I am able to execute HBase commands present in a file like below,

$ ./hbase shell ./sample_commands.txt
0 row(s) in 3.4170 seconds

But I would like to know how to execute commands file from with in HBase shell; Because while
executing multiple command files, shell opens/close each time; Rather Hive / Pig have a good
feature “source FILE <filepath>”. This allows more than 1 files to get executed
in single Hive prompt

Hive reference: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli#LanguageManualCli-HiveInteractiveShellCommands

I am using Windows Operating system



Sent from Windows Mail
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message