[
https://issues.apache.org/jira/browse/HBASE-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706221#action_12706221
]
Andrew Purtell commented on HBASE-1374:
---------------------------------------
So, zoo.cfg is not found on the classpath. But, the NPE is confusing.
> NPE out of hbase.zookeeper.ZooKeeperWrapper.loadZooKeeperConfig
> ---------------------------------------------------------------
>
> Key: HBASE-1374
> URL: https://issues.apache.org/jira/browse/HBASE-1374
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: Andrew Purtell
> Fix For: 0.20.0
>
> Attachments: hbase-1374.patch
>
>
> java.lang.ExceptionInInitializerError
> at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getZooKeeperWrapper(HConnectionManager.java:792)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:230)
> at
> org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:70)
> at net.iridiant.content.Content.createTables(Unknown Source)
> at net.iridiant.heritrix.writer.HBaseWriter.<init>(Unknown Source)
> at net.iridiant.heritrix.writer.HBaseWriterPool$1.makeObject(Unknown
> Source)
> at
> org.apache.commons.pool.impl.FairGenericObjectPool.borrowObject(FairGenericObjectPool.java:262)
> at org.archive.io.WriterPool.borrowFile(WriterPool.java:139)
> at net.iridiant.heritrix.writer.HBaseWriterProcessor.write(Unknown
> Source)
> at
> net.iridiant.heritrix.writer.HBaseWriterProcessor.innerProcessResult(Unknown
> Source)
> at org.archive.modules.Processor.process(Processor.java:123)
> at
> org.archive.crawler.framework.ToeThread.processCrawlUri(ToeThread.java:310)
> at org.archive.crawler.framework.ToeThread.run(ToeThread.java:157)
> Caused by: java.lang.NullPointerException
> at java.util.Properties$LineReader.readLine(Properties.java:418)
> at java.util.Properties.load0(Properties.java:337)
> at java.util.Properties.load(Properties.java:325)
> at
> org.apache.hadoop.hbase.zookeeper.HQuorumPeer.parseConfig(HQuorumPeer.java:93)
> at
> org.apache.hadoop.hbase.zookeeper.HQuorumPeer.parseZooKeeperConfig(HQuorumPeer.java:79)
> at
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.loadZooKeeperConfig(ZooKeeperWrapper.java:145)
> at
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.<clinit>(ZooKeeperWrapper.java:58)
> ... 13 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.