Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Failed to run inject on nutch

Failed to run inject on nutch

Expert Contributor

InjectorJob: org.apache.gora.util.GoraException: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "16000Y! ��?B|PBUF node1 �} ��* �}" at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:167) at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:135) at org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:75) at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:221) at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:251) at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:273) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:282) Caused by: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "16000Y! ��?B|PBUF node1 �} ��* �}" at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:127) at org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:102) at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:161) ... 7 more Caused by: java.lang.NumberFormatException: For input string: "16000Y! ��?B|PBUF node1 �} ��* �}" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:492) at java.lang.Integer.parseInt(Integer.java:527) at org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:63) at org.apache.hadoop.hbase.MasterAddressTracker.getMasterAddress(MasterAddressTracker.java:63) at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:354) at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:94) at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:109) ... 9 more

2 REPLIES 2

Re: Failed to run inject on nutch

The following line of code is throwing "NumberFormatException"

 Caused by: java.lang.NumberFormatException: For input string: "16000Y! ��?B|PBUF node1 �} ��* �}" 
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) 
    at java.lang.Integer.parseInt(Integer.java:492) 
    at java.lang.Integer.parseInt(Integer.java:527) 
    at org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:63)

https://github.com/simplegeo/hadoop-hbase/blob/master/src/main/java/org/apache/hadoop/hbase/HServerA...

Because you might not have entered "host:port" port number with a colon for the HServerAddress. where have you entered the following value "16000Y! ��?B|PBUF node1 �} ��* �}" in your config?

Highlighted

Re: Failed to run inject on nutch

Super Collaborator

There is no HServerAddress.java in HDP 2.3+ (Apache 1.1.2)

Looks like the hbase version used by Gora may not match the version in cluster.

FTI

GORA-443