Skip to content

Commit 19a7ff6

Browse files
author
Thomas Weise
committed
Fixed Wrong Links in README.md Files
1 parent d3b07e1 commit 19a7ff6

File tree

3 files changed

+42
-38
lines changed

3 files changed

+42
-38
lines changed

hadoop/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ The reducer here also acts as combinator, meaning that a reduction step is also
4747

4848
After the reduction step, we therefore know how often each word occurred in the text. Furthermore, since the tuples are sorted automatically before reduction, the word/occurrences list is also nicely sorted alphabetically.
4949

50-
1. [`WordCountDriver`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/hadoop/wordCount/src/main/java/wordCount/WordCountDriver.java)
51-
1. [`WordCountMapper`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/hadoop/wordCount/src/main/java/wordCount/WordCountMapper.java)
52-
1. [`WordCountReducer`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/hadoop/wordCount/src/main/java/wordCount/WordCountReducer.java)
50+
1. [`WordCountDriver`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/hadoop/wordCount/src/main/java/wordCount/WordCountDriver.java)
51+
1. [`WordCountMapper`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/hadoop/wordCount/src/main/java/wordCount/WordCountMapper.java)
52+
1. [`WordCountReducer`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/hadoop/wordCount/src/main/java/wordCount/WordCountReducer.java)
5353

5454
### 1.2. Web Finder
5555

@@ -122,9 +122,9 @@ In other words, we can see that some of the top sites in China link to each othe
122122

123123
By the way, we also find lots of dodgy links which lead to nowhere or contain illegal characters, causing some warnings to be logged by our system.
124124

125-
1. [`WebFinderDriver`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/hadoop/wordCount/src/main/java/webFinder/WebFinderDriver.java)
126-
1. [`WebFinderMapper`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/hadoop/wordCount/src/main/java/webFinder/WebFinderMapper.java)
127-
1. [`WebFinderReducer`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/hadoop/wordCount/src/main/java/webFinder/WebFinderReducer.java)
125+
1. [`WebFinderDriver`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/hadoop/wordCount/src/main/java/webFinder/WebFinderDriver.java)
126+
1. [`WebFinderMapper`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/hadoop/wordCount/src/main/java/webFinder/WebFinderMapper.java)
127+
1. [`WebFinderReducer`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/hadoop/wordCount/src/main/java/webFinder/WebFinderReducer.java)
128128

129129
## 2. Building and Deployment
130130

jsonRPC/README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ So JSON RPCs are quite a nice technology.
1717

1818
### 1.1. (Complex Number) Calculator RPC Server
1919

