I’m trying to run a cluster. I have bulk-loaded RDF file with 3 reducers, got directories 0, 1 and 2, copied them to 3 machines (0 to first machine, 1 to second machine, 2 to third machine). My setup is:
192.168.1.109 - zero and first alpha
192.168.1.108 - second alpha
192.168.1.110 - third alpha
From where? If it from other DB only exporting this to RDF (Dgraph RDF) or JSON and importing them via Bulk. But I’m confuse by your question. It seems to me to be something different than I understood. Please elaborate.
OK, started cluster. I was providing wrong directories for p parameter. I got 3 groups, but first alpha is serving all predicates and second and third no predicates - why?
I have generated the data in the following way: I have source of data elsewhere. I have written a program which generates RDF file (72GB) with all my nodes and predicates, and schema file. I then used command:
This produced 3 subdirectories in out directory: 0, 1 and 2. Am I correct guessing that 0, 1 and 2 each have different predicates? Then I have copied directory 0 to the first alpha, 1 - to second alpha, and 2 to third alpha. I used 0/p as p parameter for the first alpha and so on. Is it correct way of starting the cluster?
If you connect with any Alpha you will have all predicates available. The only way to know which Alpha is serving is via Logs or Debug Tool (a new Dgraph tool). But that’s beside the point now. Need to know your version.