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 D28A118CF4 for ; Wed, 4 Nov 2015 23:15:26 +0000 (UTC) Received: (qmail 29673 invoked by uid 500); 4 Nov 2015 23:15:23 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 29575 invoked by uid 500); 4 Nov 2015 23:15:23 -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 27196 invoked by uid 99); 4 Nov 2015 23:15:21 -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; Wed, 04 Nov 2015 23:15:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 81BA1E0231; Wed, 4 Nov 2015 23:15:21 +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: Wed, 04 Nov 2015 23:15:42 -0000 Message-Id: In-Reply-To: <42dc3b44dd4a44888c441015909da096@git.apache.org> References: <42dc3b44dd4a44888c441015909da096@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [22/51] [partial] hbase git commit: Put back 0.94 directory http://git-wip-us.apache.org/repos/asf/hbase/blob/a293c00d/0.94/apidocs/org/apache/hadoop/hbase/avro/AvroUtil.html ---------------------------------------------------------------------- diff --git a/0.94/apidocs/org/apache/hadoop/hbase/avro/AvroUtil.html b/0.94/apidocs/org/apache/hadoop/hbase/avro/AvroUtil.html new file mode 100644 index 0000000..1c4767d --- /dev/null +++ b/0.94/apidocs/org/apache/hadoop/hbase/avro/AvroUtil.html @@ -0,0 +1,481 @@ + + + + + +AvroUtil (HBase 0.94.27 API) + + + + + + + + + + +
+
org.apache.hadoop.hbase.avro
+

Class AvroUtil

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/hbase/blob/a293c00d/0.94/apidocs/org/apache/hadoop/hbase/avro/class-use/AvroServer.HBaseImpl.html ---------------------------------------------------------------------- diff --git a/0.94/apidocs/org/apache/hadoop/hbase/avro/class-use/AvroServer.HBaseImpl.html b/0.94/apidocs/org/apache/hadoop/hbase/avro/class-use/AvroServer.HBaseImpl.html new file mode 100644 index 0000000..1f2f2e1 --- /dev/null +++ b/0.94/apidocs/org/apache/hadoop/hbase/avro/class-use/AvroServer.HBaseImpl.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class org.apache.hadoop.hbase.avro.AvroServer.HBaseImpl (HBase 0.94.27 API) + + + + + + + + + +
+

Uses of Class
org.apache.hadoop.hbase.avro.AvroServer.HBaseImpl

+
+
No usage of org.apache.hadoop.hbase.avro.AvroServer.HBaseImpl
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/hbase/blob/a293c00d/0.94/apidocs/org/apache/hadoop/hbase/avro/class-use/AvroServer.html ---------------------------------------------------------------------- diff --git a/0.94/apidocs/org/apache/hadoop/hbase/avro/class-use/AvroServer.html b/0.94/apidocs/org/apache/hadoop/hbase/avro/class-use/AvroServer.html new file mode 100644 index 0000000..370e021 --- /dev/null +++ b/0.94/apidocs/org/apache/hadoop/hbase/avro/class-use/AvroServer.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class org.apache.hadoop.hbase.avro.AvroServer (HBase 0.94.27 API) + + + + + + + + + +
+

Uses of Class
org.apache.hadoop.hbase.avro.AvroServer

+
+
No usage of org.apache.hadoop.hbase.avro.AvroServer
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/hbase/blob/a293c00d/0.94/apidocs/org/apache/hadoop/hbase/avro/class-use/AvroUtil.html ---------------------------------------------------------------------- diff --git a/0.94/apidocs/org/apache/hadoop/hbase/avro/class-use/AvroUtil.html b/0.94/apidocs/org/apache/hadoop/hbase/avro/class-use/AvroUtil.html new file mode 100644 index 0000000..8a02b5f --- /dev/null +++ b/0.94/apidocs/org/apache/hadoop/hbase/avro/class-use/AvroUtil.html @@ -0,0 +1,115 @@ + + + + + +Uses of Class org.apache.hadoop.hbase.avro.AvroUtil (HBase 0.94.27 API) + + + + + + + + + +
+

Uses of Class
org.apache.hadoop.hbase.avro.AvroUtil

+
+
No usage of org.apache.hadoop.hbase.avro.AvroUtil
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/hbase/blob/a293c00d/0.94/apidocs/org/apache/hadoop/hbase/avro/package-frame.html ---------------------------------------------------------------------- diff --git a/0.94/apidocs/org/apache/hadoop/hbase/avro/package-frame.html b/0.94/apidocs/org/apache/hadoop/hbase/avro/package-frame.html new file mode 100644 index 0000000..3d5ae06 --- /dev/null +++ b/0.94/apidocs/org/apache/hadoop/hbase/avro/package-frame.html @@ -0,0 +1,20 @@ + + + + + +org.apache.hadoop.hbase.avro (HBase 0.94.27 API) + + + +

org.apache.hadoop.hbase.avro

