ACCUMULO-3167 More logging to help debug failure
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/e9fb8d01 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/e9fb8d01 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/e9fb8d01 Branch: refs/heads/metrics2 Commit: e9fb8d01d0218b064967863ce552d9c1332af5f8 Parents: f94a511 Author: Josh Elser <els...@apache.org> Authored: Mon Nov 24 22:40:02 2014 -0500 Committer: Josh Elser <els...@apache.org> Committed: Mon Nov 24 22:40:02 2014 -0500 ---------------------------------------------------------------------- .../org/apache/accumulo/test/functional/MetadataMaxFilesIT.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/e9fb8d01/test/src/test/java/org/apache/accumulo/test/functional/MetadataMaxFilesIT.java ---------------------------------------------------------------------- diff --git a/test/src/test/java/org/apache/accumulo/test/functional/MetadataMaxFilesIT.java b/test/src/test/java/org/apache/accumulo/test/functional/MetadataMaxFilesIT.java index 017d616..be03d1e 100644 --- a/test/src/test/java/org/apache/accumulo/test/functional/MetadataMaxFilesIT.java +++ b/test/src/test/java/org/apache/accumulo/test/functional/MetadataMaxFilesIT.java @@ -94,6 +94,7 @@ public class MetadataMaxFilesIT extends AccumuloClusterIT { try { for (Entry<String,String> entry : c.tableOperations().getProperties(MetadataTable.NAME)) { if (Property.TABLE_SPLIT_THRESHOLD.getKey().equals(entry.getKey())) { + log.info("Got original table split threshold for metadata table of {}", entry.getValue()); splitThreshold = entry.getValue(); break; } @@ -133,11 +134,13 @@ public class MetadataMaxFilesIT extends AccumuloClusterIT { for (Entry<String,TableInfo> entry : tserver.tableMap.entrySet()) { if (entry.getKey().startsWith("!")) continue; + log.info("Found {} tablets for {}", entry.getValue().onlineTablets, entry.getKey()); tablets += entry.getValue().onlineTablets; } } if (tablets >= 5005) break; + log.info("Only found {} tablets, will retry", tablets); UtilWaitThread.sleep(1000); } } finally {