devmadhuu commented on PR #12079: URL: https://github.com/apache/ozone/pull/12079#issuecomment-7161700835
> Do we take the following as no_space or no_sutiable_node? > > https://github.com/apache/ozone/blob/e707ac51788cbe15bb246c299a9875ee93e65ba2/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/RatisPipelineProvider.java#L105 > > The PR description says no_space is not necessary for space but also for eligibility. `no_space` is mentioned as "insufficient eligible storage of the requested type.", so "eligibility" under `no_space` means storage-type eligibility: a node without any volume of the requested type fails `hasEnoughSpace(..., storageType, ...)`, which raises `FAILED_TO_FIND_NODES_WITH_SPACE`. I'll add the pipeline-limit note to the metric description too. `no_suitable_node`: the limit check throws `FAILED_TO_FIND_SUITABLE_NODE` (on the feature branch it is the per-tier limit in `RatisPipelineProvider#create`). That is the same code SCM uses when every node is already in its maximum number of pipelines, so both mean "**no node can take another pipeline**". The PR description's second bullet covers it ("placement restrictions such as pipeline limits"). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
