blazegraph / database

Blazegraph High Performance Graph Database
GNU General Public License v2.0
891 stars 172 forks source link

Set property to change directory of tmp file creation #118

Closed suhassumukh closed 5 years ago

suhassumukh commented 5 years ago

When I used the NanoSparqlServer to insert data, using

curl -X POST http://localhost:9999/blazegraph/namespace/ns/sparql --data-urlencode 'update=LOAD <file://file>;'

A very huge file was created on /tmp/bigdata-<somenumber>.tmp I'm aware that using DataLoader class will avoid this situation, but I wish to know if there was a property for setting directory of the .tmp file as there is very little space on /tmp.

Using Blazegraph 2.1.4 Java 1.8

suhassumukh commented 5 years ago

After much searching, it can be done with,

com.bigdata.journal.AbstractJournal.tmpDir=/tmp