[
https://issues.apache.org/jira/browse/WHIRR-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453868#comment-13453868
]
Steve Loughran commented on WHIRR-650:
--------------------------------------
log/stack trace from trunk
{code}
running InitScript{INSTANCE_NAME=bootstrap-hadoop-datanode_hadoop-tasktracker}
on node(hdp1)
Not enough nodes available for template hadoop-namenode+hadoop-jobtracker
*CRITICAL* the cluster failed to launch and the automated node termination
option was not selected, there might be orphaned nodes.
java.lang.IndexOutOfBoundsException: toIndex = 1
at java.util.SubList.<init>(AbstractList.java:602)
at java.util.RandomAccessSubList.<init>(AbstractList.java:758)
at java.util.AbstractList.subList(AbstractList.java:468)
at
org.apache.whirr.actions.ByonClusterAction.doAction(ByonClusterAction.java:137)
at
org.apache.whirr.actions.ScriptBasedClusterAction.execute(ScriptBasedClusterAction.java:126)
at
org.apache.whirr.ByonClusterController.bootstrapCluster(ByonClusterController.java:83)
at
org.apache.whirr.ClusterController.launchCluster(ClusterController.java:113)
at
org.apache.whirr.cli.command.LaunchClusterCommand.run(LaunchClusterCommand.java:69)
at
org.apache.whirr.cli.command.LaunchClusterCommand.run(LaunchClusterCommand.java:59)
at org.apache.whirr.cli.Main.run(Main.java:69)
at org.apache.whirr.cli.Main.main(Main.java:102)
Exception in thread "main" java.lang.RuntimeException:
java.lang.IndexOutOfBoundsException: toIndex = 1
at
org.apache.whirr.ClusterController.launchCluster(ClusterController.java:128)
at
org.apache.whirr.cli.command.LaunchClusterCommand.run(LaunchClusterCommand.java:69)
at
org.apache.whirr.cli.command.LaunchClusterCommand.run(LaunchClusterCommand.java:59)
at org.apache.whirr.cli.Main.run(Main.java:69)
at org.apache.whirr.cli.Main.main(Main.java:102)
Caused by: java.lang.IndexOutOfBoundsException: toIndex = 1
at java.util.SubList.<init>(AbstractList.java:602)
at java.util.RandomAccessSubList.<init>(AbstractList.java:758)
at java.util.AbstractList.subList(AbstractList.java:468)
at
org.apache.whirr.actions.ByonClusterAction.doAction(ByonClusterAction.java:137)
at
org.apache.whirr.actions.ScriptBasedClusterAction.execute(ScriptBasedClusterAction.java:126)
at
org.apache.whirr.ByonClusterController.bootstrapCluster(ByonClusterController.java:83)
at
org.apache.whirr.ClusterController.launchCluster(ClusterController.java:113)
... 4 more
{code}
> BYON throws IndexOutOfBoundsException if the #of available nodes is 0 and the
> cluster wants 1+
> -----------------------------------------------------------------------------------------------
>
> Key: WHIRR-650
> URL: https://issues.apache.org/jira/browse/WHIRR-650
> Project: Whirr
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8.1
> Environment: BYON cluster
> Reporter: Steve Loughran
> Priority: Minor
>
> When asking for some templates deployed, if the BYON node set is < the # of
> templates, BYON warns but then stack traces
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira