@InterfaceAudience.Public @InterfaceStability.Evolving public class HdfsUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
HdfsUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isHealthy(URI uri)
Is the HDFS healthy?
HDFS is considered as healthy if it is up and not in safemode.
|
public static boolean isHealthy(URI uri)
uri - the HDFS URI. Note that the URI path is ignored.Copyright © 2024 Apache Software Foundation. All rights reserved.