Setup Development Env
By this tutorial, you will be able to build griffin dev environment to go through all griffin data quality process as below
- explore data assets,
- create measures,
- schedule measures,
- execute measures in compute clusters and emit metrics
- navigate metrics in dashboard.
Dev dependencies
Java :
we prefer java 8, but java 7 is fine for us.
Maven :
You can download latest maven from http://maven.apache.org/maven/download.cgi , prerequisities version is 3.2.5
Scala
You can download scala from https://www.scala-lang.org/download/install.html , prerequisities version is 2.10
Angular
We are using 1.5.8
Env dependencies
Hive
Prerequisities version is 1.2.1
Spark
Mysql
Elastic search
Setup Dev Env
git clone
git clone https://github.com/apache/incubator-griffin.git
build
cd incubator-griffin mvn clean install -DskipTests
dev
There are three modules in griffin
measure : core algorithms for calculate metrics by different measure dimension
service : web service for data assets, measure metadata, and job schedulers.
ui : front end
License Header File
Each source file should include the following Apache License header
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.