Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 24568200D18 for ; Wed, 27 Sep 2017 06:04:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 22E681609EA; Wed, 27 Sep 2017 04:04:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3FDDD1609D7 for ; Wed, 27 Sep 2017 06:04:10 +0200 (CEST) Received: (qmail 4946 invoked by uid 500); 27 Sep 2017 04:04:08 -0000 Mailing-List: contact dev-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 dev@hbase.apache.org Received: (qmail 4935 invoked by uid 99); 27 Sep 2017 04:04:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2017 04:04:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3EBED1A209E for ; Wed, 27 Sep 2017 04:04:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 3J5f21Jy4QEK for ; Wed, 27 Sep 2017 04:04:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 726436127A for ; Wed, 27 Sep 2017 04:04:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 864EAE0A29 for ; Wed, 27 Sep 2017 04:04:03 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 804CF24282 for ; Wed, 27 Sep 2017 04:04:01 +0000 (UTC) Date: Wed, 27 Sep 2017 04:04:01 +0000 (UTC) From: "Vishal Khandelwal (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-18886) Backup command onces cancelled not able re-trigger backup again MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 27 Sep 2017 04:04:11 -0000 Vishal Khandelwal created HBASE-18886: ----------------------------------------- Summary: Backup command onces cancelled not able re-trigger backup again Key: HBASE-18886 URL: https://issues.apache.org/jira/browse/HBASE-18886 Project: HBase Issue Type: Bug Reporter: Vishal Khandelwal *Repair* Please make sure that backup is enabled on the cluster. To enable backup, in hbase-site.xml, set: hbase.backup.enable=true hbase.master.logcleaner.plugins=YOUR_PLUGINS,org.apache.hadoop.hbase.backup.master.BackupLogCleaner hbase.procedure.master.classes=YOUR_CLASSES,org.apache.hadoop.hbase.backup.master.LogRollMasterProcedureManager hbase.procedure.regionserver.classes=YOUR_CLASSES,org.apache.hadoop.hbase.backup.regionserver.LogRollRegionServerProcedureManager and restart the cluster 2017-09-27 09:28:38,119 INFO [main] metrics.MetricRegistries: Loaded MetricRegistries class org.apache.hadoop.hbase.metrics.impl.MetricRegistriesImpl REPAIR status: no failed sessions found. Checking failed delete backup operation ... No failed backup DELETE operation found 2017-09-27 09:28:38,680 ERROR [main] impl.BackupSystemTable: Snapshot snapshot_backup_system does not exists No failed backup MERGE operation found 2017-09-27 09:28:38,682 ERROR [main] impl.BackupSystemTable: Snapshot snapshot_backup_system does not exists **./bin/hbase backup create full hdfs://localhost:8020/ -t test1** Please make sure that backup is enabled on the cluster. To enable backup, in hbase-site.xml, set: hbase.backup.enable=true hbase.master.logcleaner.plugins=YOUR_PLUGINS,org.apache.hadoop.hbase.backup.master.BackupLogCleaner hbase.procedure.master.classes=YOUR_CLASSES,org.apache.hadoop.hbase.backup.master.LogRollMasterProcedureManager hbase.procedure.regionserver.classes=YOUR_CLASSES,org.apache.hadoop.hbase.backup.regionserver.LogRollRegionServerProcedureManager and restart the cluster 2017-09-27 09:29:00,837 INFO [main] metrics.MetricRegistries: Loaded MetricRegistries class org.apache.hadoop.hbase.metrics.impl.MetricRegistriesImpl 2017-09-27 09:29:01,458 ERROR [main] impl.BackupAdminImpl: There is an active session already running Backup session finished. Status: FAILURE 2017-09-27 09:29:01,460 ERROR [main] backup.BackupDriver: Error running command-line tool java.io.IOException: There is an active backup exclusive operation at org.apache.hadoop.hbase.backup.impl.BackupSystemTable.startBackupExclusiveOperation(BackupSystemTable.java:584) at org.apache.hadoop.hbase.backup.impl.BackupManager.startBackupSession(BackupManager.java:373) at org.apache.hadoop.hbase.backup.impl.TableBackupClient.init(TableBackupClient.java:100) at org.apache.hadoop.hbase.backup.impl.TableBackupClient.(TableBackupClient.java:78) at org.apache.hadoop.hbase.backup.impl.FullTableBackupClient.(FullTableBackupClient.java:61) at org.apache.hadoop.hbase.backup.BackupClientFactory.create(BackupClientFactory.java:51) at org.apache.hadoop.hbase.backup.impl.BackupAdminImpl.backupTables(BackupAdminImpl.java:595) at org.apache.hadoop.hbase.backup.impl.BackupCommands$CreateCommand.execute(BackupCommands.java:336) at org.apache.hadoop.hbase.backup.BackupDriver.parseAndRun(BackupDriver.java:137) at org.apache.hadoop.hbase.backup.BackupDriver.doWork(BackupDriver.java:170) at org.apache.hadoop.hbase.backup.BackupDriver.run(BackupDriver.java:203) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.hbase.backup.BackupDriver.main(BackupDriver.java:178) *History* lease make sure that backup is enabled on the cluster. To enable backup, in hbase-site.xml, set: hbase.backup.enable=true hbase.master.logcleaner.plugins=YOUR_PLUGINS,org.apache.hadoop.hbase.backup.master.BackupLogCleaner hbase.procedure.master.classes=YOUR_CLASSES,org.apache.hadoop.hbase.backup.master.LogRollMasterProcedureManager hbase.procedure.regionserver.classes=YOUR_CLASSES,org.apache.hadoop.hbase.backup.regionserver.LogRollRegionServerProcedureManager and restart the cluster 2017-09-27 09:30:22,218 INFO [main] metrics.MetricRegistries: Loaded MetricRegistries class org.apache.hadoop.hbase.metrics.impl.MetricRegistriesImpl {ID=backup_1506427470546,Type=FULL,Tables={test2,test1},State=COMPLETE,Start time=Tue Sep 26 17:34:31 IST 2017,End time=Tue Sep 26 17:34:54 IST 2017,Progress=100%} {ID=backup_1506427304040,Type=FULL,Tables={test2,test1},State=COMPLETE,Start time=Tue Sep 26 17:31:45 IST 2017,End time=Tue Sep 26 17:32:08 IST 2017,Progress=100%} {ID=backup_1506426863567,Type=INCREMENTAL,Tables={test2,test1},State=FAILED,Start time=Tue Sep 26 17:24:24 IST 2017,Failed message=Failed copy from hdfs://localhost:8020/backup/.tmp/backup_1506426863567 to hdfs://localhost:8020/backup/backup_1506426863567/WALs,Progress=0%} {ID=backup_1506426677165,Type=INCREMENTAL,Tables={test2,test1},State=FAILED,Start time=Tue Sep 26 17:21:18 IST 2017,Failed message=Failed copy from hdfs://localhost:8020/backup/.tmp/backup_1506426677165 to hdfs://localhost:8020/backup/backup_1506426677165/WALs,Progress=0%} {ID=backup_1506426595472,Type=INCREMENTAL,Tables={test2,test1},State=FAILED,Start time=Tue Sep 26 17:19:56 IST 2017,Failed message=Failed copy from hdfs://localhost:8020/backup/.tmp/backup_1506426595472 to hdfs://localhost:8020/backup/backup_1506426595472/WALs,Progress=0%} {ID=backup_1506426363747,Type=INCREMENTAL,Tables={test2,test1},State=FAILED,Start time=Tue Sep 26 17:16:05 IST 2017,Failed message=Failed copy from hdfs://localhost:8020/backup/.tmp/backup_1506426363747 to hdfs://localhost:8020/backup/backup_1506426363747/WALs,Progress=0%} {ID=backup_1506426242147,Type=INCREMENTAL,Tables={test2,test1},State=FAILED,Start time=Tue Sep 26 17:14:04 IST 2017,Failed message=Failed copy from hdfs://localhost:8020/backup/.tmp/backup_1506426242147 to hdfs://localhost:8020/backup/backup_1506426242147/WALs,Progress=0%} {ID=backup_1506425081055,Type=INCREMENTAL,Tables={test2,test1},State=COMPLETE,Start time=Tue Sep 26 16:54:42 IST 2017,End time=Tue Sep 26 16:55:22 IST 2017,Progress=100%} {ID=backup_1506424909794,Type=INCREMENTAL,Tables={test2,test1},State=COMPLETE,Start time=Tue Sep 26 16:51:52 IST 2017,End time=Tue Sep 26 16:52:44 IST 2017,Progress=100%} {ID=backup_1506424807105,Type=INCREMENTAL,Tables={test2,test1},State=FAILED,Start time=Tue Sep 26 16:50:08 IST 2017,Failed message=java.lang.IllegalArgumentException: Can not create a Path from a null string,Progress=0%} -- This message was sent by Atlassian JIRA (v6.4.14#64029)