From commits-return-24341-archive-asf-public=cust-asf.ponee.io@accumulo.apache.org Tue Nov 17 21:01:22 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 2543718037A for ; Tue, 17 Nov 2020 22:01:22 +0100 (CET) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id 485D948654 for ; Tue, 17 Nov 2020 21:01:21 +0000 (UTC) Received: (qmail 38223 invoked by uid 500); 17 Nov 2020 21:01:21 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 38214 invoked by uid 99); 17 Nov 2020 21:01:20 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2020 21:01:20 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id B7EE180426; Tue, 17 Nov 2020 21:01:20 +0000 (UTC) Date: Tue, 17 Nov 2020 21:01:20 +0000 To: "commits@accumulo.apache.org" Subject: [accumulo] branch main updated: Add back toString() to TServerInstance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <160564688057.13079.11654861872136491337@gitbox.apache.org> From: mmiller@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: accumulo X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Oldrev: cccac86255cd2d0ecd49e791162ca5cdf07512b6 X-Git-Newrev: 7ee4a2da58a923543495e9f10b40a5669e92f57c X-Git-Rev: 7ee4a2da58a923543495e9f10b40a5669e92f57c X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. mmiller pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/accumulo.git The following commit(s) were added to refs/heads/main by this push: new 7ee4a2d Add back toString() to TServerInstance 7ee4a2d is described below commit 7ee4a2da58a923543495e9f10b40a5669e92f57c Author: Mike Miller AuthorDate: Tue Nov 17 15:53:12 2020 -0500 Add back toString() to TServerInstance * There are places in the code that use the toString() in TServerInstance to write to ZK, one place is WalStateManager but to be safe need to keep the method since it is difficult to find where string concat is used --- .../main/java/org/apache/accumulo/core/metadata/TServerInstance.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/main/java/org/apache/accumulo/core/metadata/TServerInstance.java b/core/src/main/java/org/apache/accumulo/core/metadata/TServerInstance.java index eb7e2a3..8ba5860 100644 --- a/core/src/main/java/org/apache/accumulo/core/metadata/TServerInstance.java +++ b/core/src/main/java/org/apache/accumulo/core/metadata/TServerInstance.java @@ -88,6 +88,11 @@ public class TServerInstance implements Comparable { return false; } + @Override + public String toString() { + return hostPortSession; + } + public String getHostPortSession() { return hostPortSession; }