You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by Amit Gupta <gu...@gmail.com> on 2011/04/20 08:46:59 UTC

Datanode Heartbeat Error Messages

Hi,
Upon launching the Namenode and Datanodes, I seem to be getting the
following error messages
(on freshly checkedout and built code) at a datanode:

*
(In the /mnt/hadoop/logs/hadoop-root-datanode-*.log file )
*
*
###########################################################################################
*
*2011-04-20 02:40:35,875 WARN
org.apache.hadoop.hdfs.server.datanode.DataNode: java.io.IOException:
java.lang.NumberFormatException: For input string: "dfs.heartbeat.interval"*
* at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
*
* at java.lang.Long.parseLong(Long.java:403)*
* at java.lang.Long.parseLong(Long.java:461)*
* at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.handleHeartbeat(FSNamesystem.java:2811)
*
* at
org.apache.hadoop.hdfs.server.namenode.NameNode.sendHeartbeat(NameNode.java:1274)
*
* at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)*
* at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
*
* at java.lang.reflect.Method.invoke(Method.java:597)*
* at
org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:357)
*
* at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1412)*
* at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1408)*
* at java.security.AccessController.doPrivileged(Native Method)*
* at javax.security.auth.Subject.doAs(Subject.java:396)*
* at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1142)
*
* at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1406)*
*
*
* at org.apache.hadoop.ipc.Client.call(Client.java:1028)*
* at
org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:197)
*
* at $Proxy4.sendHeartbeat(Unknown Source)*
* at
org.apache.hadoop.hdfs.server.datanode.DataNode.offerService(DataNode.java:933)
*
* at org.apache.hadoop.hdfs.server.datanode.DataNode.run(DataNode.java:1485)
*
* at java.lang.Thread.run(Thread.java:619)*
*
###########################################################################################
*

Is this related any recent commits?
Would appreciate any help/guidance.

Thanks,
-- 
Amit Gupta

Re: Datanode Heartbeat Error Messages

Posted by Amit Gupta <gu...@gmail.com>.
Hi,
I just did a fresh checkout again and did not find this error,

It turned out this was something a result of my changes locally,
and doing and a fresh checkout did not overwrite it.

Please disregard my previous email, I'm apologized if this alarmed anyone,
I'm still learning the system, so apologies again.

Thanks,
Amit

On Wed, Apr 20, 2011 at 12:46 AM, Amit Gupta <gu...@gmail.com> wrote:

> Hi,
> Upon launching the Namenode and Datanodes, I seem to be getting the
> following error messages
> (on freshly checkedout and built code) at a datanode:
>
> *
> (In the /mnt/hadoop/logs/hadoop-root-datanode-*.log file )
> *
> *
> ###########################################################################################
> *
> *2011-04-20 02:40:35,875 WARN
> org.apache.hadoop.hdfs.server.datanode.DataNode: java.io.IOException:
> java.lang.NumberFormatException: For input string: "dfs.heartbeat.interval"
> *
> * at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
> *
> * at java.lang.Long.parseLong(Long.java:403)*
> * at java.lang.Long.parseLong(Long.java:461)*
> * at
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.handleHeartbeat(FSNamesystem.java:2811)
> *
> * at
> org.apache.hadoop.hdfs.server.namenode.NameNode.sendHeartbeat(NameNode.java:1274)
> *
> * at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)*
> * at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> *
> * at java.lang.reflect.Method.invoke(Method.java:597)*
> * at
> org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:357)
> *
> * at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1412)*
> * at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1408)*
> * at java.security.AccessController.doPrivileged(Native Method)*
> * at javax.security.auth.Subject.doAs(Subject.java:396)*
> * at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1142)
> *
> * at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1406)*
> *
> *
> * at org.apache.hadoop.ipc.Client.call(Client.java:1028)*
> * at
> org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:197)
> *
> * at $Proxy4.sendHeartbeat(Unknown Source)*
> * at
> org.apache.hadoop.hdfs.server.datanode.DataNode.offerService(DataNode.java:933)
> *
> * at
> org.apache.hadoop.hdfs.server.datanode.DataNode.run(DataNode.java:1485)*
> * at java.lang.Thread.run(Thread.java:619)*
> *
> ###########################################################################################
> *
>
> Is this related any recent commits?
> Would appreciate any help/guidance.
>
> Thanks,
> --
> Amit Gupta
>
>


-- 
Amit Gupta