hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-11450) Improve file size info in SnapshotInfo tool
Date Tue, 01 Jul 2014 11:34:24 GMT
Matteo Bertozzi created HBASE-11450:
---------------------------------------

             Summary: Improve file size info in SnapshotInfo tool
                 Key: HBASE-11450
                 URL: https://issues.apache.org/jira/browse/HBASE-11450
             Project: HBase
          Issue Type: Improvement
          Components: snapshots
    Affects Versions: 0.99.0
            Reporter: Matteo Bertozzi
            Assignee: Matteo Bertozzi
            Priority: Minor
             Fix For: 0.99.0
         Attachments: HBASE-11450-v0.patch

Add a "-size-in-bytes" flag to print the file size in byte instead of the human readable format.
and add a check on the file length between the manifest and the hfile, marking as "CORRUPTED"
files with length that don't match.

{noformat}
Snapshot Files
----------------------------------------
   4839b testtb/a81219be11ade1d0d2913267caeeb3fe/cf/bec5567b2cb04cd1a76c2f4106991de7 
       - testtb/f2622221b913c44a61a03550cb74e3a1/cf/8b02813a4f564957bd820c88fccf376a (NOT
FOUND)
   4967b testtb/0cab854a3877697e726a73187fe21643/cf/7afb8fe1e2f141eb9b8e17d1f68cd576 (archive)
     12b testtb/35074c28fd4dc304930f261fa8e0ce9c/cf/fedd9b9044b74768a6631003695c2f32 (CORRUPTED)
   4839b testtb/bb2ac9c8efc5ac9077084268c60dd8da/cf/50a3144088b049d98007af331821abd7 
   4839b testtb/cda2a3ea0f5630d19018916cbe73264e/cf/da0a1008656c403cb17f37a061d04120 
   4905b testtb/5b6e6b804e075778185e2fb1a27bae90/cf/1177a58d798a46ec952a0bc19f902711 (archive)

**************************************************************
BAD SNAPSHOT: 1 hfile(s) and 0 log(s) missing.
              1 hfile(s) corrupted.
**************************************************************
{noformat}



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

Mime
View raw message