Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8199

Eliminate exception for ExportSnapshot against the null table snapshot (with no data in)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.6, 0.94.7, 0.95.0
    • 0.94.7, 0.95.0
    • snapshots
    • None

    Description

      In the test environment, when snapshoting the null table (with no data), snapshot artifact can be generated successfully with snapshot meta data, while there is no CF data under region dir. Then when exporting this null snapshot via ExportSnapshot, "java.io.IOException: No input paths specified in job" occurred, which affects the normal application flow.
      But seems snapshot for null table also makes sense just with the meta information (.snapshot/), although ".archive/" does not show up. Later snapshot restore seems work from this "dummy" snapshot artifact with no CF data.
      Just eliminate exception for ExportSnapshot against the null table snapshot to make application work through.

      Attachments

        1. HBASE-8199-0.94.patch
          1 kB
          Julian Zhou
        2. HBASE-8199-trunk.patch
          1 kB
          Julian Zhou
        3. HBASE-8199-with-test.patch
          4 kB
          Matteo Bertozzi

        Activity

          People

            julian.zhou Julian Zhou
            julian.zhou Julian Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: