[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-03-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13919274#comment-13919274
 ] 

Hudson commented on HBASE-10567:


FAILURE: Integrated in HBase-0.94-security #428 (See 
[https://builds.apache.org/job/HBase-0.94-security/428/])
HBASE-10567 Add overwrite manifest option to ExportSnapshot (mbertozzi: rev 
1574017)
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
* 
/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java


 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.96.2, 0.98.1, 0.99.0

 Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-03-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13919298#comment-13919298
 ] 

Hudson commented on HBASE-10567:


FAILURE: Integrated in HBase-0.94-on-Hadoop-2 #38 (See 
[https://builds.apache.org/job/HBase-0.94-on-Hadoop-2/38/])
HBASE-10567 Add overwrite manifest option to ExportSnapshot (mbertozzi: rev 
1574017)
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
* 
/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java


 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.96.2, 0.98.1, 0.99.0

 Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-03-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13919352#comment-13919352
 ] 

Hudson commented on HBASE-10567:


FAILURE: Integrated in HBase-0.94 #1307 (See 
[https://builds.apache.org/job/HBase-0.94/1307/])
HBASE-10567 Add overwrite manifest option to ExportSnapshot (mbertozzi: rev 
1574017)
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
* 
/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java


 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.96.2, 0.98.1, 0.99.0

 Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-03-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13919394#comment-13919394
 ] 

Hudson commented on HBASE-10567:


FAILURE: Integrated in HBase-0.94-JDK7 #71 (See 
[https://builds.apache.org/job/HBase-0.94-JDK7/71/])
HBASE-10567 Add overwrite manifest option to ExportSnapshot (mbertozzi: rev 
1574017)
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
* 
/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java


 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.96.2, 0.98.1, 0.99.0

 Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-02-21 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13908206#comment-13908206
 ] 

Hudson commented on HBASE-10567:


SUCCESS: Integrated in HBase-TRUNK #4939 (See 
[https://builds.apache.org/job/HBase-TRUNK/4939/])
HBASE-10567 Add overwrite manifest option to ExportSnapshot (mbertozzi: rev 
1570502)
* 
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
* 
/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java


 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.96.2, 0.98.1, 0.99.0

 Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-02-21 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13908244#comment-13908244
 ] 

Hudson commented on HBASE-10567:


SUCCESS: Integrated in HBase-0.98 #174 (See 
[https://builds.apache.org/job/HBase-0.98/174/])
HBASE-10567 Add overwrite manifest option to ExportSnapshot (mbertozzi: rev 
1570503)
* 
/hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
* 
/hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java


 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.96.2, 0.98.1, 0.99.0

 Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-02-21 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13908247#comment-13908247
 ] 

Hudson commented on HBASE-10567:


SUCCESS: Integrated in hbase-0.96-hadoop2 #210 (See 
[https://builds.apache.org/job/hbase-0.96-hadoop2/210/])
HBASE-10567 Add overwrite manifest option to ExportSnapshot (mbertozzi: rev 
1570506)
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java


 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.96.2, 0.98.1, 0.99.0

 Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-02-21 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13908287#comment-13908287
 ] 

Hudson commented on HBASE-10567:


FAILURE: Integrated in hbase-0.96 #306 (See 
[https://builds.apache.org/job/hbase-0.96/306/])
HBASE-10567 Add overwrite manifest option to ExportSnapshot (mbertozzi: rev 
1570506)
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
* 
/hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java


 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.96.2, 0.98.1, 0.99.0

 Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-02-21 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13908346#comment-13908346
 ] 

Hudson commented on HBASE-10567:


FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #162 (See 
[https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/162/])
HBASE-10567 Add overwrite manifest option to ExportSnapshot (mbertozzi: rev 
1570503)
* 
/hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
* 
/hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java


 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.96.2, 0.98.1, 0.99.0

 Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-02-21 Thread Aleksandr Shulman (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13909089#comment-13909089
 ] 

Aleksandr Shulman commented on HBASE-10567:
---

Took a first read of the patch. Looks good to me. I'd maybe like to see a few 
more tests, but this is probably okay for now.

 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.96.2, 0.98.1, 0.99.0

 Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-02-20 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13908057#comment-13908057
 ] 

stack commented on HBASE-10567:
---

lgtm [~mbertozzi]  If you tried it, +1 on commit.

 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.99.0

 Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-02-19 Thread Jonathan Hsieh (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13905571#comment-13905571
 ] 

Jonathan Hsieh commented on HBASE-10567:


should check return value here and return error message.

{code}
@@ -686,6 +689,9 @@ public final class ExportSnapshot extends Configured 
implements Tool {
   }
 
   // Step 3 - Rename fs2:/.snapshot/.tmp/snapshot 
fs2:/.snapshot/snapshot
+  if (overwrite  outputFs.exists(outputSnapshotDir)) {
+outputFs.delete(outputSnapshotDir, true);
+  }
   if (!outputFs.rename(snapshotTmpDir, outputSnapshotDir)) {
 System.err.println(Snapshot export failed!);
 System.err.println(Unable to rename snapshot directory from= +
{code}

Otherwise looks good to me.



 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.99.0

 Attachments: HBASE-10567-v0.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-02-19 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13905612#comment-13905612
 ] 

Hadoop QA commented on HBASE-10567:
---

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12629770/HBASE-10567-v0.patch
  against trunk revision .
  ATTACHMENT ID: 12629770

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 3 new 
or modified tests.

{color:green}+1 hadoop1.0{color}.  The patch compiles against the hadoop 
1.0 profile.

{color:green}+1 hadoop1.1{color}.  The patch compiles against the hadoop 
1.1 profile.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 lineLengths{color}.  The patch does not introduce lines 
longer than 100

  {color:green}+1 site{color}.  The mvn site goal succeeds with this patch.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8744//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8744//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8744//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8744//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8744//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8744//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8744//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8744//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8744//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8744//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8744//console

This message is automatically generated.

 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.99.0

 Attachments: HBASE-10567-v0.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HBASE-10567) Add overwrite manifest option to ExportSnapshot

2014-02-19 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13906152#comment-13906152
 ] 

Hadoop QA commented on HBASE-10567:
---

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12629869/HBASE-10567-v1.patch
  against trunk revision .
  ATTACHMENT ID: 12629869

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 3 new 
or modified tests.

{color:green}+1 hadoop1.0{color}.  The patch compiles against the hadoop 
1.0 profile.

{color:green}+1 hadoop1.1{color}.  The patch compiles against the hadoop 
1.1 profile.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 lineLengths{color}.  The patch does not introduce lines 
longer than 100

  {color:green}+1 site{color}.  The mvn site goal succeeds with this patch.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8751//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8751//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8751//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8751//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8751//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8751//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8751//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8751//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8751//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8751//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/8751//console

This message is automatically generated.

 Add overwrite manifest option to ExportSnapshot
 ---

 Key: HBASE-10567
 URL: https://issues.apache.org/jira/browse/HBASE-10567
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Affects Versions: 0.98.0, 0.94.16, 0.99.0, 0.96.1.1
Reporter: Matteo Bertozzi
Assignee: Matteo Bertozzi
Priority: Minor
 Fix For: 0.99.0

 Attachments: HBASE-10567-v0.patch, HBASE-10567-v1.patch


 If you want to export a snapshot twice (e.g. in case you accidentally removed 
 a file and now your snapshot is corrupted) you have to manually remove the 
 .hbase-snapshot/SNAPSHOT_NAME directory and then run the ExportSnapshot tool.
 Add an -overwrite option to this operation automatically.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)