You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we setup hadoop hdfs, we always neet to setup "hdfs-site.xml" and "core-site.xml". So I think we can set the location xml file in a configure file, and read the files automatically.
In that case, one can manipulate via uri "hdfs:/mypath/file.txt" instead of "hdfs://cluster1:8443/mypath/file.txt".
It may useful for the HA user, because HA will have two namenode and will not sure which site is active.
The text was updated successfully, but these errors were encountered:
@zong0jie interresting proposal. I think the normal way is to provide the "hdfs-site.xml" and "core-site.xml" in classpath. In this way, jsr203-hadoop will load it automagicaly (already the case).
When we setup hadoop hdfs, we always neet to setup "hdfs-site.xml" and "core-site.xml". So I think we can set the location xml file in a configure file, and read the files automatically.
In that case, one can manipulate via uri "hdfs:/mypath/file.txt" instead of "hdfs://cluster1:8443/mypath/file.txt".
It may useful for the HA user, because HA will have two namenode and will not sure which site is active.
The text was updated successfully, but these errors were encountered: