[MarkLogic Dev General] Getting not an usable net address error when integrating ML 9 with Connector-for-Hadoop2-2.2.3?

2018-01-05 Thread C. Yaswanth
Following this https://docs.marklogic.com/guide/mapreduce/quickstart I am running sample marklogic-hello-world.xml by using the configuration that was present in the documentation. My localhost name is `ubuntu.localdomain` . When i am giving the same in my configuration file it is throwing error

[MarkLogic Dev General] (no subject)

2018-01-24 Thread C. Yaswanth
Hi All, Actually i have a set of json files(i.e.Total : 1M with Size 500MB). Each json file has 18 Keys. I tried to implement Envelope pattern using below Javascript 'use strict'; declareUpdate() var docs = fn.collection("input"); for(var doc of docs) { var transformed =

Re: [MarkLogic Dev General] (no subject)

2018-01-25 Thread C. Yaswanth
ment > MarkLogic > jmak...@marklogic.com > > On Jan 24, 2018, at 10:19 AM, C. Yaswanth <rocking...@gmail.com> wrote: > > Hi All, > > Actually i have a set of json files(i.e.Total : 1M with Size 500MB). Each > json file has 18 Keys. I tried to implement Envelop

[MarkLogic Dev General] Regarding DMSDK

2018-01-29 Thread C. Yaswanth
I want to run the Marklogic Data Movement SDK for transformation in distributed mode on my Marklogic cluster which is running on 3Nodes. Usually in the mlcp we will use the `-host` parameter to specify our hostnames and have `-mode` parameter to define our mode type. Is it possible here in DMSDK

[MarkLogic Dev General] Is there compress option for exportListener in Marklogic Java Client API?

2018-02-06 Thread C. Yaswanth
I want export all the documents from my marklogic db using Data Movement SDK . I exported as files, but i want to try compressing in zip file through DMSDK. I searched in the documentation regarding `compress` option but didn't find any. I am just trying for the option 'compress` while exporting

[MarkLogic Dev General] Extracting ML Documents to a zip file using Java Client Api ?

2018-02-07 Thread C. Yaswanth
Hi, I am exporting all the documents from a collection to local directory . Below is my code. public class Extract { static // replace with your MarkLogic Server connection information DatabaseClient client = DatabaseClientFactory.newClient("x", x,

[MarkLogic Dev General] Marklogic Hadoop Connector

2017-12-26 Thread C. Yaswanth
Hi Guys, I need to setup MarkLogic connector for Hadoop for sending the ml files to HDFS storage and retrieving them. I went through ML doc (I.e. https://docs.marklogic.com/guide/mapreduce/quickstart) where they had mentioned in `required software` section it requires Linux So, does this mean

[MarkLogic Dev General] Change the collection TAG for set of documents

2018-04-11 Thread C. Yaswanth
Hi All, Actually , I want to move(i.e.change) the documents(I.e.around 2M) from one collection to another. For that we tried xdmp:set-collection method which successfully did our job, but taken a lot of time(I.e.12min) which is nearly equal to the time for their ingestion into marklogic(13min).