You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/07 17:40:00 UTC

[jira] [Commented] (GEODE-7861) Improve error reporting when a member is unable to contact a locator

    [ https://issues.apache.org/jira/browse/GEODE-7861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17260689#comment-17260689 ] 

ASF GitHub Bot commented on GEODE-7861:
---------------------------------------

bschuchardt commented on a change in pull request #5839:
URL: https://github.com/apache/geode/pull/5839#discussion_r553478372



##########
File path: geode-membership/src/integrationTest/java/org/apache/geode/distributed/internal/membership/gms/membership/GMSJoinLeaveJUnitTest.java
##########
@@ -115,11 +117,18 @@ public void initMocks(boolean enableNetworkPartition) throws Exception {
 
   public void initMocks(boolean enableNetworkPartition, boolean useTestGMSJoinLeave)
       throws Exception {
+    String locator = "localhost[12345]";
+    initMocks(enableNetworkPartition, useTestGMSJoinLeave, locator, locator);
+  }
+
+  public void initMocks(boolean enableNetworkPartition, boolean useTestGMSJoinLeave,
+      String locators, String startLoactor)

Review comment:
       typo:  "startLocator"




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Improve error reporting when a member is unable to contact a locator
> --------------------------------------------------------------------
>
>                 Key: GEODE-7861
>                 URL: https://issues.apache.org/jira/browse/GEODE-7861
>             Project: Geode
>          Issue Type: Improvement
>          Components: membership
>            Reporter: Dan Smith
>            Assignee: Kamilla Aslami
>            Priority: Major
>              Labels: pull-request-available
>
> When a member is unable to contact a join the system due to a failure to contact a locator, we could be a lot more specific, which would help users debug issues in their environment. We currently print out 
> {noformat}
> Unable to join the distributed system.  Operation either timed out, was stopped or Locator does not exist.
> {noformat}
> We should include the underlying exception from the last locator we tried to contact as a cause, so that users can see why it failed (DNS error, ???). Perhaps also the list of locators we tried to contact.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)