<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Hbase Restore using the Backup ID from S3 throws error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224176#M186040</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Using hbase full backup command I have successfully taken the backup and stored in one of my test bucket in AWS S3. In the S3 bucket the backup name is storing in the format '&lt;STRONG&gt;PRE backup_x1x2x3x&lt;/STRONG&gt;' . Below is the backup command which I ran.&lt;/P&gt;&lt;PRE&gt;hbase backup create full s3a://$AccessKey:$SecretKey@$BucketPath -set setname&lt;/PRE&gt;&lt;P&gt;Now while doing restore using below command&lt;/P&gt;&lt;PRE&gt;hbase restore -set setname s3a://$AccessKey:$SecretKey@BucketPath PRE backup_x1x2x3x -overwrite&lt;/PRE&gt;&lt;P&gt;I get the error as below :&lt;/P&gt;&lt;PRE&gt;java.io.IOException: Could not find backup manifest .backup.manifest for PRE backup_x1x2x3x in s3a://AcessKey:SecretKey@BucketPath. Did PRE backup_x1x2x3x correspond to previously taken backup ?
        at org.apache.hadoop.hbase.backup.HBackupFileSystem.getManifestPath(HBackupFileSystem.java:111)
        at org.apache.hadoop.hbase.backup.HBackupFileSystem.getManifest(HBackupFileSystem.java:119)
        at org.apache.hadoop.hbase.backup.HBackupFileSystem.checkImageManifestExist(HBackupFileSystem.java:134)
        at org.apache.hadoop.hbase.backup.impl.RestoreClientImpl.restore(RestoreClientImpl.java:95)
        at org.apache.hadoop.hbase.backup.RestoreDriver.parseAndRun(RestoreDriver.java:158)
        at org.apache.hadoop.hbase.backup.RestoreDriver.doWork(RestoreDriver.java:187)
        at org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:112)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
        at org.apache.hadoop.hbase.backup.RestoreDriver.main(RestoreDriver.java:192)&lt;/PRE&gt;&lt;P&gt;can anybody please help me out in this. &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I have used the above steps from the link :&lt;/P&gt;&lt;P&gt;&lt;A href="https://hortonworks.com/blog/coming-hdp-2-5-incremental-backup-restore-apache-hbase-apache-phoenix/"&gt;https://hortonworks.com/blog/coming-hdp-2-5-incremental-backup-restore-apache-hbase-apache-phoenix/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2018 14:54:28 GMT</pubDate>
    <dc:creator>swethawankhede2</dc:creator>
    <dc:date>2018-02-26T14:54:28Z</dc:date>
    <item>
      <title>Hbase Restore using the Backup ID from S3 throws error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224176#M186040</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Using hbase full backup command I have successfully taken the backup and stored in one of my test bucket in AWS S3. In the S3 bucket the backup name is storing in the format '&lt;STRONG&gt;PRE backup_x1x2x3x&lt;/STRONG&gt;' . Below is the backup command which I ran.&lt;/P&gt;&lt;PRE&gt;hbase backup create full s3a://$AccessKey:$SecretKey@$BucketPath -set setname&lt;/PRE&gt;&lt;P&gt;Now while doing restore using below command&lt;/P&gt;&lt;PRE&gt;hbase restore -set setname s3a://$AccessKey:$SecretKey@BucketPath PRE backup_x1x2x3x -overwrite&lt;/PRE&gt;&lt;P&gt;I get the error as below :&lt;/P&gt;&lt;PRE&gt;java.io.IOException: Could not find backup manifest .backup.manifest for PRE backup_x1x2x3x in s3a://AcessKey:SecretKey@BucketPath. Did PRE backup_x1x2x3x correspond to previously taken backup ?
        at org.apache.hadoop.hbase.backup.HBackupFileSystem.getManifestPath(HBackupFileSystem.java:111)
        at org.apache.hadoop.hbase.backup.HBackupFileSystem.getManifest(HBackupFileSystem.java:119)
        at org.apache.hadoop.hbase.backup.HBackupFileSystem.checkImageManifestExist(HBackupFileSystem.java:134)
        at org.apache.hadoop.hbase.backup.impl.RestoreClientImpl.restore(RestoreClientImpl.java:95)
        at org.apache.hadoop.hbase.backup.RestoreDriver.parseAndRun(RestoreDriver.java:158)
        at org.apache.hadoop.hbase.backup.RestoreDriver.doWork(RestoreDriver.java:187)
        at org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:112)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
        at org.apache.hadoop.hbase.backup.RestoreDriver.main(RestoreDriver.java:192)&lt;/PRE&gt;&lt;P&gt;can anybody please help me out in this. &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I have used the above steps from the link :&lt;/P&gt;&lt;P&gt;&lt;A href="https://hortonworks.com/blog/coming-hdp-2-5-incremental-backup-restore-apache-hbase-apache-phoenix/"&gt;https://hortonworks.com/blog/coming-hdp-2-5-incremental-backup-restore-apache-hbase-apache-phoenix/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 14:54:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224176#M186040</guid>
      <dc:creator>swethawankhede2</dc:creator>
      <dc:date>2018-02-26T14:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Restore using the Backup ID from S3 throws error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224177#M186041</link>
      <description>&lt;P&gt;1.please avoid putting secrets in your paths; it invariably ends up in a log somewhere. Set the options fs.access.key and fs.secret.key instead.&lt;/P&gt;&lt;P&gt;2. Try backing up to a subdirectory. Root directories are "odd"&lt;/P&gt;&lt;P&gt;3. What happens when you a hadoop fs -ls s3a://bucket/path-to-backup? That should see if the file is there.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 00:47:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224177#M186041</guid>
      <dc:creator>stevel</dc:creator>
      <dc:date>2018-02-28T00:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Restore using the Backup ID from S3 throws error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224178#M186042</link>
      <description>&lt;P&gt;see &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_data-access/content/ch_hbase_bar.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_data-access/content/ch_hbase_bar.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 01:05:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224178#M186042</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2018-02-28T01:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Restore using the Backup ID from S3 throws error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224179#M186043</link>
      <description>&lt;P style="margin-left: 40px;"&gt;Hi  Thanks for the reply &lt;A rel="user" href="https://community.cloudera.com/users/264/stevel.html" nodeid="264"&gt;@stevel&lt;/A&gt; &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;1. I have added fs.access.key and fs.secret.key in my config file. &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;2. And just for testing purpose i tried with Root Directory&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;3. when I execute &lt;/P&gt;&lt;PRE&gt;hadoop fs -ls s3a://bucket/path-to-backup&lt;/PRE&gt;&lt;P&gt;i can see the backup created.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:47:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224179#M186043</guid>
      <dc:creator>swethawankhede2</dc:creator>
      <dc:date>2018-02-28T14:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Restore using the Backup ID from S3 throws error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224180#M186044</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/264/stevel.html" nodeid="264"&gt;@stevel&lt;/A&gt;&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/9304/tspann.html" nodeid="9304"&gt;@Timothy Spann&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The restore command works fine after I removed the slash '/' at the end of my bucket path. The restore is successfull. But I dont see any data in my SYSTEM Tables. The User created tables are restored properly with data as expected but SYSTEM tables doesnt show any records in it.&lt;/P&gt;&lt;P&gt;Am I doing something wrong ? &lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 14:53:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224180#M186044</guid>
      <dc:creator>swethawankhede2</dc:creator>
      <dc:date>2018-02-28T14:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase Restore using the Backup ID from S3 throws error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224181#M186045</link>
      <description>&lt;P&gt;Does your user have permissions?&lt;/P&gt;&lt;P&gt;See also:   &lt;A href="https://community.hortonworks.com/questions/47197/phoenix-backup.html" target="_blank"&gt;https://community.hortonworks.com/questions/47197/phoenix-backup.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_data-access/content/ch_hbase_bar.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_data-access/content/ch_hbase_bar.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You have to specify table names, so specify the SYSTEM ones as well.&lt;/P&gt;&lt;DIV&gt;&lt;H4&gt;Creating and Maintaining a Complete Backup Image&lt;/H4&gt;
