Announcement

Collapse
No announcement yet.

VoltDB Community Edition

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • zhangbm
    started a topic VoltDB Community Edition

    VoltDB Community Edition

    Excuse me,VoltDB Community Edition can deploy a cluster?
    When I put the 192.168.0.143 into the 192.168.0.141 ,the following error occurred.

    Build: 3.6 voltdb-3.6-0-g05da948-local Community Edition
    Connecting to the VoltDB cluster leader /192.168.0.141:3021
    1 Notified of host 0
    Host id of this node is: 1
    WARN: Cannot load org.voltdb.join.ElasticJoinCoordinator in VoltDB community edition. Elastic will be disabled.
    FATAL: Failed to instantiate join coordinator
    FATAL: Fatal exception
    java.lang.NullPointerException
    at org.voltdb.RealVoltDB.initialize(RealVoltDB.java:4 27)
    at org.voltdb.VoltDB.initialize(VoltDB.java:898)
    at org.voltdb.VoltDB.main(VoltDB.java:882)
    VoltDB has encountered an unrecoverable error and is exiting.
    The log may contain additional information.

  • Jian
    replied
    Originally posted by zhangbm View Post
    Hi,vtkstef
    I downloaded the latest VoltDB Community Edition on Github , VoltDB can't start, no jar file in "/voltdb5.2.1/voltdb" folder.Why?
    you should compile the volt-version.jar first.

    see https://github.com/VoltDB/voltdb/wiki/Building-VoltDB

    Leave a comment:


  • rmorgenstein
    replied
    If you want to run with community, you need to build it first. Directions are in the github wiki: https://github.com/VoltDB/voltdb/wiki. Alternately, you are welcome to use the V3.6 prebuilt community kit - just know that it is nearly 2 years old and doesn't have a lot of new features, including a lot of SQL support.

    Regardless of whether you use V3.6 or build from github, you should start your cluster with matching deployment.xml files on all the servers and all servers should be started with 'create' and specify the same Host. In newer VoltDB it is possible to elastically add more servers, but this feature is not present in the community version.

    Ruth

    Leave a comment:


  • zhangbm
    replied
    Originally posted by vtkstef View Post
    Zhangbm,

    the message indicates diverging deployment file content among the cluster nodes. When you start a voltdb cluster you typically designate a primary host. That host should hold the 'master' copy of the deployment file (and in v3.7 the catalog too)

    in V5.1+ I start an hypothetical 3 node cluster as follows:

    Code:
    node1_shell$ voltdb create -d deployment.xml -H host1 # on node 1
    node2_shell$ voltdb create -H host1                   # on node 2
    node3_shell$ voltdb create -H host1                   # on node 3
    the deployment file on node1 contains cluster configuration element containing an hostcount attribute set to 3

    Code:
    <deployment>
       <cluster hostcount="3" ...
    Ciao
    Stefano
    Hi,vtkstef
    I downloaded the latest VoltDB Community Edition on Github , VoltDB can't start, no jar file in "/voltdb5.2.1/voltdb" folder.Why?

    Leave a comment:


  • vtkstef
    replied
    Zhangbm,

    the message indicates diverging deployment file content among the cluster nodes. When you start a voltdb cluster you typically designate a primary host. That host should hold the 'master' copy of the deployment file (and in v3.7 the catalog too)

    in V5.1+ I start an hypothetical 3 node cluster as follows:

    Code:
    node1_shell$ voltdb create -d deployment.xml -H host1 # on node 1
    node2_shell$ voltdb create -H host1                   # on node 2
    node3_shell$ voltdb create -H host1                   # on node 3
    the deployment file on node1 contains cluster configuration element containing an hostcount attribute set to 3

    Code:
    <deployment>
       <cluster hostcount="3" ...
    Ciao
    Stefano
    Last edited by vtkstef; 04-19-2015, 11:47 PM.

    Leave a comment:


  • zhangbm
    replied
    Originally posted by vtkstef View Post
    Zhangbm,

    elastic is an enterprise only feature. Try setting the elastic property to false. In V3.6 is not even a recognized option. You may want to omit it completely.

    Ciao
    Stefano
    Hi vtkstef,
    Can you tell me what is there such a problem?

    Build: 3.6 voltdb-3.6-0-g05da948-local Community Edition
    Connecting to the VoltDB cluster leader /192.168.0.141:3021
    WARN: Clock skew is 12 which is high. Ideally it should be sub-millisecond. Make sure NTP is running.
    WARN: Clock skew is 12 which is high. Ideally it should be sub-millisecond. Make sure NTP is running.
    1 Notified of host 0
    Host id of this node is: 1
    FATAL: Expected to find 1 hosts in cluster at startup but found 2. Terminating this host.
    VoltDB has encountered an unrecoverable error and is exiting.
    The log may contain additional information.


    "run.sh" for 192.168.0.141
    --displayinterval=5 \
    --duration=120 \
    --servers=192.168.0.141:21212,192.168.0.143:21212,19 2.168.0.201:21212 \
    --poolsize=100000 \
    --preload=true \
    --getputratio=0.90 \
    --keysize=32 \
    --minvaluesize=1024 \
    --maxvaluesize=1024 \
    --entropy=127 \
    --usecompression=false

    "run.sh" for 192.168.0.143
    --displayinterval=5 \
    --duration=120 \
    --servers=192.168.0.141:21212 \
    --poolsize=100000 \
    --preload=true \
    --getputratio=0.90 \
    --keysize=32 \
    --minvaluesize=1024 \
    --maxvaluesize=1024 \
    --entropy=127 \
    --usecompression=false

    Leave a comment:


  • vtkstef
    replied
    Zhangbm,

    elastic is an enterprise only feature. Try setting the elastic property to false. In V3.6 is not even a recognized option. You may want to omit it completely.

    Ciao
    Stefano

    Leave a comment:


  • zhangbm
    replied
    Peter Zhao,
    When I set up the deployment file hostcount is greater than 1, VoltDB can not start.
    <deployment>
    <cluster hostcount="2" sitesperhost="2" elastic="enabled" />
    <httpd enabled="true">
    <jsonapi enabled="true" />
    </httpd>
    </deployment>

    the command line :
    voltdb create catalog /usr/voltdb-src/acme.jar host 192.168.141 deployment /opt/voltdb/examples/voter/deployment.xml

    Console print:
    Build: 3.6 voltdb-3.6-0-g05da948-local Community Edition
    Connecting to VoltDB cluster as the leader...
    Host id of this node is: 0

    You know the problem is?
    Thanks

    Leave a comment:


  • zhangbm
    replied
    Originally posted by pzhao View Post
    Zhangbm,

    I'd be happy to help you. I think the first thing to do is upgrade to the latest version of Voltdb via github. Yes, you can deploy a cluster with VoltDB community version. Can you provide the command line syntax used?

    Peter Zhao
    Can you tell me how to deploy a cluster with VoltDB community version?I can deploy a cluster with VoltDB-ent-5.1.1,"voltdb add --host 192.168.0.141",but the VoltDB community version I don't know how to deploy a cluster,the latest version of Voltdb via github ,I can't find the voltdb5.1.1.jar and the voltdbclient5.1.1.jar,and some other files in /voltdb/voltdb.
    Thanks

    Leave a comment:


  • pzhao
    replied
    Zhangbm,

    I'd be happy to help you. I think the first thing to do is upgrade to the latest version of Voltdb via github. Yes, you can deploy a cluster with VoltDB community version. Can you provide the command line syntax used?

    Peter Zhao
    Last edited by pzhao; 04-17-2015, 11:05 AM.

    Leave a comment:

Working...
X