Swara

Results issues of Swara

## Problem When a MapReduce snapshot-scanning job is misconfigured with restoreDir pointing to (or under) the production HBase data directory (hbase.rootdir/data/), RestoreSnapshotHelper.copySnapshotForScanner() creates HFileLink reference files directly inside the live...

## Problem statement A ServerCrashProcedure (SCP) can crash the PEWorker with a NullPointerException while processing a dead RegionServer, after a Master restart: ``` ERROR [PEWorker-15] procedure2.ProcedureExecutor: CODE-BUG: Uncaught runtime exception:...

## Root cause The NPE is a **race between asynchronous archival of an already-compacted file and the compaction bookkeeping that re-sorts the compacted-files list** The file whose reader gets closed...

## Summary `TestRollbackSCP.testFailAndRollback` is flaky: it intermittently fails with `java.lang.IllegalArgumentException: scheduler queue not empty` from `ProcedureExecutor.load()` while restarting the master procedure executor. The test restarts the `ProcedureExecutor` **in place**, reusing...