incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tjungb...@apache.org
Subject svn commit: r1177295 - in /incubator/hama/branches/HamaV2/server: lib/ src/main/java/org/apache/hama/bsp/
Date Thu, 29 Sep 2011 13:03:27 GMT
Author: tjungblut
Date: Thu Sep 29 13:03:27 2011
New Revision: 1177295

URL: http://svn.apache.org/viewvc?rev=1177295&view=rev
Log:
Added YARN Binaries


Added:
    incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-api-0.23.0-SNAPSHOT.jar   (with
props)
    incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-common-0.23.0-SNAPSHOT.jar   (with
props)
    incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-server-common-0.23.0-SNAPSHOT.jar
  (with props)
    incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-server-nodemanager-0.23.0-SNAPSHOT.jar
  (with props)
    incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-server-resourcemanager-0.23.0-SNAPSHOT.jar
  (with props)
Modified:
    incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPApplicationMaster.java

Added: incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-api-0.23.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-api-0.23.0-SNAPSHOT.jar?rev=1177295&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-api-0.23.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-common-0.23.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-common-0.23.0-SNAPSHOT.jar?rev=1177295&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-common-0.23.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-server-common-0.23.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-server-common-0.23.0-SNAPSHOT.jar?rev=1177295&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-server-common-0.23.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-server-nodemanager-0.23.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-server-nodemanager-0.23.0-SNAPSHOT.jar?rev=1177295&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-server-nodemanager-0.23.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-server-resourcemanager-0.23.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-server-resourcemanager-0.23.0-SNAPSHOT.jar?rev=1177295&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/hama/branches/HamaV2/server/lib/hadoop-yarn-server-resourcemanager-0.23.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPApplicationMaster.java
URL: http://svn.apache.org/viewvc/incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPApplicationMaster.java?rev=1177295&r1=1177294&r2=1177295&view=diff
==============================================================================
--- incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPApplicationMaster.java
(original)
+++ incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPApplicationMaster.java
Thu Sep 29 13:03:27 2011
@@ -17,10 +17,25 @@
  */
 package org.apache.hama.bsp;
 
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.yarn.api.records.ApplicationId;
+import org.apache.hadoop.yarn.ipc.YarnRPC;
+import org.apache.hadoop.yarn.util.Records;
+
 public class BSPApplicationMaster {
 
+	private Configuration conf;
+	private YarnRPC yarnRPC;
+	private ApplicationId appId;
+
+	private BSPApplicationMaster(String[] args) {
+		appId = Records.newRecord(ApplicationId.class);
+		conf = new Configuration();
+		yarnRPC = YarnRPC.create(conf);
+	}
+
 	public static void main(String[] args) {
-		
+		new BSPApplicationMaster(args);
 	}
 
 }



Mime
View raw message