-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #213 from RADAR-base/release2.2.0
Release 2.2.0
- Loading branch information
Showing
15 changed files
with
159 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
128 changes: 0 additions & 128 deletions
128
dcompose-stack/radar-cp-hadoop-stack/bin/hdfs-restructure
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
dcompose-stack/radar-cp-hadoop-stack/etc/hdfs-restructure/restructure.yml.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
service: | ||
# Whether to run the application as a polling service. | ||
enable: true | ||
# Polling interval in seconds. | ||
interval: 300 | ||
|
||
# Compression characteristics | ||
compression: | ||
# Compression type: none, zip or gzip | ||
type: gzip | ||
# Compression Factory class | ||
# factory: org.radarbase.hdfs.data.CompressionFactory | ||
# Additional compression properties | ||
# properties: {} | ||
|
||
# File format | ||
format: | ||
# Format type: CSV or JSON | ||
type: csv | ||
# Whether to deduplicate the files in each topic by default | ||
deduplication: | ||
enable: true | ||
# Deduplicate considering only distinct fields sourceId and time. | ||
# This may incur data loss if multiple measurements are recorded | ||
# at exactly the same time. By default, all values are considered | ||
# when looking at distinct lines. | ||
# distinctFields: [key.sourceId, value.time] | ||
# Format factory class | ||
# factory: org.radarbase.hdfs.data.FormatFactory | ||
# Additional format properties | ||
# properties: {} | ||
|
||
# Worker settings | ||
worker: | ||
# Maximum number of files and converters to keep open while processing | ||
cacheSize: 300 | ||
# Number of threads to do processing with | ||
numThreads: 2 | ||
# Maximum number of files to process in any given topic. | ||
# maxFilesPerTopic: null | ||
|
||
storage: | ||
factory: org.radarbase.hdfs.storage.LocalStorageDriver | ||
properties: | ||
localUid: 0 | ||
localGid: 0 | ||
|
||
# Path settings | ||
paths: | ||
# Input directories in HDFS | ||
inputs: | ||
- /topicAndroidNew | ||
# Root temporary directory for local file processing. | ||
temp: /output/+tmp | ||
# Output directory | ||
output: /output | ||
# Output path construction factory | ||
#factory: org.radarbase.hdfs.MonthlyObservationKeyPathFactory | ||
# Additional properties | ||
# properties: {} | ||
|
||
# Individual topic configuration | ||
topics: {} | ||
# # topic name | ||
# connect_fitbit_source: | ||
# # deduplicate this topic, regardless of the format settings | ||
# deduplication: | ||
# # deduplicate this topic only using given fields. | ||
# distinctFields: [value.time] | ||
# connect_fitbit_bad: | ||
# # Do not process this topic | ||
# exclude: true | ||
# biovotion_acceleration: | ||
# # Disable deduplication | ||
# deduplication: | ||
# enable: false | ||
|
||
# HDFS settings | ||
hdfs: | ||
# HDFS name node in case of a single name node, or HDFS cluster ID in case of high availability. | ||
name: hdfs-namenode-1 | ||
# High availability settings: | ||
# nameNodes: | ||
# - name: hdfs1 | ||
# hostname: hdfs-namenode-1 | ||
# - name: hdfs2 | ||
# hostname: hdfs-namenode-2 | ||
# Where files will be locked. This value should be the same for all restructure processes. | ||
lockPath: /logs/org.radarbase.hdfs/lock | ||
# Additional raw HDFS configuration properties | ||
# properties: {} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
dcompose-stack/radar-cp-hadoop-stack/lib/systemd/radar-output.service.template
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
dcompose-stack/radar-cp-hadoop-stack/lib/systemd/radar-output.timer.template
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.