0

I found that UfsSyncPathCache.java:68 parameter had no effect. When I debugged after set this parameter, I found that lastSync of the path that I got from cache was always null.

It seems that the pathsToLoad of DefaultFileSystemMaster.java:3345 was always null, so the cache was never refreshed. I don't know if I set it right?

My alluxio version: 1.8.1.

Thanks.

4

1 回答 1

0

我怀疑你遇到了一个已知问题。请参阅以下 github 问题。

https://github.com/Alluxio/alluxio/issues/8531

这可能会导致 Alluxio 在随后的 listStatus 调用中不必要地访问 UFS。

它已在 master 分支和最新的 2.0 版本中修复。该修复程序已被移植回 1.8 分支。

https://github.com/Alluxio/alluxio/pull/8561

您可以尝试从 github 签出 branch-1.8 以试用或移至 2.0-preview 版本。

于 2019-03-13T18:04:05.250 回答