Added -p
option
This commit is contained in:
parent
24e85deb17
commit
0caba1539c
|
@ -1,6 +1,6 @@
|
||||||
# K-Means clustering algorithm using Apache Flink
|
# K-Means clustering algorithm using Apache Flink
|
||||||
|
|
||||||
Project for the Middleware Technologies for Distributed Systems.
|
Project for the course: Middleware Technologies for Distributed Systems.
|
||||||
|
|
||||||
## Note
|
## Note
|
||||||
|
|
||||||
|
@ -37,10 +37,10 @@ Input data is a point per line, in the folowing format: `xCoords,yCoords`.
|
||||||
Output data is a point per line, in the folowing format: `xCoords,yCoords,clusterIndex`.
|
Output data is a point per line, in the folowing format: `xCoords,yCoords,clusterIndex`.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
flink run target/project-*.jar --input $INPUT --output $OUTPUT [--k $K] [--maxIterations $ITERATIONS]
|
flink run -p $NBWORKERS target/project-*.jar --input $INPUT --output $OUTPUT [--k $K] [--maxIterations $ITERATIONS]
|
||||||
```
|
```
|
||||||
|
|
||||||
(example: `flink run target/project-1.0.jar --input $PWD/input.csv --output $PWD/output.csv --k 5`)
|
(example: `flink run -p 4 target/project-1.0.jar --input $PWD/input.csv --output $PWD/output.csv --k 5`)
|
||||||
|
|
||||||
## Show results
|
## Show results
|
||||||
|
|
||||||
|
|
Reference in a new issue