accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [45/50] [abbrv] git commit: ACCUMULO-378 Add some javadoc for the general key structure of each table
Date Fri, 09 May 2014 15:29:23 GMT
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 <elserj@apache.org>
Authored: Thu May 8 16:14:30 2014 -0400
Committer: Josh Elser <elserj@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");


Mime
View raw message