Hi,
Below are some details of my cluster :

Cluster1 : /etc/hosts

<ipmaster>  <hostname_master>
<ipslave>   <hostname_slave>
<ipcluster2> <hostname_cluster2>

Cluster2 : /etc/hosts

<ipmaster>  <hostname_master>
<ipslave>   <hostname_slave>
<ipcluster2> <hostname_cluster2>

Error log in Cluster2 ;

2011-09-15 13:13:27,979 INFO org.apache.zookeeper.server.NIOServerCnxn: 
Accepted socket connection from /10.33.64.235:39474
2011-09-15 13:13:27,981 INFO org.apache.zookeeper.server.NIOServerCnxn: Client 
attempting to establish new session at /10.33.64.235:39474
2011-09-15 13:13:27,994 INFO org.apache.zookeeper.server.NIOServerCnxn: 
Established session 0x1326c040ae20008 with negotiated timeout 40000 for client 
/10.33.64.235:39474
2011-09-15 13:13:37,329 WARN org.apache.zookeeper.server.NIOServerCnxn: 
EndOfStreamException: Unable to read additional data from client sessionid 
0x1326c040ae20008, likely client has closed socket
2011-09-15 13:13:37,329 INFO org.apache.zookeeper.server.NIOServerCnxn: Closed 
socket connection for client /10.33.64.235:39474 which had sessionid 
0x1326c040ae20008
2011-09-15 13:14:10,000 INFO org.apache.zookeeper.server.ZooKeeperServer: 
Expiring session 0x1326c040ae20008, timeout of 40000ms exceeded
2011-09-15 13:14:10,000 INFO org.apache.zookeeper.server.PrepRequestProcessor: 
Processed session termination for sessionid: 0x1326c040ae20008
2011-09-15 13:17:44,041 DEBUG org.apache.hadoop.hbase.io.hfile.LruBlockCache: 
LRU Stats: total=959.52 KB, free=198.43 MB, max=199.36 MB, blocks=3, 
accesses=33, hits=30, hitRatio=90.90%%, cachingAccesses=33, cachingHits=30, 
cachingHitsRatio=90.90%%, evictions=0, evicted=0, evictedPerRun=NaN
2011-09-15 13:18:19,828 INFO org.apache.hadoop.hbase.master.LoadBalancer: 
Skipping load balancing.  servers=1 regions=3 average=3.0 mostloaded=3 
leastloaded=3
2011-09-15 13:18:19,835 DEBUG org.apache.hadoop.hbase.master.CatalogJanitor: 
Scanned 1 catalog row(s) and gc'd 0 unreferenced parent region(s)
2011-09-15 13:18:23,024 WARN org.apache.zookeeper.server.NIOServerCnxn: 
EndOfStreamException: Unable to read additional data from client sessionid 
0x1326c040ae20006, likely client has closed socket
2011-09-15 13:18:23,024 INFO org.apache.zookeeper.server.NIOServerCnxn: Closed 
socket connection for client /127.0.0.1:51949 which had sessionid 
0x1326c040ae20006
2011-09-15 13:18:23,025 WARN org.apache.zookeeper.server.NIOServerCnxn: 
EndOfStreamException: Unable to read additional data from client sessionid 
0x1326c040ae20007, likely client has closed socket
2011-09-15 13:18:23,025 INFO org.apache.zookeeper.server.NIOServerCnxn: Closed 
socket connection for client /127.0.0.1:51953 which had sessionid 
0x1326c040ae20007
2011-09-15 13:18:56,000 INFO org.apache.zookeeper.server.ZooKeeperServer: 
Expiring session 0x1326c040ae20007, timeout of 40000ms exceeded
2011-09-15 13:18:56,000 INFO org.apache.zookeeper.server.PrepRequestProcessor: 
Processed session termination for sessionid: 0x1326c040ae20007
2011-09-15 13:19:02,000 INFO org.apache.zookeeper.server.ZooKeeperServer: 
Expiring session 0x1326c040ae20006, timeout of 40000ms exceeded
2011-09-15 13:19:02,000 INFO org.apache.zookeeper.server.PrepRequestProcessor: 
Processed session termination for sessionid: 0x1326c040ae20006
2011-09-15 13:19:06,474 INFO org.apache.zookeeper.server.NIOServerCnxn: 
Accepted socket connection from /10.33.64.235:36254
2011-09-15 13:19:06,476 INFO org.apache.zookeeper.server.NIOServerCnxn: Client 
attempting to establish new session at /10.33.64.235:36254
2011-09-15 13:19:06,492 INFO org.apache.zookeeper.server.NIOServerCnxn: 
Established session 0x1326c040ae20009 with negotiated timeout 40000 for client 
/10.33.64.235:36254
2011-09-15 13:19:18,766 WARN org.apache.zookeeper.server.NIOServerCnxn: 
EndOfStreamException: Unable to read additional data from client sessionid 
0x1326c040ae20009, likely client has closed socket

