diff --git a/yarn/bin/README b/yarn/bin/README deleted file mode 100644 index d13bcb6ca..000000000 --- a/yarn/bin/README +++ /dev/null @@ -1 +0,0 @@ -foler used to hold generated class files \ No newline at end of file diff --git a/yarn/src/org/apache/hadoop/yarn/rabit/Client.java b/yarn/src/org/apache/hadoop/yarn/rabit/Client.java index 423e11dd3..a5fbff17b 100644 --- a/yarn/src/org/apache/hadoop/yarn/rabit/Client.java +++ b/yarn/src/org/apache/hadoop/yarn/rabit/Client.java @@ -51,6 +51,7 @@ public class Client { */ private Client() throws IOException { conf.addResource(new Path(System.getenv("HADOOP_CONF_DIR") +"/core-site.xml")); + conf.addResource(new Path(System.getenv("HADOOP_CONF_DIR") +"/hdfs-site.xml")); dfs = FileSystem.get(conf); } @@ -169,7 +170,6 @@ public class Client { } this.initArgs(args); // Create yarnClient - YarnConfiguration conf = new YarnConfiguration(); YarnClient yarnClient = YarnClient.createYarnClient(); yarnClient.init(conf); yarnClient.start();