Showing
2 changed files
with
19 additions
and
10 deletions
1 | # 2018-JAVA-Cesco | 1 | # 2018-JAVA-Cesco |
2 | Detecting fraud clicks using machine learning | 2 | Detecting fraud clicks using machine learning |
3 | + | ||
4 | +## execution script | ||
5 | +### Amazon Linux | ||
6 | +```bash | ||
7 | +# update | ||
8 | +sudo yum update -y | ||
9 | + | ||
10 | +# install git | ||
11 | +sudo yum install git -y | ||
12 | + | ||
13 | +# install maven | ||
14 | +sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo | ||
15 | +sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo | ||
16 | +sudo yum install -y apache-maven | ||
17 | +mvn --version | ||
18 | + | ||
19 | + | ||
20 | +``` | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -18,11 +18,6 @@ | ... | @@ -18,11 +18,6 @@ |
18 | </dependency> | 18 | </dependency> |
19 | <dependency> | 19 | <dependency> |
20 | <groupId>org.apache.spark</groupId> | 20 | <groupId>org.apache.spark</groupId> |
21 | - <artifactId>spark-sql_2.11</artifactId> | ||
22 | - <version>2.3.0</version> | ||
23 | - </dependency> | ||
24 | - <dependency> | ||
25 | - <groupId>org.apache.spark</groupId> | ||
26 | <artifactId>spark-mllib_2.11</artifactId> | 21 | <artifactId>spark-mllib_2.11</artifactId> |
27 | <version>2.3.0</version> | 22 | <version>2.3.0</version> |
28 | </dependency> | 23 | </dependency> |
... | @@ -43,11 +38,7 @@ | ... | @@ -43,11 +38,7 @@ |
43 | <plugin> | 38 | <plugin> |
44 | <groupId>org.apache.maven.plugins</groupId> | 39 | <groupId>org.apache.maven.plugins</groupId> |
45 | <artifactId>maven-compiler-plugin</artifactId> | 40 | <artifactId>maven-compiler-plugin</artifactId> |
46 | - <version>3.6.1</version> | 41 | + <version>3.7.0</version> |
47 | - <configuration> | ||
48 | - <source>1.8</source> | ||
49 | - <target>1.8</target> | ||
50 | - </configuration> | ||
51 | </plugin> | 42 | </plugin> |
52 | </plugins> | 43 | </plugins> |
53 | </build> | 44 | </build> | ... | ... |
-
Please register or login to post a comment