20-
The complex number [calculator](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/calculator/server/src/main/java/calculator/Calculator.java) JSON RPC server offers methods to add, subtract, multiply, and divide [complex numbers](https://en.wikipedia.org/wiki/Complex_number). This example is very similar to the Complex Number Calculator [Web Service](http://github.com/thomasWeise/distributedComputingExamples/tree/master/webServices/) example server.
20+
The complex number [calculator](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/calculator/server/src/main/java/calculator/Calculator.java) JSON RPC server offers methods to add, subtract, multiply, and divide [complex numbers](https://en.wikipedia.org/wiki/Complex_number). This example is very similar to the Complex Number Calculator [Web Service](http://github.com/thomasWeise/distributedComputingExamples/tree/master/webServices/) example server.
2121

22-
We introduce a new [data type](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/calculator/server/src/main/java/calculator/Complex.java) for representing a complex number in form of a [JavaBean](https://en.wikipedia.org/wiki/JavaBeans).
22+
We introduce a new [data type](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/calculator/server/src/main/java/calculator/Complex.java) for representing a complex number in form of a [JavaBean](https://en.wikipedia.org/wiki/JavaBeans).
2323

24-
1. [`Complex.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/calculator/server/src/main/java/calculator/Complex.java)
25-
1. [`CalculatorInterface.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/calculator/server/src/main/java/calculator/CalculatorInterface.java)
26-
1. [`Calculator.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/calculator/server/src/main/java/calculator/Calculator.java)
27-
1. [`CalculatorServlet.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/calculator/server/src/main/java/calculator/CalculatorServlet.java)
28-
1. [`web.xml`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/calculator/server/src/main/webapp/WEB-INF/web.xml)
24+
1. [`Complex.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/calculator/server/src/main/java/calculator/Complex.java)
25+
1. [`CalculatorInterface.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/calculator/server/src/main/java/calculator/CalculatorInterface.java)
26+
1. [`Calculator.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/calculator/server/src/main/java/calculator/Calculator.java)
27+
1. [`CalculatorServlet.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/calculator/server/src/main/java/calculator/CalculatorServlet.java)
28+
1. [`web.xml`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/calculator/server/src/main/webapp/WEB-INF/web.xml)
2929

3030
You need to compile (via [Maven](http://maven.apache.org/)) and deploy to a [servlet container](https://en.wikipedia.org/wiki/Web_container).
3131

@@ -35,31 +35,31 @@ The example client of the calculator JSON RPC introduced above creates two compl
3535

3636
The compiled jar archive is a stand-alone executable which you can run via `java -jar calculatorJSONClient-full.jar`.
3737

38-
1. [`Complex.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/calculator/client/src/main/java/calculator/Complex.java)
39-
1. [`CalculatorInterface.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/calculator/client/src/main/java/calculator/CalculatorInterface.java)
40-
1. [`TestClient.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/calculator/client/src/main/java/calculator/TestClient.java)
38+
1. [`Complex.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/calculator/client/src/main/java/calculator/Complex.java)
39+
1. [`CalculatorInterface.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/calculator/client/src/main/java/calculator/CalculatorInterface.java)
40+
1. [`TestClient.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/calculator/client/src/main/java/calculator/TestClient.java)
4141

4242

4343
### 1.3. Warehouse JSON RPC Service
4444

4545
The warehouse RPC service example shows how we can construct a stand-alone JSON RPC service managing the number of certain stocks in a warehouse. It basically maintains a [`HashMap`](http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html) storing the number of available items of a given type. This example is very similar to the Warehouse [Web Service](http://github.com/thomasWeise/distributedComputingExamples/tree/master/webServices/) example server.
4646

47-
The RPC server offers a method for getting the number of items of a given type and one method for changing it. The [Warehouse class](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/warehouse/server/src/main/java/warehouseServer/Warehouse.java) implementing [service interface](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/warehouse/server/src/main/java/warehouseServer/WarehouseInterface.java) itself is a plain Java object without any annotation or fancy stuff.
47+
The RPC server offers a method for getting the number of items of a given type and one method for changing it. The [Warehouse class](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/warehouse/server/src/main/java/warehouseServer/Warehouse.java) implementing [service interface](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/warehouse/server/src/main/java/warehouseServer/WarehouseInterface.java) itself is a plain Java object without any annotation or fancy stuff.
4848

49-
1. [`WarehouseInterface.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/webServices/examples/jsonRPC/server/src/main/java/warehouseServer/WarehouseInterface.java)
50-
1. [`Warehouse.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/webServices/examples/jsonRPC/server/src/main/java/warehouseServer/Warehouse.java)
51-
1. [`WarehouseServlet.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/webServices/examples/jsonRPC/server/src/main/java/warehouseServer/WarehouseServlet.java)
52-
1. [`Main.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/webServices/examples/jsonRPC/server/src/main/java/warehouseServer/Main.java)
53-
1. [`web.xml`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/webServices/examples/jsonRPC/server/src/main/resources/webapp/WEB-INF/web.xml)
49+
1. [`WarehouseInterface.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/webServices/examples/jsonRPC/server/src/main/java/warehouseServer/WarehouseInterface.java)
50+
1. [`Warehouse.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/webServices/examples/jsonRPC/server/src/main/java/warehouseServer/Warehouse.java)
51+
1. [`WarehouseServlet.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/webServices/examples/jsonRPC/server/src/main/java/warehouseServer/WarehouseServlet.java)
52+
1. [`Main.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/webServices/examples/jsonRPC/server/src/main/java/warehouseServer/Main.java)
53+
1. [`web.xml`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/webServices/examples/jsonRPC/server/src/main/resources/webapp/WEB-INF/web.xml)
5454

5555
You need to compile this example with [Maven](http://maven.apache.org/)) to build a stand-alone `jar` archive. This archive does not need to be deployed anywhere, since it already contains the (Jetty) servlet container. You will obtain the fat `jar` file `warehouseJSONServer-full.jar` which you can run as `java -jar warehouseJSONServer-full.jar` from the command line.
5656

5757
### 1.4. Warehouse JSON RPC Client
5858

5959
The example client of the warehouse JSON RPC service introduced above: It checks the warehouse for the number of "cars" and "cats", changes these numbers, and checks back the results. The client is compiled into a fat jar named `warehouseJSONClient-full.jar` containing all the required libraries. You can directly execute it via `java -jar warehouseJSONClient-full.jar` from the command line.
6060

61-
1. [`WarehouseInterface.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/warehouse/client/src/main/java/warehouseClient/WarehouseInterface.java)
62-
2. [`WarehouseTest.java`](http://github.com/thomasWeise/distributedComputingExamples/tree/master/jsonRPC/examples/warehouse/client/src/main/java/warehouseClient/WarehouseTest.java)
61+
1. [`WarehouseInterface.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/warehouse/client/src/main/java/warehouseClient/WarehouseInterface.java)
62+
2. [`WarehouseTest.java`](http://github.com/thomasWeise/distributedComputingExamples/blob/master/jsonRPC/examples/warehouse/client/src/main/java/warehouseClient/WarehouseTest.java)
6363

6464

6565
## 2. Building and Deployment

0 commit comments

Comments
 (0)