in the hadoop environment built by the company, datanode uses the private network ip,. Only the master node has enabled the external network ip,
now the data on the HDFS is remotely obtained through Java, and the datanode address returned by master to the Java program is the private network ip,
Java. What should I do?