[MCOL-2181] MessageQueueClient :: setup (): unknown name or service - ExeMgr = unassigned Created: 2019-02-19  Updated: 2020-11-12  Resolved: 2020-05-05

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.4.2
Fix Version/s: 1.4.4, 1.5.1

Type: Bug Priority: Major
Reporter: David Hill (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

1um 4pm system


Sprint: 2020-4, 2020-5, 2020-6, 2020-7

 Description   

Customer reported this DNS error

Jan 21 03:26:49 nvm002314 messagequeue [9735]: 49.743131 | 0 | 0 | 0 | 0 E 31 CAL0000: I
MessageQueueClient :: setup (): unknown name or service

Problem is caused by a ExeMgr entry in the Columnstore.xml have IP Address assigned to 'unassign'

<ExeMgr2>
<IPAddr>unassigned</IPAddr>
<Port>8601</Port>
<Module>unassigned</Module>
</ExeMgr2>

1. The removemodule in ProcMgr is doing this, setting that entry to unassigned since there is currently no way to delete entries from the Columnstore.xml
2. The connector or whomever is reading this entry is trying to do a DNS lookup on it. So maybe that code needs to check for unassigned and ignore this entry



 Comments   
Comment by Jose Rojas (Inactive) [ 2020-05-04 ]

IPAddr of unassigned for an ExeMgr causes an error when setting up MessageQueueClient.

Browsing through Columnstore.xml, I observed that whenever an entity has a module as unassigned we are treating the IP address as 0.0.0.0. This seems like the appropriate way to handle an IP of unassigned and I have fixed this issue in the same way.

Comment by Daniel Lee (Inactive) [ 2020-05-05 ]

Build verified: 1.4.4-1, 1. 5.0-1 source

1.4.4-1

/root/ColumnStore/buildColumnstoreFromGithubSource/server
commit 00abe03ad1da3719e06f7112000a331ee2b6786a
Author: Patrick LeBlanc <43503225+pleblanc1976@users.noreply.github.com>
Date: Wed Apr 29 10:00:54 2020 -0500

/root/ColumnStore/buildColumnstoreFromGithubSource/server/engine
commit 2b67ac7f3537bd4b4d132c8a6c3a53e4cc63f4a1
Merge: beaac49 23d65dc
Author: benthompson15 <ben.thompson.015@gmail.com>
Date: Tue Apr 28 15:40:45 2020 -0500

1.5.0-1

/root/ColumnStore/buildColumnstoreFromGithubSource/server
commit 25eb50d6c002e987e2d240402391549d408c18d9
Author: Alexey Bychko <abychko@gmail.com>
Date: Thu Apr 23 12:36:13 2020 +0700

commit 6ad38ccc28d31a099d052e5de827543808843a3c
Merge: 658abae bb3e76b
Author: benthompson15 <ben.thompson.015@gmail.com>
Date: Fri Apr 24 14:31:09 2020 -0500

Unable to reproduce the issue using the removemodule command. Caused the issue manually by editing the Columnstore.xml file instead.

Reproduced the error msg in 1.4.2-1 and verified the fix in 1.4.4-1 and 1.5.0-1.

Generated at Thu Feb 08 02:34:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.