[MarkLogic Dev General] FATAL_ERRORS not working in record loader

Cathy Bernardone cbernard at aip.org
Fri Oct 31 05:16:12 PST 2008


Mike - The newer version worked. Thank you! :)  We were using version  
7-11.

Cathy

On Oct 30, 2008, at 4:58 PM, Michael Blakeley wrote:

> Cathy,
>
> Thanks for the report, but I can't reproduce this problem using  
> version 2008-10-28.1. You've omitted the start of the output, where  
> you should see the version number and other useful information:  
> here's what mine looks like.
>
> RecordLoader starting, version 2008-10-28.1 on 1.6.0_0
> 30-Oct-2008 1:54:23 PM com.marklogic.ps.RecordLoader initConfiguration
> INFO: Configuration is com.marklogic.recordloader.xcc.XccConfiguration
> logging to CONSOLE
> logging to file simplelogger-%u-%g.log
> 30-Oct-2008 1:54:23 PM com.marklogic.ps.SimpleLogger configureLogger
> INFO: setting up logging for: com.marklogic.ps
> 30-Oct-2008 1:54:23 PM  
> com.marklogic.recordloader.AbstractConfiguration validateProperties
> INFO: using FATAL_ERRORS=false
> ...
>
> If you are using an older version, please try 2008-10-28.1. If that  
> doesn't help, please provide full output.
>
> -- Mike
>
> Cathy Bernardone wrote:
>> FATAL_ERRORS=FALSE doesn't seem to work with the record loader, as  
>> it  stops processing and does not move on to the next file.  Error  
>> and  code are below.  Help would be greatly appreciated.
>> Thank you,
>> Cathy
>> java -cp $CLASSPATH -DID_NAME=#FILENAME \
>> -DCONNECTION_STRING=$URL -DOUTPUT_URI_SUFFIX=$URI_SUFFIX \
>> -DINPUT_PATH=$SRC/$coden \
>> -DINPUT_STRIP_PREFIX="/scratch1/spin_files/" \
>> -DURI_PREFIX=$URI_PREFIX com.marklogic.ps.RecordLoader   \
>> -DFATAL_ERRORS=FALSE
>> Oct 30, 2008 4:42:32 PM com.marklogic.ps.SimpleLogger logException
>> SEVERE: fatal - halting monitor
>> com.marklogic.xcc.exceptions.XQueryException: XDMP-UNENDTAG:   
>> Unexpected end tag </span> at /archive/POCGEP/vol_11/  
>> iss_2/217_1_raw.xml line 35
>> in /insert
>>         at  com marklogic xcc impl handlers  
>> ServerExceptionHandler.handleResponse(ServerExceptionHandler.java:31)
>>         at  com marklogic xcc impl handlers  
>> ContentInsertController.serverDialog(ContentInsertController.java: 
>> 120)
>>         at  com marklogic xcc impl handlers  
>> AbstractRequestController.runRequest(AbstractRequestController.java: 
>> 72)
>>         at   
>> com.marklogic.xcc.impl.SessionImpl.insertContent(SessionImpl.java: 
>> 204)
>>         at   
>> com.marklogic.xcc.impl.SessionImpl.insertContent(SessionImpl.java: 
>> 235)
>>         at   
>> com.marklogic.recordloader.xcc.XccContent.insert(XccContent.java:49)
>>         at   
>> com 
>> .marklogic.recordloader.AbstractLoader.insert(AbstractLoader.java:  
>> 223)
>>         at   
>> com.marklogic.recordloader.FileLoader.process(FileLoader.java:45)
>>         at   
>> com.marklogic.recordloader.AbstractLoader.call(AbstractLoader.java: 
>> 69)
>>         at java.util.concurrent.FutureTask  
>> $Sync.innerRun(FutureTask.java:269)
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>>         at java.util.concurrent.ThreadPoolExecutor  
>> $Worker.runTask(ThreadPoolExecutor.java:650)
>>         at java.util.concurrent.ThreadPoolExecutor  
>> $Worker.run(ThreadPoolExecutor.java:675)
>>         at java.lang.Thread.run(Thread.java:595)
>> Oct 30, 2008 4:42:32 PM com.marklogic.recordloader.Monitor halt
>> INFO: halting
>> Oct 30, 2008 4:42:32 PM com.marklogic.ps.SimpleLogger logException
>> SEVERE: sleep was interrupted: continuing
>> java.lang.InterruptedException: sleep interrupted
>>         at java.lang.Thread.sleep(Native Method)
>>         at com.marklogic.recordloader.Monitor.monitor(Monitor.java: 
>> 141)
>>         at com.marklogic.recordloader.Monitor.run(Monitor.java:85)
>> Oct 30, 2008 4:42:32 PM com.marklogic.recordloader.Monitor run
>> INFO: loaded 16 records ok (48829 B in 0.45593018 s, 35 tps, 105  
>> kB/ s), with 0 error(s)
>> Oct 30, 2008 4:42:32 PM com.marklogic.ps.RecordLoader handleFiles
>> INFO: queuing contents of /scratch1/spin_files/POCGEP/vol_14/iss_2:  
>> 17
>> _______________________________________________
>> General mailing list
>> General at developer.marklogic.com
>> http://xqzone.com/mailman/listinfo/general
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://xqzone.com/mailman/listinfo/general



More information about the General mailing list