tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Kaiser-Cross (Jira)" <j...@apache.org>
Subject [jira] [Commented] (TINKERPOP-2346) In gremlin python, error when using 'valueMap' and 'with_' combined
Date Mon, 02 Mar 2020 15:46:00 GMT

    [ https://issues.apache.org/jira/browse/TINKERPOP-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17049331#comment-17049331
] 

Michael Kaiser-Cross commented on TINKERPOP-2346:
-------------------------------------------------

Here is how I am configuring the JanusGraph docker containers.

docker-compose.yml

 
{noformat}
version: '3'
services:
  data_janusgraph:
    image: janusgraph/janusgraph:0.4.0
    ports:
      - "8182:8182"
    depends_on:
      - data_storage
    environment:
      - GREMLIN_REMOTE_HOSTS=data_janusgraph
      - gremlinserver.scriptEvaluationTimeout=600000
      - janusgraph.storage.backend=cql
      - janusgraph.storage.hostname=data_storage
      - janusgraph.storage.username=cassandra
      - janusgraph.storage.password=cassandra
    networks:
      - ns-net
  data_storage:
    build:
      context: ./
      dockerfile: Dockerfile.cassandra
    environment:
      - CASSANDRA_START_RPC=true
    ports:
      - "7199:7199" # JMX
      - "7000:7000" # cluster communication
      - "7001:7001" # cluster communication (SSL)
      - "9042:9042" # native protocol clients
      - "9160:9160" # thrift clients
    volumes:
      - "data-volume-cert:/var/lib/cassandra"
    networks:
      - ns-net
networks:
  ns-net:
    driver: bridge
volumes:
  data-volume-cert:{noformat}
 

Dockerfile.cassandra

 
{noformat}
FROM cassandra:3.11
RUN sed -i 's/^\(authenticator\s*:\s*\).*$/\1PasswordAuthenticator/' /etc/cassandra/cassandra.yaml
RUN sed -i '/^rpc_address:.*/d' /etc/cassandra/cassandra.yaml
RUN printf "\nrpc_address: data_storage" >> /etc/cassandra/cassandra.yaml
RUN printf "\ntombstone_failure_threshold: 100000000" >> /etc/cassandra/cassandra.yaml{noformat}
 

> In gremlin python, error when using 'valueMap' and 'with_' combined
> -------------------------------------------------------------------
>
>                 Key: TINKERPOP-2346
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2346
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 3.4.5
>            Reporter: Michael Kaiser-Cross
>            Priority: Major
>
> Simple example that demonstrates issue.
> >>> g.V().valueMap().with_(WithOptions.ids).toList()
>  
> gremlin_python.driver.protocol.GremlinServerError: 599: Could not locate method: DefaultGraphTraversal.with([1])
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message