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
By default, files records are not deduplicated after writing. To enable this behaviour, specify the option `--deduplicate` or `-d`. This set to false by default because of an issue with Biovotion data. Please see - [issue #16](https://github.com/RADAR-base/Restructure-HDFS-topic/issues/16) before enabling it.
61
61
62
-
Finally, while processing, files are staged to a temporary directory and moved to the output directory afterwards. This has the advantage of less chance of data corruption, but it may result in slower performance. Disable staging using the `--no-stage` option.
62
+
## Extending the connector
63
+
64
+
To implement alternative storage paths, storage drivers or storage formats, put your custom JAR in
65
+
`$APP_DIR/lib/radar-hdfs-plugins`. To load them, use the following options:
|`--storage-driver`|`org.radarcns.hdfs.data.StorageDriver`| Storage driver to use for storing data. | LocalStorageDriver |
71
+
|`--format-factory`|`org.radarcns.hdfs.data.FormatFactory`| Factory for output formats. | FormatFactory |
72
+
|`--compression-factory`|`org.radarcns.hdfs.data.CompressionFactory`| Factory class to use for data compression. | CompressionFactory |
73
+
74
+
To pass arguments to self-assigned plugins, use `-p arg1=value1 -p arg2=value2` command-line flags and read those arguments in the `Plugin#init(Map<String, String>)` method.
0 commit comments