I get the same error for 'sh bin/nutch readhostdb localhost'.
'updatehostdb' also gives similar error.

On Fri, Oct 19, 2012 at 5:26 AM, <[email protected]> wrote:

> Could somebody confirm if the bin/nutch readhostdb command works with
> MySQL.  I am trying to figure out if it is broke or I don't know how to use
> it.
>
> Thanks
>
> James
>
>
> bin/nutch readhostdb localhost
>
> HostDBReader: org.apache.gora.util.GoraException: java.io.IOException:
> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key
> was too long; max key length is 767 bytes
>     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.host.HostDbReader.read(HostDbReader.java:44)
>     at org.apache.nutch.host.HostDbReader.run(HostDbReader.java:82)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>     at org.apache.nutch.host.HostDbReader.main(HostDbReader.java:68)
>
>


-- 
Kiran Chitturi

Reply via email to