I loading rdf data always wrong!!
I want to load a rdf data:
first, I run :
docker run --rm -it -p 8080:8080 -p 9080:9080 -p 8000:8000 -v ~/dgraph:/dgraph dgraph/standalone:v20.03.0
second, I tried run :
dgraph bulk -f 1million.rdf -s 1million.schema --map_shards=4 --reduce_shards=1 --zero=localhost:5080
then tell wrong:
\pard\intbl\itap1\pardeftab720\partightenfactor0
\cf4 \cell
\pard\intbl\itap1\pardeftab720\partightenfactor0
\cf2 \cb3 email : string @index(exact) @upsert .\cell \lastrow\row
} at line 1 column 1: Invalid schema. Unexpected \
github.com/dgraph-io/dgraph/lex.(*Lexer).ValidateResult
/ext-go/1/src/github.com/dgraph-io/dgraph/lex/lexer.go:199
github.com/dgraph-io/dgraph/schema.Parse
/ext-go/1/src/github.com/dgraph-io/dgraph/schema/parse.go:443
github.com/dgraph-io/dgraph/dgraph/cmd/bulk.readSchema
/ext-go/1/src/github.com/dgraph-io/dgraph/dgraph/cmd/bulk/loader.go:168
so I tried another way:
dgraph live -f 1million.rdf
then tell wrong:
Error while mutating: Uid: [11975888102877534808] cannot be greater than lease: [10000] s.Code Unknown
I tried :
curl "http://localhost:6080/assign?what=uids&num=10000000000000000000"
this result is :
{"startId":"9997475252299124063","endId":"1550731178589572446"}(base) MacBook-Pro:~ dengjun$
then I tried agian:
dgraph live -f 1million.rdf
it is also said “cannot be greater than lease: [10000] s.Code Unknown”
呵呵哒!!
吐血了!!
some one could tell me why???
I just want to load data!!
哭