Regards

From: Stuti Awasthi
Sent: Thursday, September 15, 2011 1:18 PM
To: '[email protected]'
Subject: Issues in CopyTable to different cluster

Hi,

I was trying copytable utility and it worked fine in same cluster but not 
working properly with different cluster when I try to copy my table from 1 
cluster to other .

Command I used :

"Hbase/hbase-0.90.3/bin/hbase org.apache.hadoop.hbase.mapreduce.CopyTable 
--starttime=1315916685308 --endtime=1315997062277 --new.name=backup 
--peer.adr=slave1:2181:/hbase testArchive"

IP and hostname of each cluster machines are present in each other hostfile.

Error :
11/09/15 13:13:08 INFO zookeeper.ClientCnxn: Session establishment complete on 
server slave1/172.28.96.239:2181, sessionid = 0x1326c040ae20008, negotiated 
timeout = 40000
11/09/15 13:13:08 DEBUG client.HConnectionManager$HConnectionImplementation: 
Lookedup root region location, 
connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@82d37<mailto:connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@82d37>;
 hsa=localhost:48497
11/09/15 13:13:08 INFO ipc.HbaseRPC: Server at localhost/127.0.0.1:48497 could 
not be reached after 1 tries, giving up.
11/09/15 13:13:08 DEBUG client.HConnectionManager$HConnectionImplementation: 
locateRegionInMeta parentTable=-ROOT-, metaLocation=address: localhost:48497, 
regioninfo: -ROOT-,,0.70236052, attempt=0 of 10 failed; retrying after sleep of 
1000 because: Failed setting up proxy interface 
org.apache.hadoop.hbase.ipc.HRegionInterface to localhost/127.0.0.1:48497 after 
attempts=1
11/09/15 13:13:08 DEBUG client.HConnectionManager$HConnectionImplementation: 
Lookedup root region location, 
connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@82d37<mailto:connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@82d37>;
 hsa=localhost:48497
11/09/15 13:13:09 DEBUG client.HConnectionManager$HConnectionImplementation: 
Lookedup root region location, 
connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@82d37<mailto:connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@82d37>;
 hsa=localhost:48497
11/09/15 13:13:09 INFO ipc.HbaseRPC: Server at localhost/127.0.0.1:48497 could 
not be reached after 1 tries, giving up.
11/09/15 13:13:09 DEBUG client.HConnectionManager$HConnectionImplementation: 
locateRegionInMeta parentTable=-ROOT-, metaLocation=address: localhost:48497, 
regioninfo: -ROOT-,,0.70236052, attempt=1 of 10 failed; retrying after sleep of 
1000 because: Failed setting up proxy interface 
org.apache.hadoop.hbase.ipc.HRegionInterface to localhost/127.0.0.1:48497 after 
attempts=1

Am I missing something ?

Thanks & Regards
Stuti Awasthi
Sr Specialist


________________________________
::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.

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

Reply via email to