You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-s, --stop Stop the SparkSession after processing /
29
+
exception (for cleanup during debugging)
30
+
--help Show help message
31
+
```
32
+
33
+
Testing
34
+
-------
35
+
36
+
There are several ways to test the code:
37
+
* With local in memory cluster and included data, e.g.:
38
+
* A whole DAG `./sbt -i data/*.gz -o test`
39
+
* A reduced DAG `./sbt -i data/*.gz -o test --limit 1 --lines 2`
40
+
* Sherlock Holmes mode: Start the scala console via `./sbt console`, there is a
41
+
preconfigured SparkSession named `spark` and all the Steps are imported.
42
+
* Execute the automated tests via: `./sbt test` and `./sbt it:test`, or with
43
+
coverage report: `./sbt coverage test coverageReport`. The report can be found
44
+
in `target/scala-2.11/scoverage-report`.
45
+
* Submitting a Spark job with any desired cli argument on a running cluster or
46
+
import the code into Apache Zeppelin and use it there.
47
+
48
+
Releasing
49
+
---------
50
+
51
+
The versioning is done via Annotated Git Tags, see [git-describe](https://git-scm.com/docs/git-describe) and [Git-Basics-Tagging](https://git-scm.com/book/en/v2/Git-Basics-Tagging) for annotated tags.
52
+
53
+
Tags have to be pushed via `git push --tags`.
54
+
55
+
This requires a full repo clone on the continuous integration machine (no shallow clone).
56
+
57
+
The benefit of git describe based versioning is, that every commit has an distinct
58
+
automatic version. This facilitates also continuous integration and delivery.
59
+
60
+
8
61
sbt bash wrapper
9
62
----------------
10
63
@@ -82,7 +135,8 @@ Fills apiMappings for common Scala libraries during `doc` task.
82
135
License
83
136
-------
84
137
85
-
Copyright 2011-2016 Marconi Lanna
138
+
Copyright 2011-2016 Marconi Lanna
139
+
Copyright 2017 Daniel Bast
86
140
87
141
Licensed under the Apache License, Version 2.0 (the "License");
88
142
you may not use this file except in compliance with the License.
0 commit comments