hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: SocketTimeoutException upon 'create' command
Date Fri, 09 Mar 2012 09:07:39 GMT
For some reason, your client is unable to communicate to the HMaster at
"<server1>/<ip1>:<port1>". Try to telnet to that port (Master RPC) from
your <ip2> to determine if its a network issue.

On Fri, Mar 9, 2012 at 5:01 AM, Yermalkar, Sanjay <syermalk@searshc.com>wrote:

> Hi, I get the following exception upon Œcreate¹ table command. However most
> of the times the table does get created. Also, this exception doesn¹t occur
> upon other commands. Any help is appreciated.
>
>
> hbase(main):008:0> create 't1','cf1','cf2'
>
> ERROR: java.net.SocketTimeoutException: Call to <server1>/<ip1>:<port1>
> failed on socket timeout exception: java.net.SocketTimeoutException: 60000
> millis timeout while waiting for channel to be ready for read. ch :
> java.nio.channels.SocketChannel[connected local=/<ip2>:<port2>
> remote=<server1>/<ip1>:<port1>]
>
> Here is some help for this command:
> Create table; pass table name, a dictionary of specifications per
> column family, and optionally a dictionary of table configuration.
> Dictionaries are described below in the GENERAL NOTES section.
> Examples:
>
>  hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
>  hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
>  hbase> # The above in shorthand would be the following:
>  hbase> create 't1', 'f1', 'f2', 'f3'
>  hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000,
> BLOCKCACHE => true}
>
>
> Thanks,
> Sanjay
>
>
>
>
> This message, including any attachments, is the property of Sears Holdings
> Corporation and/or one of its subsidiaries. It is confidential and may
> contain proprietary or legally privileged information. If you are not the
> intended recipient, please delete it without reading the contents. Thank
> you.
>



-- 
Harsh J

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message