Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A95F019CB2 for ; Tue, 29 Mar 2016 16:06:46 +0000 (UTC) Received: (qmail 45102 invoked by uid 500); 29 Mar 2016 16:06:43 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 44959 invoked by uid 500); 29 Mar 2016 16:06:42 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 43565 invoked by uid 99); 29 Mar 2016 16:06:41 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2016 16:06:41 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B9118E979D; Tue, 29 Mar 2016 16:06:41 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: misty@apache.org To: commits@hbase.apache.org Date: Tue, 29 Mar 2016 16:07:02 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [23/51] [partial] hbase-site git commit: Published site at 7f39baf0f4572ff209837d7de5d37554851ecbb7. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/client/replication/ReplicationSerDeHelper.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/client/replication/ReplicationSerDeHelper.html b/devapidocs/org/apache/hadoop/hbase/client/replication/ReplicationSerDeHelper.html new file mode 100644 index 0000000..0adaf20 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/client/replication/ReplicationSerDeHelper.html @@ -0,0 +1,480 @@ + + + + + +ReplicationSerDeHelper (Apache HBase 2.0.0-SNAPSHOT API) + + + + + + + + + + +
+
org.apache.hadoop.hbase.client.replication
+

Class ReplicationSerDeHelper

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • org.apache.hadoop.hbase.client.replication.ReplicationSerDeHelper
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        LOG

        +
        private static final org.apache.commons.logging.Log LOG
        +
      • +
      +
    • +
    + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        convert

        +
        public static org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.TableCF[] convert(Map<TableName,? extends Collection<String>> tableCfs)
        +
        convert map to TableCFs Object
        +
      • +
      + + + + + + + +
        +
      • +

        convert

        +
        public static org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.TableCF[] convert(String tableCFsConfig)
        +
        Convert string to TableCFs Object. + This is only for read TableCFs information from TableCF node. + Input String Format: ns1.table1:cf1,cf2;ns2.table2:cfA,cfB;ns3.table3.
        +
      • +
      + + + +
        +
      • +

        convert

        +
        public static String convert(org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.TableCF[] tableCFs)
        +
        Convert TableCFs Object to String. + Output String Format: ns1.table1:cf1,cf2;ns2.table2:cfA,cfB;table3
        +
      • +
      + + + +
        +
      • +

        getTableCF

        +
        public static org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.TableCF getTableCF(org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.TableCF[] tableCFs,
        +                                                                            String table)
        +
        Get TableCF in TableCFs, if not exist, return null.
        +
      • +
      + + + +
        +
      • +

        parseTableCFs

        +
        public static org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.TableCF[] parseTableCFs(byte[] bytes)
        +                                                                                          throws IOException
        +
        Parse bytes into TableCFs. + It is used for backward compatibility. + Old format bytes have no PB_MAGIC Header
        +
        Throws:
        +
        IOException
        +
      • +
      + + + + + + + +
        +
      • +

        convert2Map

        +
        public static Map<TableName,List<String>> convert2Map(org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.TableCF[] tableCFs)
        +
        Convert tableCFs Object to Map.
        +
      • +
      + + + + + + + +
        +
      • +

        convert

        +
        public static ReplicationPeerConfig convert(org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationPeer peer)
        +
      • +
      + + + +
        +
      • +

        convert

        +
        public static org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationPeer convert(ReplicationPeerConfig peerConfig)
        +
      • +
      + + + +
        +
      • +

        toByteArray

        +
        public static byte[] toByteArray(ReplicationPeerConfig peerConfig)
        +
        Parameters:
        peerConfig -
        +
        Returns:
        Serialized protobuf of peerConfig with pb magic prefix prepended suitable + for use as content of a this.peersZNode; i.e. the content of PEER_ID znode under + /hbase/replication/peers/PEER_ID
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/client/replication/class-use/ReplicationSerDeHelper.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/client/replication/class-use/ReplicationSerDeHelper.html b/devapidocs/org/apache/hadoop/hbase/client/replication/class-use/ReplicationSerDeHelper.html new file mode 100644 index 0000000..4f25a0d --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/client/replication/class-use/ReplicationSerDeHelper.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class org.apache.hadoop.hbase.client.replication.ReplicationSerDeHelper (Apache HBase 2.0.0-SNAPSHOT API) + + + + + + + + + +
+

Uses of Class
org.apache.hadoop.hbase.client.replication.ReplicationSerDeHelper

+
+
No usage of org.apache.hadoop.hbase.client.replication.ReplicationSerDeHelper
+ + + + +

Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/client/replication/package-frame.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/client/replication/package-frame.html b/devapidocs/org/apache/hadoop/hbase/client/replication/package-frame.html index 953dc1b..8556eb3 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/replication/package-frame.html +++ b/devapidocs/org/apache/hadoop/hbase/client/replication/package-frame.html @@ -12,6 +12,7 @@

