[ 
https://issues.apache.org/jira/browse/WHIRR-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Przemyslaw Pastuszka updated WHIRR-749:
---------------------------------------

    Attachment: hadoop.properties

> Invalid hostname in fs.default.name in core-site.xml on ec2 cluster
> -------------------------------------------------------------------
>
>                 Key: WHIRR-749
>                 URL: https://issues.apache.org/jira/browse/WHIRR-749
>             Project: Whirr
>          Issue Type: Bug
>    Affects Versions: 0.8.2
>            Reporter: Przemyslaw Pastuszka
>         Attachments: hadoop.properties
>
>
> Tried to provision ec2 cluster using hadoop.properties (attached) file and 
> whirr-0.8.2. Provisioning ended without any exception, but actually hadoop 
> cluster was not usable - this was due to wrong addresses being configured in 
> core-site.xml:
> {code}
>  <property>
>     <name>fs.default.name</name>
>     <value>hdfs://hadoop-37f7a94f:8020/</value>
>   </property>
> </configuration>
> {code}
> but system doesn't know such hostname:
> {code}
> $ ping hadoop-37f7a94f
> ping: unknown host hadoop-37f7a94f
> {code}
> As a result none of hadoop processes is working on the cluster - as a proof, 
> that hostname is the root cause of the problem, here's excerpt from namenode 
> logs:
> {code}
> 2013-10-06 11:46:55,872 ERROR 
> org.apache.hadoop.hdfs.server.namenode.NameNode: 
> java.net.UnknownHostException: Invalid hostname for server: hadoop-37f7a94f
>         at org.apache.hadoop.ipc.Server.bind(Server.java:275)
>         at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:341)
>         at org.apache.hadoop.ipc.Server.<init>(Server.java:1539)
>         at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:569)
>         at org.apache.hadoop.ipc.RPC.getServer(RPC.java:530)
>         at 
> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:324)
>         at 
> org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:569)
>         at 
> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1479)
>         at 
> org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1488)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to