You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2011/06/24 00:30:09 UTC
svn commit: r1139100 - in /incubator/hama/trunk/src:
docs/src/documentation/content/xdocs/
docs/src/documentation/content/xdocs/docs/r0.3.0/ java/
java/org/apache/hama/ java/org/apache/hama/bsp/ java/org/apache/hama/http/
Author: edwardyoon
Date: Thu Jun 23 22:30:08 2011
New Revision: 1139100
URL: http://svn.apache.org/viewvc?rev=1139100&view=rev
Log:
Update website.
Added:
incubator/hama/trunk/src/docs/src/documentation/content/xdocs/docs/r0.3.0/
incubator/hama/trunk/src/docs/src/documentation/content/xdocs/docs/r0.3.0/index.xml
incubator/hama/trunk/src/java/org/apache/hama/http/package.html
incubator/hama/trunk/src/java/org/apache/hama/package.html
Modified:
incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml
incubator/hama/trunk/src/docs/src/documentation/content/xdocs/site.xml
incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java
incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPRPCProtocolVersion.java
incubator/hama/trunk/src/java/org/apache/hama/bsp/BooleanMessage.java
incubator/hama/trunk/src/java/org/apache/hama/bsp/ByteMessage.java
incubator/hama/trunk/src/java/org/apache/hama/bsp/DirectiveException.java
incubator/hama/trunk/src/java/org/apache/hama/bsp/DirectiveHandler.java
incubator/hama/trunk/src/java/org/apache/hama/bsp/DispatchTasksDirective.java
incubator/hama/trunk/src/java/org/apache/hama/bsp/DoubleMessage.java
incubator/hama/trunk/src/java/org/apache/hama/bsp/IntegerDoubleMessage.java
incubator/hama/trunk/src/java/org/apache/hama/bsp/IntegerMessage.java
incubator/hama/trunk/src/java/org/apache/hama/bsp/Messagable.java
incubator/hama/trunk/src/java/org/apache/hama/bsp/ReportGroomStatusDirective.java
incubator/hama/trunk/src/java/org/apache/hama/http/HttpServer.java
incubator/hama/trunk/src/java/overview.html
Added: incubator/hama/trunk/src/docs/src/documentation/content/xdocs/docs/r0.3.0/index.xml
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/docs/src/documentation/content/xdocs/docs/r0.3.0/index.xml?rev=1139100&view=auto
==============================================================================
--- incubator/hama/trunk/src/docs/src/documentation/content/xdocs/docs/r0.3.0/index.xml (added)
+++ incubator/hama/trunk/src/docs/src/documentation/content/xdocs/docs/r0.3.0/index.xml Thu Jun 23 22:30:08 2011
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!--
+ Copyright 2002-2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
+"http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+
+ <header>
+ <title>Welcome to Hama project</title>
+ </header>
+ <body>
+
+ <section>
+ <title>Documentations</title>
+ <ul>
+ <li><a href="http://incubator.apache.org/hama/docs/r0.3.0/api/index.html">API Docs</a></li>
+ </ul>
+ </section>
+
+ </body>
+</document>
\ No newline at end of file
Modified: incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml (original)
+++ incubator/hama/trunk/src/docs/src/documentation/content/xdocs/index.xml Thu Jun 23 22:30:08 2011
@@ -28,7 +28,7 @@
<title> Overview </title>
<p>
<strong>Hama</strong> is a distributed computing framework based on
- BSP (Bulk Synchronous Parallel) computing techniques for massive scientific computations,
+ BSP (Bulk Synchronous Parallel) computing techniques for massive scientific computations, such as Google's Pregel,
Currently being incubated as one of the incubator project by the Apache Software Foundation.
</p>
</section>
@@ -48,7 +48,8 @@
<section>
<title> Getting Involved </title>
<p>
- Hama is an open source volunteer project under the Apache Software Foundation. We encourage you to learn about the project and contribute your expertise. Here are some starter links: <br/>
+ Hama is an open source volunteer project under the Apache Software Foundation. We encourage you to learn about the project and contribute your expertise.
+ Here are some starter links: <br/>
</p>
<ul>
<li>See our <a href="http://wiki.apache.org/hama/HowToContribute">How to Contribute to Hama</a> page</li>
@@ -59,6 +60,16 @@
<section>
<title>Recent News</title>
<section>
+ <title>July 1, 2011: release 0.3.0 available</title>
+ <ul>
+ <li>Added LockBSPRunner</li>
+ <li>Added web UI for BSP cluster and job monitoring</li>
+ <li>Added more practical examples e.g., Shortest Path Problem, PageRank</li>
+ <li>Performance has improved by more than 25% with BSPMessageBundle</li>
+ <li>Switched from Ant to Maven</li>
+ </ul>
+ </section>
+ <section>
<title>June 2, 2011: release 0.2.0 available</title>
<ul>
<li>BSP computing framework and its examples
@@ -69,7 +80,7 @@
<section>
<title>Apr 30, 2010: Introduced BSP Worldwide</title>
<p>We're introduced in the <a href="http://www.bsp-worldwide.org/bspww3000.html">BSP Worldwide</a>.</p>
- </section>
+ </section>
<section>
<title>May 20, 2008: Accept Hama to be a Apache incubator project</title>
<p>The Incubator PMC have voted to accept Hama to be a Apache incubator project.</p>
Modified: incubator/hama/trunk/src/docs/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/docs/src/documentation/content/xdocs/site.xml?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/docs/src/documentation/content/xdocs/site.xml (original)
+++ incubator/hama/trunk/src/docs/src/documentation/content/xdocs/site.xml Thu Jun 23 22:30:08 2011
@@ -40,6 +40,7 @@ See http://forrest.apache.org/docs/linki
<docs label="Documentation">
<r0.2.0 label="Release 0.2.0" href="/docs/r0.2.0/index.html"/>
+ <r0.3.0 label="Release 0.3.0" href="/docs/r0.3.0/index.html"/>
</docs>
<docs label="Resources">
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPMaster.java Thu Jun 23 22:30:08 2011
@@ -61,7 +61,9 @@ public class BSPMaster implements JobSub
private HamaConfiguration conf;
- // Constants
+ /**
+ * Constants for BSPMaster's status.
+ */
public static enum State {
INITIALIZING, RUNNING
}
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPRPCProtocolVersion.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPRPCProtocolVersion.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPRPCProtocolVersion.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BSPRPCProtocolVersion.java Thu Jun 23 22:30:08 2011
@@ -22,7 +22,7 @@ package org.apache.hama.bsp;
import org.apache.hadoop.ipc.VersionedProtocol;
/**
- * RPC Protocol version
+ * RPC Protocol version.
*/
public interface BSPRPCProtocolVersion extends VersionedProtocol {
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/BooleanMessage.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/BooleanMessage.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/BooleanMessage.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/BooleanMessage.java Thu Jun 23 22:30:08 2011
@@ -21,6 +21,9 @@ import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
+/**
+ * A message that consists of a string tag and a boolean value.
+ */
public class BooleanMessage extends BSPMessage {
String tag;
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/ByteMessage.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/ByteMessage.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/ByteMessage.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/ByteMessage.java Thu Jun 23 22:30:08 2011
@@ -21,6 +21,9 @@ import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
+/**
+ * A message that consists of a byte tag and a byte data.
+ */
public class ByteMessage extends BSPMessage {
private byte[] tag;
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/DirectiveException.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/DirectiveException.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/DirectiveException.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/DirectiveException.java Thu Jun 23 22:30:08 2011
@@ -17,11 +17,10 @@
*/
package org.apache.hama.bsp;
+/**
+ * A custom exception class for Directive.
+ */
public class DirectiveException extends RuntimeException{
-
- /**
- *
- */
private static final long serialVersionUID = -8052582046894492822L;
public DirectiveException(){
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/DirectiveHandler.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/DirectiveHandler.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/DirectiveHandler.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/DirectiveHandler.java Thu Jun 23 22:30:08 2011
@@ -17,6 +17,9 @@
*/
package org.apache.hama.bsp;
+/**
+ * A DirectiveHandler interface.
+ */
public interface DirectiveHandler{
/**
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/DispatchTasksDirective.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/DispatchTasksDirective.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/DispatchTasksDirective.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/DispatchTasksDirective.java Thu Jun 23 22:30:08 2011
@@ -30,6 +30,9 @@ import org.apache.commons.logging.LogFac
import org.apache.hadoop.io.Writable;
import org.apache.hadoop.io.WritableUtils;
+/**
+ * Handles the tasks dispatching between the BSPMaster and the GroomServers.
+ */
public final class DispatchTasksDirective extends Directive implements Writable {
public static final Log LOG = LogFactory.getLog(DispatchTasksDirective.class);
@@ -37,8 +40,10 @@ public final class DispatchTasksDirectiv
private Map<String, String> groomServerPeers;
private GroomServerAction[] actions;
- public DispatchTasksDirective(){ super(); }
-
+ public DispatchTasksDirective() {
+ super();
+ }
+
public DispatchTasksDirective(Map<String, String> groomServerPeers,
GroomServerAction[] actions) {
super(Directive.Type.Request);
@@ -66,8 +71,8 @@ public final class DispatchTasksDirectiv
action.write(out);
}
}
- String[] groomServerNames = groomServerPeers.keySet().toArray(
- new String[0]);
+ String[] groomServerNames = groomServerPeers.keySet()
+ .toArray(new String[0]);
WritableUtils.writeCompressedStringArray(out, groomServerNames);
List<String> groomServerAddresses = new ArrayList<String>(
@@ -96,8 +101,7 @@ public final class DispatchTasksDirectiv
this.actions = null;
}
String[] groomServerNames = WritableUtils.readCompressedStringArray(in);
- String[] groomServerAddresses = WritableUtils
- .readCompressedStringArray(in);
+ String[] groomServerAddresses = WritableUtils.readCompressedStringArray(in);
groomServerPeers = new HashMap<String, String>(groomServerNames.length);
for (int i = 0; i < groomServerNames.length; i++) {
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/DoubleMessage.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/DoubleMessage.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/DoubleMessage.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/DoubleMessage.java Thu Jun 23 22:30:08 2011
@@ -21,6 +21,9 @@ import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
+/**
+ * A message that consists of a string tag and a double data.
+ */
public class DoubleMessage extends BSPMessage {
private String tag;
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/IntegerDoubleMessage.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/IntegerDoubleMessage.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/IntegerDoubleMessage.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/IntegerDoubleMessage.java Thu Jun 23 22:30:08 2011
@@ -21,6 +21,9 @@ import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
+/**
+ * A message that consists of a int tag and a double data.
+ */
public class IntegerDoubleMessage extends BSPMessage {
int tag;
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/IntegerMessage.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/IntegerMessage.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/IntegerMessage.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/IntegerMessage.java Thu Jun 23 22:30:08 2011
@@ -21,6 +21,9 @@ import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
+/**
+ * A message that consists of a string tag and a int data.
+ */
public class IntegerMessage extends BSPMessage {
String tag;
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/Messagable.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/Messagable.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/Messagable.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/Messagable.java Thu Jun 23 22:30:08 2011
@@ -15,9 +15,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.hama.bsp;
+/**
+ * A interface for BSP message class.
+ */
public interface Messagable {
}
Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/ReportGroomStatusDirective.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/ReportGroomStatusDirective.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/ReportGroomStatusDirective.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/ReportGroomStatusDirective.java Thu Jun 23 22:30:08 2011
@@ -25,8 +25,10 @@ import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.io.Writable;
+/**
+ * Reports status of GroomServer.
+ */
public class ReportGroomStatusDirective extends Directive implements Writable {
-
public static final Log LOG = LogFactory.getLog(ReportGroomStatusDirective.class);
private GroomServerStatus status;
Modified: incubator/hama/trunk/src/java/org/apache/hama/http/HttpServer.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/http/HttpServer.java?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/http/HttpServer.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/http/HttpServer.java Thu Jun 23 22:30:08 2011
@@ -346,12 +346,12 @@ public class HttpServer {
}
if (needClientAuth) {
// setting up SSL truststore for authenticating clients
- System.setProperty("javax.net.ssl.trustStore",
- sslConf.get("ssl.server.truststore.location", ""));
- System.setProperty("javax.net.ssl.trustStorePassword",
- sslConf.get("ssl.server.truststore.password", ""));
- System.setProperty("javax.net.ssl.trustStoreType",
- sslConf.get("ssl.server.truststore.type", "jks"));
+ System.setProperty("javax.net.ssl.trustStore", sslConf.get(
+ "ssl.server.truststore.location", ""));
+ System.setProperty("javax.net.ssl.trustStorePassword", sslConf.get(
+ "ssl.server.truststore.password", ""));
+ System.setProperty("javax.net.ssl.trustStoreType", sslConf.get(
+ "ssl.server.truststore.type", "jks"));
}
SslSocketConnector sslListener = new SslSocketConnector();
sslListener.setHost(addr.getHostName());
Added: incubator/hama/trunk/src/java/org/apache/hama/http/package.html
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/http/package.html?rev=1139100&view=auto
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/http/package.html (added)
+++ incubator/hama/trunk/src/java/org/apache/hama/http/package.html Thu Jun 23 22:30:08 2011
@@ -0,0 +1,23 @@
+<html>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<body>
+Contains the administrative web interfaces.
+</body>
+</html>
Added: incubator/hama/trunk/src/java/org/apache/hama/package.html
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/package.html?rev=1139100&view=auto
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/package.html (added)
+++ incubator/hama/trunk/src/java/org/apache/hama/package.html Thu Jun 23 22:30:08 2011
@@ -0,0 +1,23 @@
+<html>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<body>
+Hama base package.
+</body>
+</html>
Modified: incubator/hama/trunk/src/java/overview.html
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/overview.html?rev=1139100&r1=1139099&r2=1139100&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/overview.html (original)
+++ incubator/hama/trunk/src/java/overview.html Thu Jun 23 22:30:08 2011
@@ -57,8 +57,7 @@ This file is empty by default. Settings
This file should contain settings that must be respected by all servers and clients in a Hama installation.
</li>
</ul>
-<div class="line867">
-</div>
+
<h2 id="Setting_up_Hama">Setting up Hama</h2>
This section describes how to get started by setting up a Hama cluster.
<ul>
@@ -76,7 +75,7 @@ An example of a hama-site.xml file:
<configuration>
<property>
<name>bsp.master.address</name>
- <value>mydomain.com:40000</value>
+ <value>host1.mydomain.com:40000</value>
<description>The address of the bsp master server. Either the
literal string "local" or a host:port for distributed mode
</description>
@@ -84,7 +83,7 @@ An example of a hama-site.xml file:
<property>
<name>fs.default.name</name>
- <value>hdfs://mydomain.com:9000/</value>
+ <value>hdfs://host1.mydomain.com:9000/</value>
<description>
The name of the default file system. Either the literal string
"local" or a host:port for HDFS.
@@ -93,7 +92,7 @@ An example of a hama-site.xml file:
<property>
<name>hama.zookeeper.quorum</name>
- <value>mydomain.com</value>
+ <value>host1.mydomain.com</value>
<description>Comma separated list of servers in the ZooKeeper Quorum.
For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
By default this is set to localhost for local and pseudo-distributed modes
@@ -105,11 +104,24 @@ An example of a hama-site.xml file:
</configuration>
</pre>
+If you are managing your own ZooKeeper, you have to specify the port number as below:
+
+<pre style="background-color: #f3f5f7; border-bottom-color: rgb(174, 189, 204); border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: rgb(174, 189, 204); border-left-style: solid; border-left-width: 1pt; border-right-color: rgb(174, 189, 204); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(174, 189, 204); border-top-style: solid; border-top-width: 1pt; font-family: courier, monospace; padding-bottom: 5pt; padding-left: 5pt; padding-right: 5pt; padding-top: 5pt; white-space: pre-wrap; word-wrap: break-word;">
+ <property>
+ <name>hama.zookeeper.property.clientPort</name>
+ <value>2181</value>
+ </property>
+</pre>
+
+<ul>
+<li>See also <a href="http://wiki.apache.org/hama/GettingStarted/Properties">Configuration Properties</a></li>
+</ul>
+
<h3 id="Starting_a_Hama_cluster">Starting a Hama cluster</h3>
Run the command:
<pre style="background-color: #f3f5f7; border-bottom-color: rgb(174, 189, 204); border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: rgb(174, 189, 204); border-left-style: solid; border-left-width: 1pt; border-right-color: rgb(174, 189, 204); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(174, 189, 204); border-top-style: solid; border-top-width: 1pt; font-family: courier, monospace; padding-bottom: 5pt; padding-left: 5pt; padding-right: 5pt; padding-top: 5pt; white-space: pre-wrap; word-wrap: break-word;">
- # $HAMA_HOME/bin/start-bspd.sh
+% $HAMA_HOME/bin/start-bspd.sh
</pre>
This will startup a BSPMaster, GroomServers and Zookeeper on your machine.
@@ -118,18 +130,23 @@ This will startup a BSPMaster, GroomServ
Run the command:
<pre style="background-color: #f3f5f7; border-bottom-color: rgb(174, 189, 204); border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: rgb(174, 189, 204); border-left-style: solid; border-left-width: 1pt; border-right-color: rgb(174, 189, 204); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(174, 189, 204); border-top-style: solid; border-top-width: 1pt; font-family: courier, monospace; padding-bottom: 5pt; padding-left: 5pt; padding-right: 5pt; padding-top: 5pt; white-space: pre-wrap; word-wrap: break-word;">
- # $HAMA_HOME/bin/stop-bspd.sh
+% $HAMA_HOME/bin/stop-bspd.sh
</pre>
to stop all the daemons running on your cluster.
-
<h2 id="Run_the_BSP_Examples">Run the BSP Examples</h2>
Run the command:
<pre style="background-color: #f3f5f7; border-bottom-color: rgb(174, 189, 204); border-bottom-style: solid; border-bottom-width: 1pt; border-left-color: rgb(174, 189, 204); border-left-style: solid; border-left-width: 1pt; border-right-color: rgb(174, 189, 204); border-right-style: solid; border-right-width: 1pt; border-top-color: rgb(174, 189, 204); border-top-style: solid; border-top-width: 1pt; font-family: courier, monospace; padding-bottom: 5pt; padding-left: 5pt; padding-right: 5pt; padding-top: 5pt; white-space: pre-wrap; word-wrap: break-word;">
- # $HAMA_HOME/bin/hama jar hama-0.2.0-examples.jar pi or test
+% $HAMA_HOME/bin/hama jar hama-examples-0.x.0-incubating.jar
</pre>
+<h2 id="Hama_Web_Interfaces">Hama Web Interfaces</h2>
+
+The web UI provides information about BSP job statistics of the Hama cluster, running/completed/failed jobs.
+<br/><br/>
+By default, itâs available at http://localhost:40013
+
</body>
</html>