hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Execute script file from with in HBase shell
Date Fri, 21 Aug 2015 12:31:39 GMT
To my knowledge, there is no such command in HBase shell. 

Cheers



> On Aug 21, 2015, at 5:10 AM, <dinuswt22@gmail.com> <dinuswt22@gmail.com>
wrote:
> 
> Hi,
> 
> 
> 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
> 
> 
> 
> 
> Thanks,
> 
> Dinesh
> 
> 
> 
> Sent from Windows Mail

Mime
View raw message