Marklogic Content Pump Issue

Krishna Chaitanya

I am trying to load a dbPedia dataset in .nt format into MarkLogic using the MarkLogic Content Pump. I'm using MarkLogic 7, with an XDBC server running on port 8005 on my machine. My data is present in a file, persondata_en.nt, and I am using the following command to load it.

C:\mlcp-Hadoop2-1.2-1\bin\mlcp import -mode local ^
-host localhost -port 8005 -username admin -password admin ^
-input_file_path "C:\dbp\persondata_en.nt" ^
-input_file_type RDF

This command results in a Premature EOF exception, as below.

2014-03-18 11:56:28.401 WARNING [1] (AbstractRequestController.runRequest): Error         parsing HTTP headers: Premature EOF, partial header line read: ''
2014-03-18 11:56:28.503 WARNING [1] (AbstractRequestController.runRequest): Error  parsing HTTP headers: Premature EOF, partial header line read: ''
2014-03-18 11:56:28.605 WARNING [1] (AbstractRequestController.runRequest): Error parsing HTTP headers: Premature EOF, partial header line read: ''
2014-03-18 11:56:28.707 WARNING [1] (AbstractRequestController.runRequest): Error parsing HTTP headers: Premature EOF, partial header line read: ''
2014-03-18 11:56:28.809 WARNING [1] (AbstractRequestController.runRequest): Error parsing HTTP headers: Premature EOF, partial header line read: ''
2014-03-18 11:56:28.810 INFO [1] (AbstractRequestController.runRequest): automatic query  retries (5) exhausted, throwing: com.marklogic.xcc.exceptions.ServerConnectionException:    Error parsing
 [Session: user=admin, cb={default} [ContentSource: user=admin, cb={none} [provider:  address=localhost/127.0.0.1:8005, pool=0/64]]]
 [Client: XCC/7.0-20140204]
 com.marklogic.xcc.exceptions.ServerConnectionException: Error parsing HTTP headers:     Premature EOF, partial header line read: ''
 [Session: user=admin, cb={default} [ContentSource: user=admin, cb={none} [provider:  address=localhost/127.0.0.1:8005, pool=0/64]]]
 [Client: XCC/7.0-20140204]

I'm using pretty much the same command as specified in the example load scripts in the tutorial here. Has anyone faced this problem before? Any help would be great. Thanks!

Krishna Chaitanya

Thanks for your help guys. I managed to figure out the reason for the issue. I had not configured the settings for the MarkLogic XDBC server properly. I reset the server following the instructions from the documentation, and was able to successfully insert triples into the store.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

MarkLogic content pump mlcp document URI issue

From Dev

MarkLogic Content Pump Java

From Dev

Marklogic Content Pump and XSLT transformation

From Dev

Camel+marklogic without using Marklogic Content Pump

From Dev

Marklogic content pump (MLCP) silently ignores files starting with underscore

From Dev

Marklogic Content Pump generate multiple documents through XSLT transform

From Dev

Marklogic Content Processing Framework (CPF) is not triggered when loaded the documents with MarkLogic Content Pump (MLCP))

From Dev

MarkLogic Reindexing Issue

From Dev

Issue with NEAR query in Marklogic

From Dev

Marklogic Data Hub Upgrade Issue

From Dev

Handling embargoed content scenario in MarkLogic

From Dev

xdmp:document-filter issue in Marklogic 8

From Dev

MarkLogic offline Data Hub deployment issue

From Dev

MarkLogic transformation got issue while transform

From Dev

Marklogic 6: Dls version restoring issue

From Dev

How to deploy Content Processing Framework in MarkLogic?

From Dev

Marklogic REST API - Retrieve File Content

From Dev

Marklogic- RESTAPI-Invalid Content

From Dev

Marklogic REST API - Retrieve File Content

From Dev

Specify port number and content database for a query in marklogic

From Dev

dynamic content alignment issue

From Dev

Content toggling issue

From Dev

Issue Fading in Content

From Dev

issue with application content

From Dev

Content toggling issue

From Dev

Issue while using SOAP UI for Marklogic SPARQL REST API

From Dev

Marklogic - How to remove new line char issue in XQuery

From Dev

Content ingestion and properties update using marklogic dls API in same transaction

From Dev

MarkLogic Java Client API - Patching Metadata and Document Content

Related Related

HotTag

Archive