Skip to content

Commit

Permalink
fixed #49 Presplit fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Sotona committed Jan 2, 2019
1 parent 1864161 commit 015c00c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions docs/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ Halyard PreSplit consumes the same RDF data sources as Halyard Bulk Load.
-s,--source <source_paths> Source path(s) with RDF files, more paths can be
delimited by comma, the paths are searched for the
supported files recurrently
-t,--target <dataset_table> Target HBase table with Halyard RDF store
-t,--target <dataset_table> Target HBase table with Halyard RDF store, optional
HBase namespace of the target table must already exist
-i,--skip-invalid Optionally skip invalid source files and parsing
errors
-g,--default-named-graph <named_graph> Optionally specify default target named graph
Expand Down Expand Up @@ -175,7 +176,9 @@ Filesystem (HDFS) into HBase in the form of a Halyard dataset.
server as a working directory for the temporary HBase
files, the files are moved to their final HBase locations
during the last stage of the load process
-t,--target <dataset_table> Target HBase table with Halyard RDF store
-t,--target <dataset_table> Target HBase table with Halyard RDF store, target table is
created if it does not exist, however optional HBase
namespace of the target table must already exist
-i,--skip-invalid Optionally skip invalid source files and parsing errors
-d,--verify-data-types Optionally verify RDF data type values while parsing
-r,--truncate-target Optionally truncate target table just before the loading
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ public HalyardBulkLoad() {
);
addOption("s", "source", "source_paths", "Source path(s) with RDF files, more paths can be delimited by comma, the paths are searched for the supported files recurrently", true, true);
addOption("w", "work-dir", "shared_folder", "Unique non-existent folder within shared filesystem to server as a working directory for the temporary HBase files, the files are moved to their final HBase locations during the last stage of the load process", true, true);
addOption("t", "target", "dataset_table", "Target HBase table with Halyard RDF store", true, true);
addOption("t", "target", "dataset_table", "Target HBase table with Halyard RDF store, target table is created if it does not exist, however optional HBase namespace of the target table must already exist", true, true);
addOption("i", "skip-invalid", null, "Optionally skip invalid source files and parsing errors", false, false);
addOption("d", "verify-data-types", null, "Optionally verify RDF data type values while parsing", false, false);
addOption("r", "truncate-target", null, "Optionally truncate target table just before the loading the new data", false, false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public HalyardPreSplit() {
"Example: halyard presplit -s hdfs://my_RDF_files -t mydataset"
);
addOption("s", "source", "source_paths", "Source path(s) with RDF files, more paths can be delimited by comma, the paths are searched for the supported files recurrently", true, true);
addOption("t", "target", "dataset_table", "Target HBase table with Halyard RDF store", true, true);
addOption("t", "target", "dataset_table", "Target HBase table with Halyard RDF store, optional HBase namespace of the target table must already exist", true, true);
addOption("i", "skip-invalid", null, "Optionally skip invalid source files and parsing errors", false, false);
addOption("g", "default-named-graph", "named_graph", "Optionally specify default target named graph", false, true);
addOption("o", "named-graph-override", null, "Optionally override named graph also for quads, named graph is stripped from quads if --default-named-graph option is not specified", false, false);
Expand Down

0 comments on commit 015c00c

Please sign in to comment.