[ https://issues.apache.org/jira/browse/WHIRR-657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457748#comment-13457748 ]
Steve Loughran commented on WHIRR-657: -------------------------------------- Config {code} nodes: - id: hdp1 hostname: ec2-50-112-223-185.us-west-2.compute.amazonaws.com os_arch: x86_64 os_family: rhel os_description: redhat os_version: 6.2 group: root username: ec2-user credential: '' sudo_password: '' {code} Stack {code} *CRITICAL* the cluster failed to launch and the automated node termination option was not selected, there might be orphaned nodes. java.lang.IllegalArgumentException: invalid IP address: ec2-50-112-223-185.us-west-2.compute.amazonaws.com at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119) at org.apache.whirr.Cluster$Instance.<init>(Cluster.java:78) at org.apache.whirr.Cluster$Instance.<init>(Cluster.java:70) at org.apache.whirr.actions.ByonClusterAction$1.apply(ByonClusterAction.java:172) at org.apache.whirr.actions.ByonClusterAction$1.apply(ByonClusterAction.java:168) at com.google.common.collect.Iterators$9.transform(Iterators.java:893) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:317) at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:300) at org.apache.whirr.actions.ByonClusterAction.getInstances(ByonClusterAction.java:167) at org.apache.whirr.actions.ByonClusterAction.doAction(ByonClusterAction.java:141) 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.IllegalArgumentException: invalid IP address: ec2-50-112-223-185.us-west-2.compute.amazonaws.com 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.IllegalArgumentException: invalid IP address: ec2-50-112-223-185.us-west-2.compute.amazonaws.com at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119) at org.apache.whirr.Cluster$Instance.<init>(Cluster.java:78) at org.apache.whirr.Cluster$Instance.<init>(Cluster.java:70) at org.apache.whirr.actions.ByonClusterAction$1.apply(ByonClusterAction.java:172) at org.apache.whirr.actions.ByonClusterAction$1.apply(ByonClusterAction.java:168) at com.google.common.collect.Iterators$9.transform(Iterators.java:893) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:317) at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:300) at org.apache.whirr.actions.ByonClusterAction.getInstances(ByonClusterAction.java:167) at org.apache.whirr.actions.ByonClusterAction.doAction(ByonClusterAction.java:141) 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 to support hostnames in "hostname" field. > ---------------------------------------------- > > Key: WHIRR-657 > URL: https://issues.apache.org/jira/browse/WHIRR-657 > Project: Whirr > Issue Type: Improvement > Components: core > Affects Versions: 0.9.0 > Environment: BYON > Reporter: Steve Loughran > Priority: Minor > > If you put a hostname in the hostname field of the BYON YAML file, you get a > stack trace -only IP Addrs are supported. Unless there is a pressing reason > to use IP addresses, hostnames should be supported. This makes a big > difference if your host's IP address can move around & you don't want SSH to > care about this. -- 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