Maybe skip DNS by updating host file to make certain ok.
-Paul
From: "[email protected]"
<[email protected]>
To: [email protected]
Sent: Thursday, October 8, 2015 12:26 PM
Subject: General Digest, Vol 136, Issue 15
Send General mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://developer.marklogic.com/mailman/listinfo/general
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of General digest..."
Today's Topics:
1. Re: XDQP version mismatch between local cluster and foreign
cluster (Christopher Hamlin)
2. xml:lang bug (Andreas Hubmer)
3. Re: XDQP version mismatch between local cluster and foreign
cluster (David Lee)
----------------------------------------------------------------------
Message: 1
Date: Thu, 8 Oct 2015 11:08:14 -0400
From: Christopher Hamlin <[email protected]>
Subject: Re: [MarkLogic Dev General] XDQP version mismatch between
local cluster and foreign cluster
To: MarkLogic Developer Discussion <[email protected]>
Message-ID:
<cadx+0qw0mxzpq61trmrfxr5evgcqgznecpo6ogrycrnrxkg...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Given that you said you have 7.0-5.2, and looking at
2015-10-08 15:12:59.907 Warning: XDQPServerConnection::init(10.
245.79.90:7998-10.245.79.92:35041): XDMP-XDQPVER: XDQP version mismatch:
hostname,7000502 10.245.79.92,8000200
It sort of looks like 7.0-5.2 is trying to talk to 8.0-2. Are you sure
about both ends being 7.0-5.2?
On Thu, Oct 8, 2015 at 10:18 AM, Sudheer Yalaverthi <
[email protected]> wrote:
> Hi,
>
>
>
>
>
> I have since instance of primary and single instance of replica. I am
> trying to couple these two cluster but I am seeing XDQP version mismatch
> error.
>
> I have 7.0-5.2 on the RHEL environment.
>
>
>
> Both MarkLogic versions match but I am still receiving this error. Based
> on ML documentation, I should be seeing this error only when I different
> versions of ML but that is not the case here.
>
> Any thoughts?
>
>
>
>
>
>
>
> 2015-10-08 15:12:59.907 Warning:
> XDQPServerConnection::init(10.245.79.90:7998-10.245.79.92:35041):
> XDMP-XDQPVER: XDQP version mismatch: hostname,7000502 10.245.79.92,8000200
>
> 2015-10-08 15:12:59.934 Warning:
> XDQPServerConnection::init(10.245.79.90:7998-10.245.79.92:35042):
> XDMP-XDQPVER: XDQP version mismatch: hostname,7000502 10.245.79.92,8000200
>
> 2015-10-08 15:13:00.908 Warning:
> XDQPServerConnection::init(10.245.79.90:7998-10.245.79.92:35043):
> XDMP-XDQPVER: XDQP version mismatch: hostname,7000502 10.245.79.92,8000200
>
> 2015-10-08 15:13:00.909 Warning:
> XDQPServerConnection::init(10.245.79.90:7998-10.245.79.92:35044):
> XDMP-XDQPVER: XDQP version mismatch: hostname,7000502 10.245.79.92,8000200
>
> 2015-10-08 15:13:01.907 Warning:
> XDQPServerConnection::init(10.245.79.90:7998-10.245.79.92:35045):
> XDMP-XDQPVER: XDQP version mismatch: hostname,7000502 10.245.79.92,8000200
>
> 2015-10-08 15:13:01.908 Warning:
> XDQPServerConnection::init(10.245.79.90:7998-10.245.79.92:35046):
> XDMP-XDQPVER: XDQP version mismatch: hostname,7000502 10.245.79.92,8000200
>
>
>
>
>
>
>
>
>
> Regards,
>
> Sudheer
>
>
>
>
> ---
> This communication may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this communication
> in error) please notify the sender immediately and destroy this
> communication. Any unauthorized copying, disclosure or distribution of the
> material in this communication is strictly forbidden.
>
> Deutsche Bank does not render legal or tax advice, and the information
> contained in this communication should not be regarded as such.
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://developer.marklogic.com/pipermail/general/attachments/20151008/2fa48ebd/attachment-0001.html
------------------------------
Message: 2
Date: Thu, 8 Oct 2015 18:25:51 +0200
From: Andreas Hubmer <[email protected]>
Subject: [MarkLogic Dev General] xml:lang bug
To: MarkLogic Developer Discussion <[email protected]>
Message-ID:
<CAJxWhKv6-cbSFw5_O9mpWyAzuoL=heqvhrmoqzok4pmzmr6...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hello,
There is a bug in ML when you add an xml:lang attribute programmatically.
In a certain case text is indexed in the wrong language.
The following script explains the bug pretty well:
xquery version "1.0-ml";
(: We insert a test document. The database language has to be "english".
The <foo> child is important to reproduce the bug (text on the root
level is indexed correctly). :)
xdmp:document-insert("/xml-lang-test.xml", <root><foo>text</foo></root>)
;
(: We expect "1". Correct. :)
"test1: " || count(cts:search(/, cts:word-query("text", ("lang=en"))))
;
(: We add an xml:lang attribute to the root node (xml:lang is inherited by
definition). :)
xdmp:node-insert-child(doc("/xml-lang-test.xml")/node(), attribute {
xs:QName("xml:lang") } {"de"})
;
(: We search with lang=de and expect again "1" but this time the document
is NOT FOUND - BUG! :)
"test2: " || count(cts:search(/, cts:word-query("text", ("lang=de"))))
;
(: It was not found with lang=de because it is still indexed as English
text, as we learn from this query. :)
"test3: " || count(cts:search(/, cts:word-query("text", ("lang=en"))))
;
(: Workaround: We replace the xml:lang attribute with itself. :)
xdmp:node-replace(doc("/xml-lang-test.xml")/node()/@xml:lang, attribute {
xs:QName("xml:lang") } {"de"})
;
(: Now the search with lang=de works. :)
"test4: " || count(cts:search(/, cts:word-query("text", ("lang=de"))))
;
xdmp:document-delete("/xml-lang-test.xml")
Is this bug known? Can you tell me when it will be fixed?
Thanks,
Andreas
--
Andreas Hubmer
IT Consultant
EBCONT enterprise technologies GmbH
Millennium Tower
Handelskai 94-96
A-1200 Vienna
Web: http://www.ebcont.com
OUR TEAM IS YOUR SUCCESS
UID-Nr. ATU68135644
HG St.P?lten - FN 399978 d
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://developer.marklogic.com/pipermail/general/attachments/20151008/b5c93f9f/attachment-0001.html
------------------------------
Message: 3
Date: Thu, 8 Oct 2015 16:26:58 +0000
From: David Lee <[email protected]>
Subject: Re: [MarkLogic Dev General] XDQP version mismatch between
local cluster and foreign cluster
To: MarkLogic Developer Discussion <[email protected]>
Message-ID:
<6ad72d76c2d6f04d8be471b70d4b991e0bdc9...@exchg10-be01.marklogic.com>
Content-Type: text/plain; charset="utf-8"
It may be reuse of IP addresses in DNS.
You may need to track down the server that is running on the errant host and
look.
Also I have often accidently left the 'service' install running while running a
debug build -- check the error logs and /var/log/messages for errors about IP
address in use. Do ps -eaf to check if multiple ML instances are running
-----------------------------------------------------------------------------
David Lee
Lead Engineer
MarkLogic Corporation
[email protected]
Phone: +1 812-482-5224
Cell: +1 812-630-7622
www.marklogic.com<http://www.marklogic.com/>
From: [email protected]
[mailto:[email protected]] On Behalf Of Sudheer Yalaverthi
Sent: Thursday, October 08, 2015 11:08 AM
To: MarkLogic Developer Discussion <[email protected]>
Subject: Re: [MarkLogic Dev General] XDQP version mismatch between local
cluster and foreign cluster
Yes. But I found an weird thing.
My ML 7.0-5.2 hosts are of ips 10.245.79.90 and 10.245.79.91. I have coupled
only these two.
I have ML8 instance on 10.245.79.92. I am not very sure why 10.245.79.90 is
pinging to a machine which is not coupled to it and not part of the cluster.
Any thoughts on how to resolve this?
Sudheer
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Markus Flatscher
Sent: Thursday, October 08, 2015 10:32 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] XDQP version mismatch between local
cluster and foreign cluster
Are both of those IPs (10.245.79.90 and 10.245.79.92) in fact MarkLogic hosts?
On Thu, Oct 8, 2015 at 9:18 AM, Sudheer Yalaverthi
<[email protected]<mailto:[email protected]>> wrote:
Hi,
I have since instance of primary and single instance of replica. I am trying to
couple these two cluster but I am seeing XDQP version mismatch error.
I have 7.0-5.2 on the RHEL environment.
Both MarkLogic versions match but I am still receiving this error. Based on ML
documentation, I should be seeing this error only when I different versions of
ML but that is not the case here.
Any thoughts?
2015-10-08 15:12:59.907 Warning:
XDQPServerConnection::init(10.245.79.90:7998-10.245.79.92:35041<http://10.245.79.92:35041>):
XDMP-XDQPVER: XDQP version mismatch: hostname,7000502 10.245.79.92,8000200
2015-10-08 15:12:59.934 Warning:
XDQPServerConnection::init(10.245.79.90:7998-10.245.79.92:35042<http://10.245.79.92:35042>):
XDMP-XDQPVER: XDQP version mismatch: hostname,7000502 10.245.79.92,8000200
2015-10-08 15:13:00.908 Warning:
XDQPServerConnection::init(10.245.79.90:7998-10.245.79.92:35043<http://10.245.79.92:35043>):
XDMP-XDQPVER: XDQP version mismatch: hostname,7000502 10.245.79.92,8000200
2015-10-08 15:13:00.909 Warning:
XDQPServerConnection::init(10.245.79.90:7998-10.245.79.92:35044<http://10.245.79.92:35044>):
XDMP-XDQPVER: XDQP version mismatch: hostname,7000502 10.245.79.92,8000200
2015-10-08 15:13:01.907 Warning:
XDQPServerConnection::init(10.245.79.90:7998-10.245.79.92:35045<http://10.245.79.92:35045>):
XDMP-XDQPVER: XDQP version mismatch: hostname,7000502 10.245.79.92,8000200
2015-10-08 15:13:01.908 Warning:
XDQPServerConnection::init(10.245.79.90:7998-10.245.79.92:35046<http://10.245.79.92:35046>):
XDMP-XDQPVER: XDQP version mismatch: hostname,7000502 10.245.79.92,8000200
Regards,
Sudheer
---
This communication may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this communication in
error) please notify the sender immediately and destroy this communication. Any
unauthorized copying, disclosure or distribution of the material in this
communication is strictly forbidden.
Deutsche Bank does not render legal or tax advice, and the information
contained in this communication should not be regarded as such.
_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
--
Markus Flatscher
Consultant | Avalon Consulting, LLC
[email protected]<mailto:[email protected]>
LinkedIn: http://www.linkedin.com/company/avalon-consulting-llc
Google+: http://www.google.com/+AvalonConsultingLLC
Twitter: https://twitter.com/avalonconsult
---
This communication may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this communication in
error) please notify the sender immediately and destroy this communication. Any
unauthorized copying, disclosure or distribution of the material in this
communication is strictly forbidden.
Deutsche Bank does not render legal or tax advice, and the information
contained in this communication should not be regarded as such.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://developer.marklogic.com/pipermail/general/attachments/20151008/54b11750/attachment.html
------------------------------
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
End of General Digest, Vol 136, Issue 15
****************************************
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general