Hi,
I have just deployed a Tachyon cluster on and started playing with it. I am trying to write files with TRY_CACHE policy, but got the error message:
WARN 2015-08-01 22:45:16,042 [taskRun_0_17_0] : Fail to cache for:
java.io.IOException: OutOfSpaceException(message:Failed to allocate space for block! blockId(22684943515648) sizeBytes(8388608))
at tachyon.worker.WorkerClient.requestBlockLocation(WorkerClient.java:376)
at tachyon.client.TachyonFS.getLocalBlockTemporaryPath(TachyonFS.java:633)
java.lang.NullPointerException: null
at tachyon.client.FileOutStream.write(FileOutStream.java:229)
What does it mean by "TRY_CACHE"? How is it different from MUST_CACHE if both of them are failing in case of not enough memory. However, the UI shows that only a small amount of memory is used:
Memory Free / Used: | 185.00 GB / 2245.15 KB |
---|
I am wondering what is happening here. In my case, there are many small files which I assume is not the best use case for Tachyon. I wrote files in block size of 32KB.