You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Data streamed to HDFS using the [RADAR HDFS sink connector](https://github.com/R
8
8
9
9
This package is available as docker image [`radarbase/radar-hdfs-restructure`](https://hub.docker.com/r/radarbase/radar-hdfs-restructure). The entrypoint of the image is the current application. So in all of the commands listed in usage, replace `radar-hdfs-restructure` with for example:
if your docker cluster is running in the `hadoop` network and your output directory should be `./output`.
14
14
@@ -23,7 +23,7 @@ This package requires at least Java JDK 8. Build the distribution with
23
23
and install the package into `/usr/local` with for example
24
24
```shell
25
25
sudo mkdir -p /usr/local
26
-
sudo tar -xzf build/distributions/radar-hdfs-restructure-0.5.6.tar.gz -C /usr/local --strip-components=1
26
+
sudo tar -xzf build/distributions/radar-hdfs-restructure-0.5.7.tar.gz -C /usr/local --strip-components=1
27
27
```
28
28
29
29
Now the `radar-hdfs-restructure` command should be available.
@@ -60,6 +60,8 @@ By default, files records are not deduplicated after writing. To enable this beh
60
60
61
61
To set the output user ID and group ID, specify the `-p local-uid=123` and `-p local-gid=12` properties.
62
62
63
+
To run the output generator as a service that will regularly poll the HDFS directory, add the `--service` flag and optionally the `--interval` flag to adjust the polling interval.
64
+
63
65
## Extending the connector
64
66
65
67
To implement alternative storage paths, storage drivers or storage formats, put your custom JAR in
Copy file name to clipboardExpand all lines: src/main/java/org/radarcns/hdfs/util/commandline/CommandLineArgs.java
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,12 @@ public class CommandLineArgs {
96
96
@Parameter(names = {"--exclude-topic"}, description = "Topic to exclude when processing the records. Can be supplied more than once to exclude multiple topics.")
0 commit comments