|
|
-
Bytes in hbase thrift api
Dalia Sobhy 2012-02-27, 10:52
Can anyone provide me with type of bytes used with hbase thrift api..
I read the tutorial and democlient.java but it didnt work out !
So any help plzzzz !!
Sent from my iPhone
-
Re: Bytes in hbase thrift api
Stack 2012-02-27, 16:14
On Mon, Feb 27, 2012 at 2:52 AM, Dalia Sobhy <[EMAIL PROTECTED]> wrote: > Can anyone provide me with type of bytes used with hbase thrift api.. >
They have no type. They are just bytes.
What is your issue? What is failing?
St.Ack
-
Re: Bytes in hbase thrift api
Dalia Sobhy 2012-02-27, 17:18
When Building the project, it is successful.
But when i run it, the createTable method is kept running i.e in infinite loop, even though i wrote it within try-catch block but no exception takes place.
Therefore the code is always running non-stop and no exception is caught!!
Sent from my iPhone
On 2012-02-27, at 6:14 PM, "Stack" <[EMAIL PROTECTED]> wrote:
> On Mon, Feb 27, 2012 at 2:52 AM, Dalia Sobhy <[EMAIL PROTECTED]> wrote: >> Can anyone provide me with type of bytes used with hbase thrift api.. >> > > They have no type. They are just bytes. > > What is your issue? What is failing? > > St.Ack
-
Re: Bytes in hbase thrift api
Dalia Sobhy 2012-02-27, 17:20
When Building the project, it is successful.
But when i run it, the createTable method is kept running i.e in infinite loop, even though i wrote it within try-catch block but no exception takes place.
Therefore the code is always running non-stop and no exception is caught!!
Sent from my iPhone
On 2012-02-27, at 6:14 PM, "Stack" <[EMAIL PROTECTED]> wrote:
> On Mon, Feb 27, 2012 at 2:52 AM, Dalia Sobhy <[EMAIL PROTECTED]> wrote: >> Can anyone provide me with type of bytes used with hbase thrift api.. >> > > They have no type. They are just bytes. > > What is your issue? What is failing? > > St.Ack
Sent from my iPhone
On 2012-02-27, at 6:14 PM, "Stack" <[EMAIL PROTECTED]> wrote:
> On Mon, Feb 27, 2012 at 2:52 AM, Dalia Sobhy <[EMAIL PROTECTED]> wrote: >> Can anyone provide me with type of bytes used with hbase thrift api.. >> > > They have no type. They are just bytes. > > What is your issue? What is failing? > > St.Ack
-
Re: Bytes in hbase thrift api
Stack 2012-02-27, 17:49
Does create table work from the hbase shell?
St.Ack
On Mon, Feb 27, 2012 at 9:18 AM, Dalia Sobhy <[EMAIL PROTECTED]> wrote: > When Building the project, it is successful. > > But when i run it, the createTable method is kept running i.e in infinite loop, even though i wrote it within try-catch block but no exception takes place. > > Therefore the code is always running non-stop and no exception is caught!! > > Sent from my iPhone > > On 2012-02-27, at 6:14 PM, "Stack" <[EMAIL PROTECTED]> wrote: > >> On Mon, Feb 27, 2012 at 2:52 AM, Dalia Sobhy <[EMAIL PROTECTED]> wrote: >>> Can anyone provide me with type of bytes used with hbase thrift api.. >>> >> >> They have no type. They are just bytes. >> >> What is your issue? What is failing? >> >> St.Ack
-
Re: Bytes in hbase thrift api
Norbert Burger 2012-02-27, 17:55
Dalia -- are you setting the appropriate timeout in the TSocket constructor? The default value is 0, which results in an "infinite timeout" according to the java.net.Socket docs.
Verify that your Thrift server is running (default port is 9090), and make sure you specify a reasonable timeout to TSocket; typically the 3rd parameters to the constructor.
Norbert
On Mon, Feb 27, 2012 at 12:20 PM, Dalia Sobhy <[EMAIL PROTECTED]>wrote:
> When Building the project, it is successful. > > But when i run it, the createTable method is kept running i.e in infinite > loop, even though i wrote it within try-catch block but no exception takes > place. > > Therefore the code is always running non-stop and no exception is caught!! > > Sent from my iPhone > > On 2012-02-27, at 6:14 PM, "Stack" <[EMAIL PROTECTED]> wrote: > > > On Mon, Feb 27, 2012 at 2:52 AM, Dalia Sobhy <[EMAIL PROTECTED]> > wrote: > >> Can anyone provide me with type of bytes used with hbase thrift api.. > >> > > > > They have no type. They are just bytes. > > > > What is your issue? What is failing? > > > > St.Ack > > Sent from my iPhone > > On 2012-02-27, at 6:14 PM, "Stack" <[EMAIL PROTECTED]> wrote: > > > On Mon, Feb 27, 2012 at 2:52 AM, Dalia Sobhy <[EMAIL PROTECTED]> > wrote: > >> Can anyone provide me with type of bytes used with hbase thrift api.. > >> > > > > They have no type. They are just bytes. > > > > What is your issue? What is failing? > > > > St.Ack >
-
Re: Bytes in hbase thrift api
Dalia Sobhy 2012-02-27, 19:18
Yes it works..
But also another weird aspect is that when the device shuts down all the tables are lost.. So is this normal?? Note that am using cloudera chd3u3..
Sent from my iPhone
On 2012-02-27, at 7:50 PM, "Stack" <[EMAIL PROTECTED]> wrote:
> Does create table work from the hbase shell? > > St.Ack > > On Mon, Feb 27, 2012 at 9:18 AM, Dalia Sobhy <[EMAIL PROTECTED]> wrote: >> When Building the project, it is successful. >> >> But when i run it, the createTable method is kept running i.e in infinite loop, even though i wrote it within try-catch block but no exception takes place. >> >> Therefore the code is always running non-stop and no exception is caught!! >> >> Sent from my iPhone >> >> On 2012-02-27, at 6:14 PM, "Stack" <[EMAIL PROTECTED]> wrote: >> >>> On Mon, Feb 27, 2012 at 2:52 AM, Dalia Sobhy <[EMAIL PROTECTED]> wrote: >>>> Can anyone provide me with type of bytes used with hbase thrift api.. >>>> >>> >>> They have no type. They are just bytes. >>> >>> What is your issue? What is failing? >>> >>> St.Ack
|
|