Git Product home page Git Product logo

docker-titan's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-titan's Issues

Can't connect to titan from 'gremlin-client' library

This might be a bit out of the scope for this repo but I you might be able to guide me.

running titan works and even running gremlin seems to be fine:

docker exec -it mytitan bin/gremlin.sh

Sep 07, 2015 7:00:44 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.

         \,,,/
         (o o)
-----oOOo-(3)-oOOo-----
plugin activated: aurelius.titan
plugin activated: tinkerpop.server
plugin activated: tinkerpop.utilities
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/titan-0.9.0-SNAPSHOT-hadoop1/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/titan-0.9.0-SNAPSHOT-hadoop1/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
19:01:02 INFO  org.apache.tinkerpop.gremlin.hadoop.structure.HadoopGraph  - HADOOP_GREMLIN_LIBS is set to: /opt/titan-0.9.0-SNAPSHOT-hadoop1/lib
plugin activated: tinkerpop.hadoop
plugin activated: tinkerpop.tinkergraph
gremlin> :remote connect tinkerpop.server conf/remote.yaml
==>Connected - localhost/127.0.0.1:8182
gremlin> :> graph.addVertex("name", "stephen")
==>v[4096]
gremlin>  :> g.V().values('name')
==>stephen

But I am not able to connect to the server (using web socket) via the node.js library for gremlin:

Steps to reproduce:

git clone https://github.com/oren/titan.git
cd titan
docker-compose up
npm install
node get-all.js

Error:
{ [Error: socket hang up]
  code: 'ECONNRESET',
  target:
   { domain: null,
     _events:
      { open: [Object],
        error: [Object],
        message: [Object],
        close: [Object] },
     _eventsCount: 4,
     _maxListeners: undefined,
     _socket: null,
     _ultron: null,
     _closeReceived: false,
     bytesReceived: 0,
     readyState: 0,
     supports: { binary: true },
     extensions: {},
     _isServer: false,
     url: 'ws://localhost:8182',
     protocolVersion: 13
  }
}

The titan container is not running due to error in Dockerfile

fantastic work @phani1kumar !

(I use Ubuntu 15.04)

sudo mkdir -p /var/lib/cassandra/data
sudo mkdir -p /usr/share/elasticsearch/data
docker run -d --name cas1 -v /var/lib/cassandra/data:/var/lib/cassandra/data cassandra:2.0
docker run -d --name elas1 -v /usr/share/elasticsearch/data:/usr/share/elasticsearch/data elasticsearch:1.5
docker build -t titan .
docker run -d -P --name mytitan2 --link elas1:elasticsearch --link cas1:cassandra titan
docker ps
CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS              PORTS                                         NAMES
ae9c644bc4a0        elasticsearch:1.5   "/docker-entrypoint.   5 minutes ago       Up 5 minutes        9200/tcp, 9300/tcp                            elas1               
46048b9ac43b        cassandra:2.0       "/docker-entrypoint.   5 minutes ago       Up 5 minutes        7000-7001/tcp, 7199/tcp, 9042/tcp, 9160/tcp   cas1 
docker logs 7dc0a9f2dc5f
/bin/sh: 0: Can't open /opt/$TITAN_DEPLOYMENT/run.sh

Can I use this with HBase backend?

Hello,

I want to use your docker container with HBase backend besides cassandra.
Could you let me know which configuration should be changed please?

Thank you in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.