Restoring from Amazon EMR WAL - Amazon EMR
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Restoring from Amazon EMR WAL

Because the Amazon EMR WAL for your original cluster is retained for 30 days, you can restore and reuse the WAL for a newly-created cluster within that 30-day period. When you launch a new cluster from the same S3 root directory, the 30-day clock restarts from the launch time of the new cluster, as long as the prior 30-day period hasn't expired.

Use the following procedure to restore an existing WAL with a new cluster. This process assumes that you created your original cluster with Amazon EMR WAL enabled.

  1. Within 30 days of creating a WAL-enabled cluster, create a new cluster in the same Amazon Web Services Region as the original cluster. The new cluster can be in the same AZ or in a different AZ within the same Region that the original cluster was created.

    Configure the object properties to specify the storage mode and the root directory location in Amazon S3. The Amazon S3 location that you specify should be in the same Region as your EMR cluster, but only one active cluster can use the same HBase root directory in S3 at a time.

    For console steps to create a cluster, and a detailed create-cluster example that uses the Amazon CLI, see Creating a cluster with HBase.

  2. To use the existing Amazon EMR WAL for the new cluster, set the hbase.emr.wal.enabled property to true. The following JSON snippet shows an example configuration object.

[ { "Classification": "hbase-site", "Properties": { "hbase.rootdir": "s3://MyBucket/MyHBaseStore" } }, { "Classification": "hbase", "Properties": { "hbase.emr.storageMode": "s3", "hbase.emr.wal.enabled": "true" } } ]