You can add the conf directory to the classpath of your run configuration.

谢纲 wrote:
Hi,
I try to debug hadoop DFS with eclipse. When I try to lauch
namenode.class as the main class. It fails to createSocketAddr. I find
that there is no host properties in the configuration. It seems that
the hadoop-default.xml and hadoop-site.xml is not loaded.
So, How to configure the eclipse to load the hadoop configuration file?

Thanks

Reply via email to