&lt;/DIV&gt;&lt;P&gt;The first step in running the backup-and-restore utilities is to perform a full backup and to store the data in a separate image from the source. At a minimum, you must do this to get a baseline before you can rely on incremental backups.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG alt="[Important&amp;gt;" src="https://ip1.i.lithium.com/02fb9316cba98bc0f8580e4f4485a807074d6049/68747470733a2f2f646f63732e686f72746f6e776f726b732e636f6d2f484450446f63756d656e74732f484450322f4844502d322e362e342f626b5f646174612d6163636573732f636f6d6d6f6e2f696d616765732f61646d6f6e2f696d706f7274616e742e706e67" style="box-sizing: border-box;" /&gt;&lt;/TD&gt;&lt;TH&gt;Important&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG alt="[Tip&amp;gt;" src="https://ip1.i.lithium.com/18f9edffc06f7e45f9c97a3cfc600ba6137beed6/68747470733a2f2f646f63732e686f72746f6e776f726b732e636f6d2f484450446f63756d656e74732f484450322f4844502d322e362e342f626b5f646174612d6163636573732f636f6d6d6f6e2f696d616765732f61646d6f6e2f7469702e706e67" style="box-sizing: border-box;" /&gt;&lt;/TD&gt;&lt;TH&gt;Tip&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Record the backup ID that appears at the end of a successful backup. In case the source cluster fails and you need to recover the dataset with a restore operation, having the backup ID readily available can save time.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 28 Feb 2018 22:09:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-Restore-using-the-Backup-ID-from-S3-throws-error/m-p/224181#M186045</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2018-02-28T22:09:26Z</dc:date>
    </item>
  </channel>
</rss>

