Skip to content

Dgraph live crashes when loading 21mil sample freebase data into a t2.medium cluster #4528

@rahst12

Description

@rahst12

What version of Dgraph are you using?

1.1.1

Have you tried reproducing the issue with the latest release?

yes

What is the hardware spec (RAM, OS)?

t2.medium, centos

Steps to reproduce the issue (command/config used to run Dgraph).

  1. Install Multi-host dgraph with the following extra parameters:
docker-machine create --driver amazonec2 --amazonec2-instance-type t2.medium --amazonec2-ami ami-02eac2c0129f6376b --amazonec2-ssh-user centos aws01
docker-machine create --driver amazonec2 --amazonec2-instance-type t2.medium --amazonec2-ami ami-02eac2c0129f6376b --amazonec2-ssh-user centos aws02
docker-machine create --driver amazonec2 --amazonec2-instance-type t2.medium --amazonec2-ami ami-02eac2c0129f6376b --amazonec2-ssh-user centos aws03
  1. Setup dgraph
  2. Get data
wget "https://github.com/dgraph-io/benchmarks/blob/master/data/21million.rdf.gz?raw=true" -O 21million.rdf.gz -q
wget "https://raw.githubusercontent.com/dgraph-io/benchmarks/master/data/21million.schema" -O 21million.schema -q
  1. Run dgraph live:
dgraph live --files 21million.rdf.gz --alpha 172.31.86.65:9080,172.31.93.166:9080,172.31.87.103:9080 --zero 172.31.86.65:5080 --verbose -c 1 --schema 21million.
schema
  1. Wait for error:
[06:33:15Z] Elapsed: 10m20s Txns: 4042 N-Quads: 4042000 N-Quads/s [last 5s]:  2800 Aborts: 0
[06:33:20Z] Elapsed: 10m25s Txns: 4049 N-Quads: 4049000 N-Quads/s [last 5s]:  1400 Aborts: 0
[06:33:25Z] Elapsed: 10m30s Txns: 4050 N-Quads: 4050000 N-Quads/s [last 5s]:   200 Aborts: 0
[06:33:30Z] Elapsed: 10m35s Txns: 4050 N-Quads: 4050000 N-Quads/s [last 5s]:     0 Aborts: 0
2020/01/09 06:33:30 transport is closing
github.com/dgraph-io/dgraph/x.Fatalf
        /tmp/go/src/github.com/dgraph-io/dgraph/x/error.go:101
github.com/dgraph-io/dgraph/dgraph/cmd/live.handleError
        /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/live/batch.go:104
github.com/dgraph-io/dgraph/dgraph/cmd/live.(*loader).request
        /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/live/batch.go:156
github.com/dgraph-io/dgraph/dgraph/cmd/live.(*loader).makeRequests
        /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/live/batch.go:169
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1357

Expected behaviour and actual result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/import-exportIssues related to data import and export.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions