Search code examples
cassandradatastaxdatastax-enterprisedatastax-java-driverdatastax-enterprise-graph

Datastax dse graph installation


I am experimenting with Datastax Dse 5.0.5 graph on ubuntu machine.

I am mostly interested in graph part of Datastax enterprise package.

I have executed these below commands on different terminals

  • ./bin/dse cannandra
  • ./bin/dse gremlin-console
  • ./datastax-studio/bin/server.sh

I am successfully able to start datastax-studio at localhost but with this error

All DSE gremlin server hosts are currently down or don't have the 'graph' workload set. Please, make sure that hosts are available and have the 'graph' workload and retry

What I want to do is?

I want to create vertex and edges using a java program and want to visualize it on datastax-studio.

For that I have written java program following dse docs but I am confused at which port I should connect my to database and even I am not sure about is I am really going on a right path.

Could you please guide me for installation dse graph and studio in a proper way?


Solution

  • ./bin/dse cassandra will start just the Cassandra workload.

    Since it appears you are using a tarball install

    ./bin/dse cassandra -g will start DSE in Graph mode

    You can also do:

    ./bin/dse cassandra -s -g to enable search functionality for fuzzy/text/geospatial searching within Graph or Cassandra

    ./bin/dse cassandra -k -g to enable Spark to run OLAP style traversals and Spark analytics on Cassandra data

    ./bin/dse cassandra -s -k -g to enable all workload types for ease of experimentation.

    For more info see: https://docs.datastax.com/en/datastax_enterprise/5.0/datastax_enterprise/admin/startDseStandalone.html