Fix concurrency and compression issues with ThriftCache and snapshot mr job