forked from lsmyrnaios/UrlsController
Lampros Smyrnaios
0178e44574
- Improve reliability, by dropping the "current_assignment" table in case of an error, thus the next "getUrls"-request will not fail. - Fix the "databaseLock" not being unlocked when the "addWorkerReport()" method returned early on some error-cases. - Delete the "assignment"-data after inserting the related payloads and attempts in the database. |
||
---|---|---|
gradle/wrapper | ||
scripts | ||
src/main | ||
README.md | ||
build.gradle | ||
installAndRun.sh | ||
settings.gradle |
README.md
UrlsController
This is the Controller's Application.
It receives requests coming from the workers , constructs an assignments-list with data received from a database and returns the list to the workers.
Then it receives the "WorkerReports" and writes them into the database.
The database used is the Impala .
[...]
To install and run the application, run git clone
.
Then, provide a file "S3_minIO_credentials.txt", inside the working directory.
In the "S3_minIO_credentials.txt" file, you should provide the endpoint, the accessKey, the secretKey, the region and the bucket, in that order, separated by comma.
Afterwards, execute the installAndRun.sh
script.
If you want to just run the app, then run the script with the argument "1": ./installAndRun.sh 1
.