[ckan-dev] Update private/public dataset fails

Stéphane Guidoin stephane at opennorth.ca
Wed Oct 29 14:24:15 UTC 2014


I had the same issue. From what I've seen, it seems that SOLR reach the
memory size of the java virtual machine. On my side, I've increased the
heapsize of the VM and now it's much better.

In /etc/default/jetty  I've set JAVA_OPTIONS="-Xmx512m
-Djava.awt.headless=true"

You can put the Xmx value to more than that if needed, I think my default
was something like 256 which was not enough.

Stéphane

On Wed, Oct 29, 2014 at 6:19 AM, Nigel Babu <nigel.babu at okfn.org> wrote:

> This is an unrelated solr issue that we've run into in the past.
> Temporarily, if you do a paster search-index rebuild, it should work. A
> more permanent fix is to upgrade to a newer version of solr. I've still not
> managed to isolate a particular reason for this happening, though.
>
> Nigel Babu
> Senior Sysadmin, Open Knowledge
>
> On 29 October 2014 15:45, Henrik Aagaard Jørgensen <BU1G at tmf.kk.dk> wrote:
>
>>    I’m trying to updat a dataset from private to public. Doing so
>> results in an error from Solr.
>>
>>
>>
>> .('Solr returned an error: 400 ParseError at [row,col]:[1,1] Message:
>> JAXP00010001: The parser has encountered more than "64000" entity
>> expansions in this document; this is the limit imposed by the JDK. -
>> <html>\n<head>\n<meta http-equiv="Content-Type" content="text/html;
>> charset=ISO-8859-1"/>\n<title>Error 400 ParseError at
>> [row,col]:[1,1]\nMessage: JAXP00010001: The parser has encountered more
>> than "64000" entity expansions in this document; this is the limit imposed
>> by the JDK.</title>\n</head>\n<body><h2>HTTP ERROR 400</h2>\n<p>Problem
>> accessing /solr/update. Reason:\n<pre> ParseError at
>> [row,col]:[1,1]\nMessage: JAXP00010001: The parser has encountered more
>> than "64000" entity expansions in this document; this is the limit imposed
>> by the JDK.</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
>> \n<br/> \n<br/> \n<br/> \n<br/> \n<br/> \n<br/> \n<br/> ',)
>>
>>
>>
>> I’ve updated the database manually in package and package_revision. But
>> looking at the organizations dataset still shows no public dataset.
>>
>> Looking at the specific dataset however the label private is removed.
>>
>>
>>
>> What to do?
>>
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>


-- 
Stéphane Guidoin
Director of product and service development
Open North
514-862-0084
http://opennorth.ca
Twitter: @opennorth / @hoedic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20141029/ee2faba9/attachment-0003.html>


More information about the ckan-dev mailing list