Hello all,
I am trying to bulk load data into Dgraph using bulk and live options but I always receive this error.
My Command :
1. dgraph bulk -f 1million.rdf.gz -s 1million.schema --map_shards=4 --reduce_shards=2 --http localhost:8000 --zero=localhost:5080
2. dgraph live -f 1million.rdf.gz
I received the same error in both the cases:
Running transaction with dgraph endpoint: 127.0.0.1:9080
Found 1 data file(s) to process
Processing data file "1million.rdf.gz"
2019/09/30 20:09:45 **gzip: invalid header**
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/dgo/x.Check
/tmp/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/dgo/x/error.go:28
github.com/dgraph-io/dgraph/chunker.FileReader
/tmp/go/src/github.com/dgraph-io/dgraph/chunker/chunk.go:339
github.com/dgraph-io/dgraph/dgraph/cmd/live.(*loader).processFile
/tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/live/run.go:165
github.com/dgraph-io/dgraph/dgraph/cmd/live.run.func2
/tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/live/run.go:330
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1337
Version details of my Dgraph:
[Decoder]: Using assembly version of decoder
Dgraph version : v1.1.0
Dgraph SHA-256 : 98db2956f6dd8b7b9b88e02962d2036845b057fe5fe953190eaafac0a83dfcce
Commit SHA-1 : ef7cdb28
Commit timestamp : 2019-09-04 00:12:51 -0700
Branch : HEAD
Go version : go1.12.7
Machine details:
MacBook Pro(2017) v10.14.6