I assume this is tdbloader2 even though your command examples use
tdbloader?

It depends on whether you are using Jena 3.0.0 or Jena 2.x

For 3.0.0

tdbloader2 --help is your friend:

  -s <SortArgs>
  --sort-args <SortArgs>
    Sets the arguments that should be passed to sort for the sort
    based portions of the build.

    Generally it is best not to change these as the scripts will
    use appropriate defaults for your system.


So:

  ./tdbloader2 --loc=/home/JenaDatabase --sort-args "-T /home/mnt/tmp"
/home/myfile.nq

For Jena 2.x there is no equivalent option and you need to specify via an
environment variable instead:

  export SORT_ARGS="-T /home/mnt/tmp"
  ./tdbloader2 --loc=/home/JenaDatabase /home/myfile.nq

Rob


On 13/08/2015 04:08, "Rose Beck" <[email protected]> wrote:

>I tried to load RDF data using tdbloader2 using the following command:
>
>./tdbloader --loc=/home/JenaDatabase -v /home/myfile.nq
>
>However, after sometime I ended up getting the following message:
>INFO  Total: 668,867,024 tuples : 206,322.84 seconds : 3,241.85
>tuples/sec [2015/08/13 02:38:12 IST]
> 02:38:14 Index phase
> 02:38:14 Index GSPO
>sort: write failed: /tmp/sort4XJ307: No space left on device
>
>
>Can someone please suggest as to how can I change the location of
>/tmp/ so that tdbloader takes a different location on disk which has
>space. I tried:
>
>./tdbloader --loc=/home/JenaDatabase -v /home/myfile.nq --T=/home/mnt/tmp
>but I ended up getting the following message:
>File does not exist: --T
>
>
>
>-- 
>With Warm Regards,
>Rose




Reply via email to