Thanks. Is there a way for me to get notified when the bug is fixed?

2015-04-08 18:01 GMT+02:00 David Lee <[email protected]>:

>  Thanks,  I have tracked this down and will be opening a bug.
>
> It affects mlcp but not xcc.
>
>
>
> The workaround for now is to make sure that your server's defined hostname
> is resolvable from the client as the same hostname.
>
>
>
>
>
>
> -----------------------------------------------------------------------------
>
> David Lee
> Lead Engineer
> *Mark**Logic* Corporation
> [email protected]
> Phone: +1 812-482-5224
>
> Cell:  +1 812-630-7622
> www.marklogic.com
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Andreas Hubmer
> *Sent:* Wednesday, April 08, 2015 9:51 AM
>
> *To:* MarkLogic Developer Discussion
> *Subject:* Re: [MarkLogic Dev General] MLCP - copy database from
> localhost to virtual server
>
>
>
> Here is my command line call (using mlcp-Hadoop2-1.3-1):
>
> *mlcp.bat export -host 10.100.0.101 -port 8007 -username USR -password *
>
> *PW -output_file_path export-test *
>
>
>
> Standard-Output:
>
> 15/03/24 11:44:56 INFO contentpump.ContentPump: Hadoop library version:
>
> 2.0.0-alpha
>
> 15/03/24 11:44:56 WARN util.KerberosName: Kerberos krb5 configuration not
>
> found, setting default realm to empty
>
> 15/03/24 11:44:56 INFO mapreduce.MarkLogicInputFormat: 1 forest splits.
>
> 15/03/24 11:44:56 INFO mapreduce.MarkLogicInputFormat: Made 1 splits.
>
> 15/03/24 11:44:57 ERROR contentpump.LocalJobRunner: Error running task:
>
> java.lang.IllegalArgumentException: Default provider - Not a usable net
>
> address: *foohost*:8007
>
>         at
>
>
> com.marklogic.xcc.ContentSourceFactory.defaultConnectionProvider(ContentSourceFactory.java:331)
>
>         at
>
>
> com.marklogic.xcc.ContentSourceFactory.newContentSource(ContentSourceFactory.java:219)
>
>         at
>
>
> com.marklogic.xcc.ContentSourceFactory.newContentSource(ContentSourceFactory.java:243)
>
>         at
>
>
> com.marklogic.mapreduce.utilities.InternalUtilities.getInputContentSource(InternalUtilities.java:144)
>
>         at
>
>
> com.marklogic.mapreduce.MarkLogicRecordReader.initialize(MarkLogicRecordReader.java:192)
>
>         at
>
>
> com.marklogic.contentpump.LocalJobRunner$TrackingRecordReader.initialize(LocalJobRunner.java:430)
>
>         at
>
>
> com.marklogic.contentpump.LocalJobRunner$LocalMapTask.call(LocalJobRunner.java:371)
>
>         at java.util.concurrent.FutureTask.run(Unknown Source)
>
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> Source)
>
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>
> Source)
>
>         at java.lang.Thread.run(Unknown Source)
>
> 15/03/24 11:44:57 INFO contentpump.LocalJobRunner: completed 0%
>
> 15/03/24 11:44:57 INFO contentpump.LocalJobRunner: Total execution time: 0
>
> sec
>
>
>
> In my workaround I added 10.100.0.101 with its hostname (*foohost*) to my
> local hostname file.
>
>
>
> The remote server is a single machine, not a cluster.
>
>
>
> It could be a regression bug from ML7 to ML8. The same MLCP call to our
> ML7 server worked. But I cannot completely exclude configuration
> differences between the two servers.
>
>
>
> 2015-04-08 15:14 GMT+02:00 David Lee <[email protected]>:
>
>   What flags were you passing to mlcp ?
>
> If its a 'simple' default connection with basic authentication I believe
> that the DNS shouldn't mater,
>
> if it does I'll see if I can reproduce and file a bug if needed.
>
>
>
> If its a more complex connection, such as direct forest placement, HDFS,
> going through a load balencer etc then it may make a difference.
>
>
>
> As much specifics of your server config, mlcp config and network topology
> would help.
>
>
>
>
>
>
> -----------------------------------------------------------------------------
>
> David Lee
> Lead Engineer
> *Mark**Logic* Corporation
> [email protected]
> Phone: +1 812-482-5224
>
> Cell:  +1 812-630-7622
> www.marklogic.com
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Andreas Hubmer
> *Sent:* Wednesday, April 08, 2015 3:26 AM
> *To:* MarkLogic Developer Discussion
> *Subject:* Re: [MarkLogic Dev General] MLCP - copy database from
> localhost to virtual server
>
>
>
> Hi,
>
>
>
> I had a similar problem with the error "not a useable net address". The
> root cause seemed to be that MLCP does not work well when you use the ip
> address of the remote database and the hostname of the remote server is not
> in your DNS. This is strange because I don't see a reason why MLCP should
> need the hostname when I use the ip address.
>
>
>
> My workaround is to add the the hostname of the remote server to my local
> hostname file.
>
>
>
> Regards,
>
> Andreas
>
>
>
>
>
>
>
>
>
>
>
> 2015-04-07 17:22 GMT+02:00 Frank Mortier <[email protected]>:
>
>   I forgot to add :
>
>
>
> Windows 8
>
> ML 8.0-1.1
>
> JRE1.8.0-40 and/or JDK 1.8.0-40
>
>
>
>
>
> *From:* Frank Mortier
> *Sent:* 07 April 2015 17:07
> *To:* MarkLogic Developer Discussion
> *Subject:* MLCP - copy database from localhost to virtual server
>
>
>
> Hi there,
>
>
>
> I would like to copy a database from a local ml server to a ml server
> located on an azure virtual machine. I however get the warning and error
> listed in the screenshot (Kerberos configuration not found and not a
> useable net address). Any suggestion?
>
>
>
> I have also tried to export the database to an archive but it only copies
> part of  the documents in the database!
>
>
>
> Thanks for the suggestions.
>
>
>
> Frank
>
>
>
>
>
>
>
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
>
>
>
> --
>
> Andreas Hubmer
>
> IT Consultant
>
>
>
> EBCONT enterprise technologies GmbH
>
> Millennium Tower
>
> Handelskai 94-96
>
> A-1200 Vienna
>
>
>
> Mobile: +43 664 60651861
>
> Fax: +43 2772 512 69-9
>
> Email: [email protected]
>
> Web: http://www.ebcont.com
>
>
>
> OUR TEAM IS YOUR SUCCESS
>
>
>
> UID-Nr. ATU68135644
>
> HG St.Pölten - FN 399978 d
>
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
>
>
>
> --
>
> Andreas Hubmer
>
> IT Consultant
>
>
>
> EBCONT enterprise technologies GmbH
>
> Millennium Tower
>
> Handelskai 94-96
>
> A-1200 Vienna
>
>
>
> Mobile: +43 664 60651861
>
> Fax: +43 2772 512 69-9
>
> Email: [email protected]
>
> Web: http://www.ebcont.com
>
>
>
> OUR TEAM IS YOUR SUCCESS
>
>
>
> UID-Nr. ATU68135644
>
> HG St.Pölten - FN 399978 d
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>


-- 
Andreas Hubmer
IT Consultant

EBCONT enterprise technologies GmbH
Millennium Tower
Handelskai 94-96
A-1200 Vienna

Mobile: +43 664 60651861
Fax: +43 2772 512 69-9
Email: [email protected]
Web: http://www.ebcont.com

OUR TEAM IS YOUR SUCCESS

UID-Nr. ATU68135644
HG St.Pölten - FN 399978 d
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to