Say you wan to encode a scan to base64 ? then you may need to encode the
scan to protobuf Scan object, then encode the protobuf byte[] to Base64.
1. Scan scan = ...
2. ClientProtos.Scan protoScan = ProtobufUtil#toScan(scan);
3. byte[] bytes = make the protoScan to byte[];
4. encode the bytes to ba
> My question is: is it safe to ignore these TimeoutExceptions? if the
SnapshotRegionManifests are not being written due to a timeout does that
mean we are losing data or getting inconsistencies?
I don't think ignoring the TimeoutException is a good idea. You need to
find out why did the snapshot
Hi all,
I've been running into these issues after restoring from snapshots:
https://issues.apache.org/jira/browse/HBASE-16464
https://issues.apache.org/jira/browse/HBASE-17992
Essentially, HRegion#addRegionToSnapshot has been timing out in
TakeSnapshotHandler, resulting in some leftover tmp fil