Hi,

these are the internal IP addresses of the coordinators. To do an import I 
would recommend deploying a job to DC/OS.

Here is an example we are using internally:

https://github.com/arangodb-helper/pokec-import
https://hub.docker.com/r/arangodb/pokec-import/

You can deploy it via the Jobs tab in DC/OS by creating a job with the 
following JSON:

{
  "id": "pokec-import",
  "run": {
    "cmd": "/import.sh tcp://10.0.2.11:1026",
    "cpus": 1,
    "mem": 128,
    "disk": 0,
    "docker": {
      "image": "arangodb/pokec-import"
    }
  }
}

Please adjust the endpoint in the cmd to your needs :)

This is more or less the quick and dirty way because we are hardcoding the 
coordinator. We have created a small tutorial on how we would build a fully 
resilient application on DC/OS using ArangoDB as its backend:

https://docs.arangodb.com/3.1/cookbook/Cloud/DcosFullExample.html

In this setup you would use

tcp://arangodb-proxy.marathon.mesos:8529

as the endpoint and not have to care about a specific arangodb endpoint.e

Hope that helps!

Kind regards,

  Andreas Streichardt

Am Donnerstag, 16. Februar 2017 15:55:37 UTC+1 schrieb Feng Wang:
>
> Hello community,
>    I have install ArangoDB3 in DC/OS , and the STATE is 'Healthy' . I open 
> the service and the panel like this:
>                  
>
>
> <https://lh3.googleusercontent.com/-tGfjLVFnGrw/WKW9LuWV_CI/AAAAAAAACmE/bMzQDbI82noLy2gwPVUb4mQbWm70SBmbACLcB/s1600/Selection_008.png>
>
>
> I also run 'docker ps'  on both two Endpoints,and see some images are 
> running such as :
> arangodb/arangodb-mesos:3.1....master.mesos:5000/arangodb/arangodb-mesos-framework:3.1-build1
>
> I want to know :
> 1. how can I use arangoimp to import data
> 2. which docker image process should I attach.
>
> thx
>

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to