accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmil...@apache.org
Subject [accumulo] branch master updated: ACCUMULO-4760 Fix NPE in Monitor replication rest
Date Thu, 04 Jan 2018 22:16:58 GMT
This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/master by this push:
     new 208cfea  ACCUMULO-4760 Fix NPE in Monitor replication rest
208cfea is described below

commit 208cfeaf57e910683cd0215ea2f5487a98dab22b
Author: Mike Miller <mmiller@apache.org>
AuthorDate: Thu Jan 4 17:13:54 2018 -0500

    ACCUMULO-4760 Fix NPE in Monitor replication rest
---
 .../apache/accumulo/monitor/rest/replication/ReplicationResource.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/replication/ReplicationResource.java
b/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/replication/ReplicationResource.java
index 1c37d0a..f256ebb 100644
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/replication/ReplicationResource.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/rest/replication/ReplicationResource.java
@@ -111,7 +111,7 @@ public class ReplicationResource {
     // Number of files per target we have to replicate
     Map<ReplicationTarget,Long> targetCounts = new HashMap<>();
 
-    Map<String,Table.ID> tableNameToId = Tables.getNameToIdMap(null);
+    Map<String,Table.ID> tableNameToId = Tables.getNameToIdMap(conn.getInstance());
     Map<Table.ID,String> tableIdToName = invert(tableNameToId);
 
     for (String table : tops.list()) {

-- 
To stop receiving notification emails like this one, please contact
['"commits@accumulo.apache.org" <commits@accumulo.apache.org>'].

Mime
View raw message