Skip to content

Commit

Permalink
added config/batch.conf.template
Browse files Browse the repository at this point in the history
  • Loading branch information
garyelephant committed Aug 28, 2018
1 parent d22745d commit 5c932d2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ apidoc
*.tar.gz

# Python
*.py[cod]
*.py[cod]

Test.java
Test.scala
21 changes: 21 additions & 0 deletions config/batch.conf.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
spark {
# see available properties defined by spark: https://spark.apache.org/docs/latest/configuration.html#available-properties
spark.app.name = "Waterdrop"
spark.executor.instances = 2
spark.executor.cores = 1
spark.executor.memory = "1g"
}

input {
}

filter {
split {
fields = ["msg", "name"]
delimiter = ","
}
}

output {
stdout {}
}
File renamed without changes.

0 comments on commit 5c932d2

Please sign in to comment.