hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuti Awasthi <stutiawas...@hcl.com>
Subject RE: Create hbase table using script
Date Thu, 02 Feb 2012 10:46:35 GMT
Hi Saint,

My script is very simple bash script and it call "create" commands which are used to create
table in hbase shell.

Eg :
#!/bin/sh

echo "create '$1_table1,'info'"
exit

-----Original Message-----
From: saint.ack@gmail.com [mailto:saint.ack@gmail.com] On Behalf Of Stack
Sent: Wednesday, February 01, 2012 2:09 AM
To: user@hbase.apache.org
Subject: Re: Create hbase table using script

On Mon, Jan 30, 2012 at 10:50 PM, Stuti Awasthi <stutiawasthi@hcl.com> wrote:
> Thanks Frederic,
> Sorry as I was out of town I was not able to check what you suggested. I will try and
come up again if I faces any issues.
> Thanks
>

Are you passing a shell script rather than a ruby script?  The former will not work.  A ruby
script is expected.
St.Ack

::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named
recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or
opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of
HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and
/ or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited.
If you have
received this email in error please delete it and notify the sender immediately. Before opening
any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

Mime
View raw message