Permalink
Browse files

Readme typo and cleaned up log messaging.

  • Loading branch information...
1 parent fe12273 commit 9d1cebf775c932e58b629f074aca65d6576f2092 @billonahill billonahill committed May 11, 2012
View
@@ -53,8 +53,8 @@ cd ambrose
Next, you can try running the Ambrose demo on your local machine. The `ambrose-demo` script starts a
local instance of the Ambrose app server with sample data. Start the demo Abrose server with the
-following command and then brose to
-[http://localhost:8080/web/?localdata=small](http://localhost:8080/web/?localdata=small):
+following command and then browse to
+[http://localhost:8080/web/index.html?localdata=small](http://localhost:8080/web/index.html?localdata=small):
```
./bin/ambrose-demo
@@ -218,6 +218,9 @@ public void progressUpdatedNotification(String scriptId, int progress) {
// then for each running job, we report the job progress
for (DAGNode node : dagNodeNameMap.values()) {
+ // don't send progress events for unstarted jobs
+ if (node.getJobId() == null) { continue; }
+
Map<String, String> progressMap = buildJobStatusMap(node.getJobId());
//only push job progress events for a completed job once
@@ -89,7 +89,8 @@ private static int getConfiguredPort() {
*/
public void start() {
try {
- LOG.info("Starting ambrose web server on port " + port);
+ LOG.info(String.format("Starting ambrose web server on port %s. "
+ + "Browse to http://localhost:%s/web to see job progress.", port, port));
serverThread = new Thread(this);
serverThread.setDaemon(true);
serverThread.start();

0 comments on commit 9d1cebf

Please sign in to comment.