Changes

Summary

  1. Deprecate .Values.fuse.{image, imageTag, imagePullPolicy} in helm (commit: e5863fc) (details)
  2. Add cluster_cache_hit_rate metric (commit: 0d8d17b) (details)
  3. Support cache Not exist status (commit: 2539a05) (details)
  4. Force election after switching leader modes in RaftJournalTest (commit: c5a2bf6) (details)
  5. Add a option in distributedLoad job to exclude some workers (commit: d8b4bd8) (details)
Commit e5863fcb45b9f1ac1ef671f434fd97aea345b972 by noreply
Deprecate .Values.fuse.{image, imageTag, imagePullPolicy} in helm

In Kubernetes helm, replace .Values.fuse.{image, imageTag,
imagePullPolicy} with .Values.{image, imageTag, imagePullPolicy},
because alluxio-fuse is using the same docker image as master/worker do
and thus has the exact same settings.

pr-link: Alluxio/alluxio#13775
change-id: cid-a5bb7c2c63daabe823d822c5807a2a20a183512e
(commit: e5863fc)
The file was modifiedintegration/kubernetes/helm-chart/alluxio/templates/fuse/daemonset.yaml (diff)
The file was modifiedintegration/kubernetes/helm-chart/alluxio/values.yaml (diff)
Commit 0d8d17bf40bc357e9578ce7d66e6c43f069f3207 by noreply
Add cluster_cache_hit_rate metric

Address #13724

### What changes are proposed in this pull request?

Add a gauge metric in MetricsStore.java, CLUSTER_CACHE_HIT_RATE = 1 -
CLUSTER_BYTES_READ_UFS_ALL/(CLUSTER_BYTES_READ_DIRECT +
CLUSTER_BYTES_READ_REMOTE + CLUSTER_BYTES_READ_DOMAIN)

### Why are the changes needed?

We want to add a metric cluster_cache_hit_rate and now we can only
calculate by ourselves

### Does this PR introduce any user facing changes?

Users can get a new metric

pr-link: Alluxio/alluxio#13725
change-id: cid-6a6df67a927d1e05f333dd297a283883bf61d66d
(commit: 0d8d17b)
The file was modifiedcore/common/src/main/java/alluxio/metrics/MetricKey.java (diff)
The file was modifiedcore/server/master/src/main/java/alluxio/master/metrics/DefaultMetricsMaster.java (diff)
The file was modifiedcore/server/master/src/test/java/alluxio/master/metrics/MetricsStoreTest.java (diff)
The file was modifiedcore/server/master/src/main/java/alluxio/master/metrics/MetricsStore.java (diff)
Commit 2539a05a313a663a14cf568766923779ad87af66 by noreply
Support cache Not exist status

### What changes are proposed in this pull request?

If a file or dir is not exist, `getStatus` will throw
FileDoesNotExistException, and metadataCache will never cache this
result, client will try to call rpc server again next time.

### Why are the changes needed?

Cache the special URIStatus `NOT_FOUND_STATUS` while met
FileDoesNotExistException, when cache hit, re-throw the exception again.

### Does this PR introduce any user facing changes?

NO.

pr-link: Alluxio/alluxio#13687
change-id: cid-f4345c5d02f3c75d6f3977e96c40c36231d36090
(commit: 2539a05)
The file was modifiedcore/client/fs/src/main/java/alluxio/client/file/MetadataCachingBaseFileSystem.java (diff)
The file was modifiedcore/client/fs/src/test/java/alluxio/client/file/MetadataCachingBaseFileSystemTest.java (diff)
Commit c5a2bf6010e04b2690cda4649b4adefb0103fbfd by noreply
Force election after switching leader modes in RaftJournalTest

### What changes are proposed in this pull request?
Sending correct argument via reflection to force election upon switching
election modes for RATIS nodes.

### Why are the changes needed?
Without this change, election might not get triggered and test will
timeout waiting for seeing the new leader.

Fix https://github.com/Alluxio/alluxio/issues/13746

pr-link: Alluxio/alluxio#13779
change-id: cid-775e12623c5d87317ee3ac9c1915554952994fc9
(commit: c5a2bf6)
The file was modifiedcore/server/common/src/test/java/alluxio/master/journal/raft/RaftJournalTest.java (diff)
Commit d8b4bd8789553eb0ff0db42734edded1b6e7a559 by noreply
Add a option in distributedLoad job to exclude some workers

Fix #13505

pr-link: Alluxio/alluxio#13506
change-id: cid-61a5fb5b6772fbfc2819728ca396b201281a147e
(commit: d8b4bd8)
The file was modifiedjob/common/src/test/java/alluxio/job/plan/load/LoadConfigTest.java (diff)
The file was modifiedjob/common/src/test/java/alluxio/job/workflow/composite/CompositeConfigTest.java (diff)
The file was modifiedshell/src/main/java/alluxio/cli/fs/command/DistributedLoadCommand.java (diff)
The file was modifiedjob/server/src/test/java/alluxio/job/plan/load/LoadDefinitionTest.java (diff)
The file was modifieddocs/en/operation/User-CLI.md (diff)
The file was modifiedjob/common/src/main/java/alluxio/job/plan/load/LoadConfig.java (diff)
The file was modifiedshell/src/main/java/alluxio/cli/fs/command/DistributedLoadUtils.java (diff)
The file was modifiedjob/server/src/main/java/alluxio/job/plan/load/LoadDefinition.java (diff)
The file was modifiedtests/src/test/java/alluxio/job/plan/load/LoadIntegrationTest.java (diff)