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 >