Classes

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/client/replication/package-summary.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/client/replication/package-summary.html b/devapidocs/org/apache/hadoop/hbase/client/replication/package-summary.html index a610187..ce7c330 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/replication/package-summary.html +++ b/devapidocs/org/apache/hadoop/hbase/client/replication/package-summary.html @@ -82,6 +82,12 @@ replication. + +ReplicationSerDeHelper + +
Helper for TableCFs Operations.
+ + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/client/replication/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/client/replication/package-tree.html b/devapidocs/org/apache/hadoop/hbase/client/replication/package-tree.html index 6bdd5ec..5bcc367 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/replication/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/client/replication/package-tree.html @@ -74,6 +74,7 @@
  • java.lang.Object
  • http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/codec/class-use/Codec.Encoder.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/codec/class-use/Codec.Encoder.html b/devapidocs/org/apache/hadoop/hbase/codec/class-use/Codec.Encoder.html index 6fc27ee..ee61138 100644 --- a/devapidocs/org/apache/hadoop/hbase/codec/class-use/Codec.Encoder.html +++ b/devapidocs/org/apache/hadoop/hbase/codec/class-use/Codec.Encoder.html @@ -194,7 +194,7 @@ protected Codec.Encoder -ProtobufLogWriter.cellEncoder  +AbstractProtobufLogWriter.cellEncoder  http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/exceptions/class-use/DeserializationException.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/exceptions/class-use/DeserializationException.html b/devapidocs/org/apache/hadoop/hbase/exceptions/class-use/DeserializationException.html index 995a1b7..70f17c5 100644 --- a/devapidocs/org/apache/hadoop/hbase/exceptions/class-use/DeserializationException.html +++ b/devapidocs/org/apache/hadoop/hbase/exceptions/class-use/DeserializationException.html @@ -85,35 +85,39 @@ -org.apache.hadoop.hbase.coordination +org.apache.hadoop.hbase.client.replication   +org.apache.hadoop.hbase.coordination +  + + org.apache.hadoop.hbase.filter
    Provides row-level filters applied to HRegion scan results during calls to ResultScanner.next().
    - + org.apache.hadoop.hbase.replication
    Multi Cluster Replication
    - + org.apache.hadoop.hbase.security.access   - + org.apache.hadoop.hbase.security.visibility   - + org.apache.hadoop.hbase.util   - + org.apache.hadoop.hbase.zookeeper   @@ -199,6 +203,24 @@ +
  • + + +

    Uses of DeserializationException in org.apache.hadoop.hbase.client.replication

    + + + + + + + + + + + + +
    Methods in org.apache.hadoop.hbase.client.replication that throw DeserializationException 
    Modifier and TypeMethod and Description
    static ReplicationPeerConfigReplicationSerDeHelper.parsePeerFrom(byte[] bytes) 
    +
  • @@ -396,14 +418,10 @@ -private static ReplicationPeerConfig -ReplicationPeersZKImpl.parsePeerFrom(byte[] bytes)  - - private static org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationState.State ReplicationPeerZKImpl.parseStateFrom(byte[] bytes)  - + private void ReplicationPeerZKImpl.readPeerStateZnode()  http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/exceptions/package-use.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/exceptions/package-use.html b/devapidocs/org/apache/hadoop/hbase/exceptions/package-use.html index c4ea6f2..092dba8 100644 --- a/devapidocs/org/apache/hadoop/hbase/exceptions/package-use.html +++ b/devapidocs/org/apache/hadoop/hbase/exceptions/package-use.html @@ -85,47 +85,51 @@ -org.apache.hadoop.hbase.coordination +org.apache.hadoop.hbase.client.replication   -org.apache.hadoop.hbase.exceptions +org.apache.hadoop.hbase.coordination   +org.apache.hadoop.hbase.exceptions +  + + org.apache.hadoop.hbase.filter
    Provides row-level filters applied to HRegion scan results during calls to ResultScanner.next().
    - + org.apache.hadoop.hbase.master   - + org.apache.hadoop.hbase.regionserver   - + org.apache.hadoop.hbase.replication
    Multi Cluster Replication
    - + org.apache.hadoop.hbase.security.access   - + org.apache.hadoop.hbase.security.visibility   - + org.apache.hadoop.hbase.util   - + org.apache.hadoop.hbase.zookeeper   @@ -177,6 +181,23 @@
  • +
  • + + + + + + + + + + + + +
    Classes in org.apache.hadoop.hbase.exceptions used by org.apache.hadoop.hbase.client.replication 
    Class and Description
    DeserializationException +
    Failed deserialization.
    +
    +
  • http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html b/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html index 8c85834..1f71e7c 100644 --- a/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html @@ -161,14 +161,14 @@ http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/io/class-use/ByteArrayOutputStream.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/class-use/ByteArrayOutputStream.html b/devapidocs/org/apache/hadoop/hbase/io/class-use/ByteArrayOutputStream.html index 784fbab..ae97281 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/class-use/ByteArrayOutputStream.html +++ b/devapidocs/org/apache/hadoop/hbase/io/class-use/ByteArrayOutputStream.html @@ -81,6 +81,10 @@ BlockCache. + +org.apache.hadoop.hbase.regionserver.wal +  +
  • @@ -106,6 +110,24 @@ +
  • + + +

    Uses of ByteArrayOutputStream in org.apache.hadoop.hbase.regionserver.wal

    + + + + + + + + + + + + +
    Fields in org.apache.hadoop.hbase.regionserver.wal declared as ByteArrayOutputStream 
    Modifier and TypeField and Description
    private ByteArrayOutputStreamAsyncProtobufLogWriter.buf 
    +
  • http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html index 892ddbc..4a6c9e4 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html @@ -273,8 +273,8 @@ http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/io/package-use.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/package-use.html b/devapidocs/org/apache/hadoop/hbase/io/package-use.html index 5e27c92..03db76c 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/package-use.html +++ b/devapidocs/org/apache/hadoop/hbase/io/package-use.html @@ -586,16 +586,22 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. +ByteArrayOutputStream +
    Our own implementation of ByteArrayOutputStream where all methods are NOT synchronized and + supports writing ByteBuffer directly to it.
    + + + CellOutputStream
    Accepts a stream of Cells.
    - + HeapSize
    Implementations can be asked for an estimate of their size in bytes.
    - + TagCompressionContext
    Context that holds the dictionary for Tag compression and doing the compress/uncompress.
    http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/ipc/CallRunner.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/ipc/CallRunner.html b/devapidocs/org/apache/hadoop/hbase/ipc/CallRunner.html index d4a1561..24d386b 100644 --- a/devapidocs/org/apache/hadoop/hbase/ipc/CallRunner.html +++ b/devapidocs/org/apache/hadoop/hbase/ipc/CallRunner.html @@ -95,8 +95,9 @@


  • -
    @InterfaceAudience.Private
    -public class CallRunner
    +
    @InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"})
    +@InterfaceStability.Evolving
    +public class CallRunner
     extends Object
  • @@ -273,7 +274,7 @@ extends
  • CallRunner

    -
    CallRunner(RpcServerInterface rpcServer,
    +
    CallRunner(RpcServerInterface rpcServer,
               RpcServer.Call call)
    On construction, adds the size of this call to the running count of outstanding call sizes. Presumption is that we are put on a queue while we wait on an executor to run us. During this @@ -294,7 +295,7 @@ extends
  • getCall

    -
    public RpcServer.Call getCall()
    +
    public RpcServer.Call getCall()
  • @@ -303,7 +304,7 @@ extends
  • setStatus

    -
    public void setStatus(MonitoredRPCHandler status)
    +
    public void setStatus(MonitoredRPCHandler status)
  • @@ -312,7 +313,7 @@ extends
  • cleanup

    -
    private void cleanup()
    +
    private void cleanup()
    Cleanup after ourselves... let go of references.
  • @@ -322,7 +323,7 @@ extends
  • run

    -
    public void run()
    +
    public void run()
  • http://git-wip-us.apache.org/repos/asf/hbase-site/blob/fda4017d/devapidocs/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html b/devapidocs/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html index 359fea7..e4c877e 100644 --- a/devapidocs/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html +++ b/devapidocs/org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html @@ -109,7 +109,7 @@ public abstract class Object implements com.google.protobuf.RpcChannel, com.google.protobuf.BlockingRpcChannel
    Base class which provides clients with an RPC connection to - call coprocessor endpoint Services. + call coprocessor endpoint Services. Note that clients should not use this class directly, except through Table.coprocessorService(byte[]).
    @@ -175,7 +175,8 @@ implements com.google.protobuf.RpcChannel, com.google.protobuf.BlockingRpcChanne protected abstract com.google.protobuf.Message -callExecService(com.google.protobuf.Descriptors.MethodDescriptor method, +callExecService(com.google.protobuf.RpcController controller, + com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype)  @@ -280,13 +281,14 @@ public com.google.protobuf.Message  + @@ -221,7 +222,7 @@ extends
  • connection

    -
    private final HConnection connection
    +
    private final ClusterConnection connection
  • @@ -232,13 +233,13 @@ extends + @@ -249,19 +250,20 @@ extends +