Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change 
notification.

The "ErrorMessagesInNutch2" page has been changed by LewisJohnMcgibbney:
http://wiki.apache.org/nutch/ErrorMessagesInNutch2?action=diff&rev1=7&rev2=8

  This page acts as a repository for potential error messages you might 
experience whilst using Nutch 2.0. It will most likely be dynamic and fairly 
general in nature due to the variety of additional software projects which can 
be combined with Nutch 2.0 and the potential for errors which this presents 
both for Nutch and which need to be considered when working with other software 
projects in combination.
  
  <<TableOfContents(3)>>
+ 
+ == Nutch 2.1 + HBase 0.90.4 cluster settings - WARN  zookeeper.ClientCnxn - 
Session 0x0 for server node1.xxxxxx.com/xxx.xxx.xxx.xxx:2181, unexpected error, 
closing socket connection and attempting reconnect java.io.IOException: 
Connection reset by peer ==
+ 
+ There seems to be a bug in the HBase 0.90.4 library, which comes with Nutch 
2.x. If you replace hbase-0.90.4.jar with hbase-0.90.6-cdh3u5.jar (assuming 
that you are running with CDH3 Update 5) the problem should be resolved and you 
will avoid the rather nasty looking trace as below. 
[[http://www.mail-archive.com/user%40nutch.apache.org/msg08700.html|Here]] is 
the mailing list thread for reference.
+ 
+ {{{
+ 2013-02-06 17:09:32,775 WARN  zookeeper.ClientCnxn - Session 0x0 for
+ server node1.xxxxxx.com/xxx.xxx.xxx.xxx:2181, unexpected error,
+ closing socket connection and attempting reconnect
+ java.io.IOException: Connection reset by peer
+         at sun.nio.ch.FileDispatcher.read0(Native Method)
+         at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
+         at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:198)
+         at sun.nio.ch.IOUtil.read(IOUtil.java:166)
+         at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:245)
+         at 
org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:817)
+         at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1089)
+ 2013-02-06 17:09:34,337 WARN  mapred.FileOutputCommitter - Output path
+ is null in cleanup
+ 2013-02-06 17:09:34,337 WARN  mapred.LocalJobRunner - job_local_0001
+ org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is able to
+ connect to ZooKeeper but the connection closes immediately. This could
+ be a sign that the server has too many connections (30 is the
+ default). Consider inspecting your ZK server logs for that error and
+ then make sure you are reusing HBaseConfiguration as often as you can.
+ See HTable's javadoc for more information.
+         at 
+ 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:155)
+         at 
+ 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:1
+ 002)
+         at 
+ 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.jav
+ a:304)
+         at 
+ 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:295)
+         at 
+ 
org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:157)
+         at 
org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:90)
+         at 
+ org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:108)
+         at 
+ org.apache.gora.store.impl.DataStoreBase.readFields(DataStoreBase.java:181)
+         at org.apache.gora.query.impl.QueryBase.readFields(QueryBase.java:222)
+         at 
+ 
org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:67)
+         at 
+ 
org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:40)
+         at org.apache.gora.util.IOUtils.deserialize(IOUtils.java:217)
+         at org.apache.gora.util.IOUtils.deserialize(IOUtils.java:237)
+         at 
+ 
org.apache.gora.query.impl.PartitionQueryImpl.readFields(PartitionQueryImpl.java:141)
+         at 
+ 
org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:67)
+         at 
+ 
org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:40)
+         at org.apache.gora.util.IOUtils.deserialize(IOUtils.java:217)
+         at org.apache.gora.util.IOUtils.deserialize(IOUtils.java:237)
+         at 
+ org.apache.gora.mapreduce.GoraInputSplit.readFields(GoraInputSplit.java:76)
+         at 
+ 
org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:67)
+         at 
+ 
org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:40)
+         at org.apache.hadoop.mapred.MapTask.getSplitDetails(MapTask.java:396)
+         at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:728)
+         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
+         at 
+ org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:212)
+ Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException:
+ KeeperErrorCode = ConnectionLoss for /hbase
+         at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
+         at 
org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
+         at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:809)
+         at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:837)
+         at 
+ org.apache.hadoop.hbase.zookeeper.ZKUtil.createAndFailSilent(ZKUtil.java:903)
+         at 
+ 
org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:133)
+         ... 24 more
+ }}}
  
  
  == Nutch 2.0 and HBase 0.90.4 - 
org.apache.hadoop.hbase.MasterNotRunningException: master:60000 ==

Reply via email to