Marc de Lignie created TINKERPOP-1757:
-----------------------------------------

             Summary: GiraphGraphComputer does not start Zookeeper in local mode
                 Key: TINKERPOP-1757
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1757
             Project: TinkerPop
          Issue Type: Bug
          Components: hadoop
    Affects Versions: 3.2.6, 3.3.0
         Environment: gremlin-console in Ubuntu with Oracle java 8
            Reporter: Marc de Lignie
            Priority: Trivial
             Fix For: 3.2.7, 3.3.1


As discussed in 
[https://groups.google.com/forum/#!topic/gremlin-users/Ztbr_uJhoxY] running 
GiraphGraphComputer in local mode (without an external or pseudo hadoop 
cluster) requires the following configured properties (add section local to the 
hadoop properties file):
{code:java}
gremlin.hadoop.inputLocation=data/tinkerpop-modern.kryo
giraph.minWorkers=1
giraph.maxWorkers=1
giraph.SplitMasterWorker=false
mapreduce.job.maps=4
mapreduce.job.reduces=2
{code}


The real problem is that GiraphGraphComputer does not manage to start its 
Zookeeper service because it gets relative classpath items from somewhere 
(gremlin-console provides the acual shell command used to attempt starting 
Zookeeper in its logging).
Current workaround is to start gremlin-console as follows:
{code:bash}
export CLASSPATH=$PWD/lib/*
bin/gremlin.sh
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to