You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Frank Scholten (JIRA)" <ji...@apache.org> on 2012/05/10 15:35:48 UTC
[jira] [Commented] (WHIRR-588) Timeouts on whirr run-script command
[ https://issues.apache.org/jira/browse/WHIRR-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272318#comment-13272318 ]
Frank Scholten commented on WHIRR-588:
--------------------------------------
Shorter commands to work. However when I for example try to mount an EBS I get timeouts:
{code}
sudo su
# mount the Amazon ASF Email Public Dataset
mkdir /mnt/asf-email
mount /dev/sdf /mnt/asf-email
{code}
> Timeouts on whirr run-script command
> ------------------------------------
>
> Key: WHIRR-588
> URL: https://issues.apache.org/jira/browse/WHIRR-588
> Project: Whirr
> Issue Type: Bug
> Components: core
> Affects Versions: 0.7.1
> Reporter: Frank Scholten
> Fix For: 0.8.0
>
>
> I started a Hadoop cluster using the following additional config
> {code}
> jclouds.compute.timeout.script-complete=1800000
> {code}
> and I run a script like this
> {code}
> whirr run-script --script <script> --roles <role> --config <config>
> {code}
> I keep getting timeouts:
> {code}
> ]) (out of retries - max 7): Read timed out
> at org.jclouds.sshj.SshjSshClient.propagate(SshjSshClient.java:417)
> at org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:238)
> at org.jclouds.sshj.SshjSshClient.exec(SshjSshClient.java:499)
> at org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.runCommand(RunScriptOnNodeUsingSsh.java:113)
> at org.jclouds.compute.callables.RunScriptOnNodeUsingSsh.call(RunScriptOnNodeUsingSsh.java:86)
> at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:69)
> at org.jclouds.compute.strategy.RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(RunScriptOnNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:44)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: net.schmizz.sshj.connection.ConnectionException: Read timed out
> at net.schmizz.sshj.connection.ConnectionException$1.chain(ConnectionException.java:32)
> at net.schmizz.sshj.connection.ConnectionException$1.chain(ConnectionException.java:26)
> at net.schmizz.concurrent.Promise.deliverError(Promise.java:95)
> at net.schmizz.concurrent.Event.deliverError(Event.java:72)
> at net.schmizz.concurrent.ErrorDeliveryUtil.alertEvents(ErrorDeliveryUtil.java:34)
> at net.schmizz.sshj.connection.channel.AbstractChannel.notifyError(AbstractChannel.java:239)
> at net.schmizz.sshj.connection.channel.direct.SessionChannel.notifyError(SessionChannel.java:249)
> at net.schmizz.sshj.common.ErrorNotifiable$Util.alertAll(ErrorNotifiable.java:35)
> at net.schmizz.sshj.connection.ConnectionImpl.notifyError(ConnectionImpl.java:250)
> at net.schmizz.sshj.transport.TransportImpl.die(TransportImpl.java:578)
> at net.schmizz.sshj.transport.Reader.run(Reader.java:79)
> Caused by: net.schmizz.sshj.common.SSHException: Read timed out
> at net.schmizz.sshj.common.SSHException$1.chain(SSHException.java:56)
> at net.schmizz.sshj.common.SSHException$1.chain(SSHException.java:49)
> at net.schmizz.sshj.transport.TransportImpl.die(TransportImpl.java:572)
> ... 1 more
> Caused by: java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:129)
> at net.schmizz.sshj.transport.Reader.run(Reader.java:68)
> 1 error[s]
> at org.jclouds.compute.internal.BaseComputeService.runScriptOnNodesMatching(BaseComputeService.java:529)
> at org.apache.whirr.ClusterController.runScriptOnNodesMatching(ClusterController.java:278)
> at org.apache.whirr.ClusterController.runScriptOnNodesMatching(ClusterController.java:259)
> at org.apache.whirr.cli.command.RunScriptCommand.run(RunScriptCommand.java:125)
> at org.apache.whirr.cli.command.RunScriptCommand.run(RunScriptCommand.java:111)
> at org.apache.whirr.cli.Main.run(Main.java:69)
> at org.apache.whirr.cli.Main.main(Main.java:102)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira