Using "$FUSE/bin/client", "fabric:create" throws Exception with "--wait-for-provisioning" option
Issue
Using $FUSE/bin/client
, fabric:create
throws Exception with --wait-for-provisioning
option.
$FUSE/bin/client -r 2 -d 20 -u admin -p admin "fabric:create --clean --zookeeper-password admin --zookeeper-data-dir zkdata --wait-for-provisioning"
8008 [sshd-SshClient[3da60e09]-nio2-thread-4] WARN org.apache.sshd.client.session.ClientSessionImpl - Exception caught
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:387)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191)
at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213)
at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:293)
at java.lang.Thread.run(Thread.java:745)
Also if user executes
$FUSE/bin/client -r 10 -d 20 -u admin -p admin "fabric:wait-for-provisioning"
after that, it takes 30 times slower than the usual.(wait-for-provisioning
takes 127 sec)
Environment
- Red Hat JBoss Fuse
- 6.2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.