+ + + http://git-wip-us.apache.org/repos/asf/hbase/blob/a293c00d/0.94/apidocs/org/apache/hadoop/hbase/avro/package-summary.html ---------------------------------------------------------------------- diff --git a/0.94/apidocs/org/apache/hadoop/hbase/avro/package-summary.html b/0.94/apidocs/org/apache/hadoop/hbase/avro/package-summary.html new file mode 100644 index 0000000..92fbb4a --- /dev/null +++ b/0.94/apidocs/org/apache/hadoop/hbase/avro/package-summary.html @@ -0,0 +1,200 @@ + + + + + +org.apache.hadoop.hbase.avro (HBase 0.94.27 API) + + + + + + +
+ + + + + +
+ + +
+

Package org.apache.hadoop.hbase.avro

+
+
Provides an HBase Avro service.
+
+

See: Description

+
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    AvroServer +
    Start an Avro server
    +
    AvroServer.HBaseImpl +
    The HBaseImpl is a glue object that connects Avro RPC calls to the + HBase client API primarily defined in the HBaseAdmin and HTable objects.
    +
    AvroUtil 
    +
  • +
+ + + +

Package org.apache.hadoop.hbase.avro Description

+
Provides an HBase Avro service. + +This directory contains an Avro interface definition file for an HBase RPC +service and a Java server implementation. + +

What is Avro?

+ +

Avro is a data serialization and RPC system. For more, see the +current specification. +

+ +

Description

+ +

The HBase API is defined in the +file hbase.genavro. A server-side implementation of the API is in +org.apache.hadoop.hbase.avro.AvroServer. The generated interfaces, +types, and RPC utility files are checked into SVN under the +org.apache.hadoop.hbase.avro.generated directory. + +

+ +

The files were generated by running the commands: +

+  java -jar avro-tools-1.4.1.jar idl hbase.avdl hbase.avpr
+  java -jar avro-tools-1.4.1.jar compile protocol hbase.avpr $HBASE_HOME/src/main/java
+
+

+ +

The 'avro-tools-x.y.z.jar' jarfile is an Avro utility, and it is +distributed as a part of the Avro package. Additionally, specific +language runtime libraries are apart of the Avro package. A version of the +Java runtime is listed as a dendency in Maven. +

+ +

To start AvroServer, use: +

+  ./bin/hbase avro start [--port=PORT]
+
+The default port is 9090. +

+ +

To stop, use: +

+  ./bin/hbase-daemon.sh stop avro
+
+

+
+ +
+ + + + + +
+ + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/hbase/blob/a293c00d/0.94/apidocs/org/apache/hadoop/hbase/avro/package-tree.html ---------------------------------------------------------------------- diff --git a/0.94/apidocs/org/apache/hadoop/hbase/avro/package-tree.html b/0.94/apidocs/org/apache/hadoop/hbase/avro/package-tree.html new file mode 100644 index 0000000..0630cef --- /dev/null +++ b/0.94/apidocs/org/apache/hadoop/hbase/avro/package-tree.html @@ -0,0 +1,130 @@ + + + + + +org.apache.hadoop.hbase.avro Class Hierarchy (HBase 0.94.27 API) + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package org.apache.hadoop.hbase.avro

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + +
+ + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/hbase/blob/a293c00d/0.94/apidocs/org/apache/hadoop/hbase/avro/package-use.html ---------------------------------------------------------------------- diff --git a/0.94/apidocs/org/apache/hadoop/hbase/avro/package-use.html b/0.94/apidocs/org/apache/hadoop/hbase/avro/package-use.html new file mode 100644 index 0000000..be540b3 --- /dev/null +++ b/0.94/apidocs/org/apache/hadoop/hbase/avro/package-use.html @@ -0,0 +1,115 @@ + + + + + +Uses of Package org.apache.hadoop.hbase.avro (HBase 0.94.27 API) + + + + + + + + + +
+

Uses of Package
org.apache.hadoop.hbase.avro

+
+
No usage of org.apache.hadoop.hbase.avro
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/hbase/blob/a293c00d/0.94/apidocs/org/apache/hadoop/hbase/backup/HFileArchiver.html ---------------------------------------------------------------------- diff --git a/0.94/apidocs/org/apache/hadoop/hbase/backup/HFileArchiver.html b/0.94/apidocs/org/apache/hadoop/hbase/backup/HFileArchiver.html new file mode 100644 index 0000000..729af16 --- /dev/null +++ b/0.94/apidocs/org/apache/hadoop/hbase/backup/HFileArchiver.html @@ -0,0 +1,356 @@ + + + + + +HFileArchiver (HBase 0.94.27 API) + + + + + + + + + + +
+
org.apache.hadoop.hbase.backup
+

Class HFileArchiver

