Skip to content

Commit a1b0111

Browse files
committed
Documented new behaviour
1 parent 0ffef16 commit a1b0111

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
# Restructure HDFS files
22

33
Build jar from source with
4-
```
5-
./gradlew fatJar
4+
5+
```shell
6+
./gradlew build
67
```
78
and find the output JAR file as `build/libs/restructurehdfs-all-0.1-SNAPSHOT.jar`. Then run with:
8-
```
9+
10+
```shell
911
java -jar restructurehdfs-all-0.1-SNAPSHOT.jar <webhdfs_url> <hdfs_topic_path> <output_folder>
1012
```
13+
14+
By default, this will output the data in CSV format. If JSON format is preferred, use the following instead:
15+
```
16+
java -Dorg.radarcns.format=json -jar restructurehdfs-all-0.1-SNAPSHOT.jar <webhdfs_url> <hdfs_topic_path> <output_folder>
17+
```

0 commit comments

Comments
 (0)