[
https://issues.apache.org/jira/browse/HBASE-14123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201887#comment-15201887
]
Ted Yu commented on HBASE-14123:
--------------------------------
{code}
+ conf.setBoolean("hbase.loadincremental.validate.hfile", false);
{code}
Describe in release notes that hfile validation is turned off.
{code}
+ master.createTable(backupHTD, null, HConstants.NO_NONCE,
HConstants.NO_NONCE);
+ LOG.info("Created "+ BackupSystemTable.getTableName()+" table");
+ } catch(TableExistsException e) {
+ e.printStackTrace();
{code}
Better check the existence of table before issuing table creation request.
{code}
- Job job = Job.getInstance(conf, conf.get(JOB_NAME_CONF_KEY, NAME + "_" +
inputDir));
+ Job job = Job.getInstance(conf, conf.get(JOB_NAME_CONF_KEY, NAME + "_" +
System.currentTimeMillis()));
{code}
Keep the input dir in job name.
Please use EnvironmentEdgeManager.
> HBase Backup/Restore Phase 2
> ----------------------------
>
> Key: HBASE-14123
> URL: https://issues.apache.org/jira/browse/HBASE-14123
> Project: HBase
> Issue Type: Umbrella
> Reporter: Vladimir Rodionov
> Assignee: Vladimir Rodionov
> Attachments: HBASE-14123-v1.patch, HBASE-14123-v10.patch,
> HBASE-14123-v11.patch, HBASE-14123-v12.patch, HBASE-14123-v2.patch,
> HBASE-14123-v3.patch, HBASE-14123-v4.patch, HBASE-14123-v5.patch,
> HBASE-14123-v6.patch, HBASE-14123-v7.patch, HBASE-14123-v9.patch
>
>
> Phase 2 umbrella JIRA. See HBASE-7912 for design document and description.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)