[
https://issues.apache.org/jira/browse/JENA-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16287459#comment-16287459
]
Andy Seaborne commented on JENA-1449:
-------------------------------------
There seem to be several classes of problems:
# Handling variable substitution is not always inside {{""}} leading to
arguments being broken up.
# The testing of sort arguments only works when there is one argument.
Multiple arguments in SORT_ARGS goes wrong.
# Passing sort args from script to script by {{--sort-args}} is problematic.
On the last point: I failed to get this to work reliably in {{tdbloader2index}}
with both use from the main script and called directly because it's hard in the
shell to cope with arguments going through command line processing multiple
times and possibly different number of times. It might be better to have
command line argument processing take the value of {{--sort-args}} and set
exported environment variable SORT_ARGS (main script and index), and have
SORT_ARGS to pass from the main script to the index builder, not using
--sort-args.
A couple of diffs for the start of this.
Unrelated: {{TOOLS_DIR}} isn't set for {{tdbloader2common}} included in
main.diff.
> tdbloader2 handling multi-argument --sort-args
> ----------------------------------------------
>
> Key: JENA-1449
> URL: https://issues.apache.org/jira/browse/JENA-1449
> Project: Apache Jena
> Issue Type: Bug
> Reporter: Andy Seaborne
> Priority: Minor
> Attachments: index.diff, main.diff
>
>
> tdbloader2 does not handle {{--sort-args}} if the argument string for sort(1)
> has multiple arguments.
> e.g.
> {{--parallel=3 --temporary-directory=mytmp --buffer-size=80%
> --compress-program=gzip}}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)