[
https://issues.apache.org/jira/browse/NUTCH-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Sullivan closed NUTCH-1479.
---------------------------------
Resolution: Not A Problem
Fix Version/s: 2.2
This is only an issue when using MySQL with UTF-8 settings and can be overcome
by setting the size of the primarykey of the host table to an appropriate size.
> nutch readhostdb and updatehostdb do not work with MySQL
> --------------------------------------------------------
>
> Key: NUTCH-1479
> URL: https://issues.apache.org/jira/browse/NUTCH-1479
> Project: Nutch
> Issue Type: Bug
> Components: storage
> Affects Versions: 2.2
> Environment: Nutch 2.x MySQL Ubuntu 12.04
> Reporter: James Sullivan
> Priority: Minor
> Labels: 2.1.0, MySQL
> Fix For: 2.2
>
>
> bin/nutch readhostdb and bin/nutch updatehostdb commands do not work with
> MySQL backend. For example readhostdb throw the following exception --
> HostDBReader: org.apache.gora.util.GoraException: java.io.IOException:
> com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was
> too long; max key length is 512 bytes
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira