You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Clay B. (JIRA)" <ji...@apache.org> on 2019/01/31 02:48:00 UTC
[jira] [Commented] (RATIS-463) Basic Distributed Test Harness for
Ratis
[ https://issues.apache.org/jira/browse/RATIS-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756802#comment-16756802 ]
Clay B. commented on RATIS-463:
-------------------------------
I am having some issues with class not found errors; I feel a bit silly but am not sure what is the issue.
I see the following:
Server processes are started via:
{code:java}
vagrant@ratis-server:~$ cat incubator-ratis/dev-support/vagrant/bin/start_ratis_server.sh |tail -3 | head -n2
cd /home/vagrant/incubator-ratis/
java -jar `find ./ -name 'ratis-examples*-SNAPSHOT.jar'` filestore server --storage $storage --id $id --peers $peers 2>&1 | tee ~/server_${id}.log
vagrant@ratis-server:~$ grep 'Exception in thread' server*.log
server_n0.log:Exception in thread "StateMachineUpdater-n0" java.lang.NoClassDefFoundError: org/apache/ratis/util/ExitUtils
server_n1.log:Exception in thread "n1-RaftLogWorker" Exception in thread "StateMachineUpdater-n1" java.lang.NoClassDefFoundError: org/apache/ratis/util/ExitUtils
server_n2.log:Exception in thread "org.apache.ratis.server.impl.LogAppender$$Lambda$155/1659649329@438afb89" java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformatio{code}
The loadgen is started via:
{code:java}
vagrant@ratis-server:~$ cat incubator-ratis/dev-support/vagrant/bin/start_ratis_load_gen.sh |tail -3 | head -n2
cd /home/vagrant/incubator-ratis
./ratis-examples/src/main/bin/client.sh filestore loadgen --size 1048576 --numFiles 100 --peers $peers 2>&1 | tee ~/loadgen.log
vagrant@ratis-server:~$ grep 'Exception in thread' load*.log
loadgen.log:Exception in thread "main" java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: org/apache/ratis/thirdparty/io/grpc/internal/DelayedStream$9
server_n0.log:Exception in thread "StateMachineUpdater-n0" java.lang.NoClassDefFoundError: org/apache/ratis/util/ExitUtils
server_n1.log:Exception in thread "n1-RaftLogWorker" Exception in thread "StateMachineUpdater-n1" java.lang.NoClassDefFoundError: org/apache/ratis/util/ExitUtils
server_n2.log:Exception in thread "org.apache.ratis.server.impl.LogAppender$$Lambda$155/1659649329@438afb89" java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
{code}
> Basic Distributed Test Harness for Ratis
> ----------------------------------------
>
> Key: RATIS-463
> URL: https://issues.apache.org/jira/browse/RATIS-463
> Project: Ratis
> Issue Type: Improvement
> Components: test
> Reporter: Clay B.
> Assignee: Clay B.
> Priority: Trivial
>
> We now have a load generator in RATIS-456 which can exercise Ratis. It would be good to have a basic known way to spin-up a distributed Ratis cluster and hammer it to ensure that basic performance and reliability can be achieved.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)