ACCUMULO-378 Add some javadoc for the general key structure of each table
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/b18e0eeb Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/b18e0eeb Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/b18e0eeb Branch: refs/heads/ACCUMULO-378 Commit: b18e0eeb7f379458454d169ab21608b65a1345db Parents: 2372c71 Author: Josh Elser <els...@apache.org> Authored: Thu May 8 16:14:30 2014 -0400 Committer: Josh Elser <els...@apache.org> Committed: Thu May 8 16:14:30 2014 -0400 ---------------------------------------------------------------------- .../apache/accumulo/core/metadata/schema/MetadataSchema.java | 2 ++ .../apache/accumulo/core/replication/ReplicationSchema.java | 7 +++++++ 2 files changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/b18e0eeb/core/src/main/java/org/apache/accumulo/core/metadata/schema/MetadataSchema.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/metadata/schema/MetadataSchema.java b/core/src/main/java/org/apache/accumulo/core/metadata/schema/MetadataSchema.java index 32772c1..e246e45 100644 --- a/core/src/main/java/org/apache/accumulo/core/metadata/schema/MetadataSchema.java +++ b/core/src/main/java/org/apache/accumulo/core/metadata/schema/MetadataSchema.java @@ -229,6 +229,8 @@ public class MetadataSchema { /** * Holds references to files that need replication + * <p> + * <code>~replhdfs://localhost:8020/accumulo/wal/tserver+port/WAL stat:local_table_id [] -> protobuf</code> */ public static class ReplicationSection { public static final Text COLF = new Text("stat"); http://git-wip-us.apache.org/repos/asf/accumulo/blob/b18e0eeb/core/src/main/java/org/apache/accumulo/core/replication/ReplicationSchema.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/accumulo/core/replication/ReplicationSchema.java b/core/src/main/java/org/apache/accumulo/core/replication/ReplicationSchema.java index 1ea9ea4..57be449 100644 --- a/core/src/main/java/org/apache/accumulo/core/replication/ReplicationSchema.java +++ b/core/src/main/java/org/apache/accumulo/core/replication/ReplicationSchema.java @@ -31,6 +31,11 @@ import com.google.common.base.Preconditions; */ public class ReplicationSchema { + /** + * Portion of a file that must be replication to the given target: peer and some identifying location on that peer, e.g. remote table ID + * <p> + * <code>hdfs://localhost:8020/accumulo/wal/tserver+port/WAL work:serialized_ReplicationTarget [] -> Protobuf</code> + */ public static class WorkSection { public static final Text NAME = new Text("work"); private static final ByteSequence BYTE_SEQ_NAME = new ArrayByteSequence("work"); @@ -69,6 +74,8 @@ public class ReplicationSchema { /** * Holds replication markers tracking status for files + * <p> + * <code>hdfs://localhost:8020/accumulo/wal/tserver+port/WAL repl:local_table_id [] -> Protobuf</code> */ public static class StatusSection { public static final Text NAME = new Text("repl");