Correct Answer: B
In the Spark UI's Storage tab, an indicator that a cached table is not performing optimally would be the presence of the _disk annotation in the RDD Block Name. This annotation indicates that some partitions of the cached data have been spilled to disk because there wasn't enough memory to hold them. This is suboptimal because accessing data from disk is much slower than from memory. The goal of caching is to keep data in memory for fast access, and a spill to disk means that this goal is not fully achieved.
The RDD answer is incorrect for this question due to the fact that while this indicates a failure to cache, it is more specific to identifying individual blocks that failed to cache rather than providing a general signal of a suboptimal performance for the entire cached table.
Correct Answer: B
Option B, is the most correct and relevant choice for an indicator that a cached table is not performing optimally in a MEMORY_ONLY scenario. If an RDD block includes a "?" annotation, it strongly suggests issues with caching, which would directly impact the performance and expected behavior of MEMORY_ONLY caching. This indication points to a failure to cache the data entirely in memory, which is what MEMORY_ONLY intends to do.
Option C, could also be a relevant indicator in general caching scenarios (e.g., MEMORY_AND_DISK), but it contradicts the MEMORY_ONLY setting directly. Therefore, Option B is chosen based on the specific storage level described.
*THE CORRECT ANSWER IS: C*
PLEASE IGNORE MY PREVIOUS ANSWER.
Long story short, B is correct in the context of non-functional requirement, but the question is based in functional requirement, and sorry for the confusion.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
KadELbied
1 month, 2 weeks agoKadELbied
1 month, 2 weeks agoRuiCarvalhoDEV
7 months agoHadiler
10 months, 3 weeks ago03355a2
11 months, 4 weeks ago03355a2
11 months, 4 weeks agohpkr
1 year agoFreyr
1 year agoFreyr
1 year agoimatheushenrique
1 year agoMDWPartners
1 year ago