Get HDFS cluster name Spring Boot Yarn
Let’s say you need to get the name of hdfs cluster in an application. To do this, you need to get the org.apache.hadoop.conf.Configuration object: In the place we need, we get the fs.defaultFS property value:
READ MORE