This is an automated email from the ASF dual-hosted git repository.
guoyp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/griffin.git
The following commit(s) were added to refs/heads/master by this push:
new 3994727 Fix doc format glitches
3994727 is described below
commit 399472722ba7c1c912ee03e970e202df97bfc9ff
Author: Eugene <[email protected]>
AuthorDate: Wed Dec 2 03:14:01 2020 -0700
Fix doc format glitches
Author: Eugene <[email protected]>
Closes #588 from toyboxman/doc-pr.
---
griffin-doc/measure/predicates.md | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/griffin-doc/measure/predicates.md
b/griffin-doc/measure/predicates.md
index 87f1a0d..f9187b9 100644
--- a/griffin-doc/measure/predicates.md
+++ b/griffin-doc/measure/predicates.md
@@ -17,14 +17,13 @@ specific language governing permissions and limitations
under the License.
-->
-#About predicates
+# About predicates
-##Overview
+## Overview
The purpose of predicates is obligate Griffin to check certain conditions
before starting SparkSubmitJob.
Depending on these conditions Griffin need to start or not start the
measurement.
-##Configure predicates
-
+## Configure predicates
For configuring predicates need add property to measure json:
```
{
@@ -74,10 +73,10 @@ It important to notice that predicate class must satisfy
follow conditions:
- implement interface **org.apache.griffin.core.job.Predicator**
- have constructor with argument of type
**org.apache.griffin.core.job.entity.SegmentPredicate**
-##Deployment custom predicates
+## Deployment custom predicates
For the creating custom predicate you need
1. Build the Griffin service using command
-As a result, two artifacts will be built
+As a result, two artifacts will be built,
- **service-VERSION.jar** - executable Spring-Boot application
- **service-VERSION-lib.jar** - jar, which we can use as a dependency
This step is necessary because we can't use executable Spring-Boot application
as a dependency in our plugin.