+
+
+ +
+
    +
  • +
    +
    +
    public class HFileArchiver
    +extends Object
    +
    Utility class to handle the removal of HFiles (or the respective StoreFiles) + for a HRegion from the FileSystem. The hfiles will be archived or deleted, depending on + the state of the system.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static voidarchiveFamily(org.apache.hadoop.fs.FileSystem fs, + org.apache.hadoop.conf.Configuration conf, + HRegionInfo parent, + org.apache.hadoop.fs.Path tableDir, + byte[] family) +
      Remove from the specified region the store files of the specified column family, + either by archiving them or outright deletion
      +
      static voidarchiveRegion(org.apache.hadoop.conf.Configuration conf, + org.apache.hadoop.fs.FileSystem fs, + HRegionInfo info) +
      Cleans up all the files for a HRegion by archiving the HFiles to the + archive directory
      +
      static booleanarchiveRegion(org.apache.hadoop.fs.FileSystem fs, + org.apache.hadoop.fs.Path rootdir, + org.apache.hadoop.fs.Path tableDir, + org.apache.hadoop.fs.Path regionDir) +
      Remove an entire region from the table directory via archiving the region's hfiles.
      +
      static voidarchiveStoreFile(org.apache.hadoop.fs.FileSystem fs, + HRegionInfo regionInfo, + org.apache.hadoop.conf.Configuration conf, + org.apache.hadoop.fs.Path tableDir, + byte[] family, + org.apache.hadoop.fs.Path storeFile) +
      Archive the store file
      +
      static voidarchiveStoreFiles(org.apache.hadoop.conf.Configuration conf, + org.apache.hadoop.fs.FileSystem fs, + HRegion parent, + byte[] family, + Collection<StoreFile> compactedFiles) +
      Remove the store files, either by archiving them or outright deletion
      +
      + +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        archiveRegion

        +
        public static void archiveRegion(org.apache.hadoop.conf.Configuration conf,
        +                 org.apache.hadoop.fs.FileSystem fs,
        +                 HRegionInfo info)
        +                          throws IOException
        +
        Cleans up all the files for a HRegion by archiving the HFiles to the + archive directory
        +
        Parameters:
        conf - the configuration to use
        fs - the file system object
        info - HRegionInfo for region to be deleted
        +
        Throws:
        +
        IOException
        +
      • +
      + + + +
        +
      • +

        archiveRegion

        +
        public static boolean archiveRegion(org.apache.hadoop.fs.FileSystem fs,
        +                    org.apache.hadoop.fs.Path rootdir,
        +                    org.apache.hadoop.fs.Path tableDir,
        +                    org.apache.hadoop.fs.Path regionDir)
        +                             throws IOException
        +
        Remove an entire region from the table directory via archiving the region's hfiles.
        +
        Parameters:
        fs - FileSystem from which to remove the region
        rootdir - Path to the root directory where hbase files are stored (for building + the archive path)
        tableDir - Path to where the table is being stored (for building the archive path)
        regionDir - Path to where a region is being stored (for building the archive path)
        +
        Returns:
        true if the region was sucessfully deleted. false if the filesystem + operations could not complete.
        +
        Throws:
        +
        IOException - if the request cannot be completed
        +
      • +
      + + + +
        +
      • +

        archiveFamily

        +
        public static void archiveFamily(org.apache.hadoop.fs.FileSystem fs,
        +                 org.apache.hadoop.conf.Configuration conf,
        +                 HRegionInfo parent,
        +                 org.apache.hadoop.fs.Path tableDir,
        +                 byte[] family)
        +                          throws IOException
        +
        Remove from the specified region the store files of the specified column family, + either by archiving them or outright deletion
        +
        Parameters:
        fs - the filesystem where the store files live
        conf - Configuration to examine to determine the archive directory
        parent - Parent region hosting the store files
        tableDir - Path to where the table is being stored (for building the archive path)
        family - the family hosting the store files
        +
        Throws:
        +
        IOException - if the files could not be correctly disposed.
        +
      • +
      + + + +
        +
      • +

        archiveStoreFiles

        +
        public static void archiveStoreFiles(org.apache.hadoop.conf.Configuration conf,
        +                     org.apache.hadoop.fs.FileSystem fs,
        +                     HRegion parent,
        +                     byte[] family,
        +                     Collection<StoreFile> compactedFiles)
        +                              throws IOException
        +
        Remove the store files, either by archiving them or outright deletion
        +
        Parameters:
        conf - Configuration to examine to determine the archive directory
        fs - the filesystem where the store files live
        parent - Parent region hosting the store files
        family - the family hosting the store files
        compactedFiles - files to be disposed of. No further reading of these files should be + attempted; otherwise likely to cause an IOException
        +
        Throws:
        +
        IOException - if the files could not be correctly disposed.
        +
      • +
      + + + +
        +
      • +

        archiveStoreFile

        +
        public static void archiveStoreFile(org.apache.hadoop.fs.FileSystem fs,
        +                    HRegionInfo regionInfo,
        +                    org.apache.hadoop.conf.Configuration conf,
        +                    org.apache.hadoop.fs.Path tableDir,
        +                    byte[] family,
        +                    org.apache.hadoop.fs.Path storeFile)
        +                             throws IOException
        +
        Archive the store file
        +
        Parameters:
        fs - the filesystem where the store files live
        regionInfo - region hosting the store files
        conf - Configuration to examine to determine the archive directory
        tableDir - Path to where the table is being stored (for building the archive path)
        family - the family hosting the store files
        storeFile - file to be archived
        +
        Throws:
        +
        IOException - if the files could not be correctly disposed.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ +