thanks it worked ….
<value>file:///home/kushagra/hadoophdfs/hdfs/data</value>
i gave it like that .But still i can not see it in my web-console .i can see other datanodes .. and when i try to stop it ,it says stopping datanode .so i guess its running but not showing in web-console