hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amar Kamat <ama...@yahoo-inc.com>
Subject Re: probelm starting datanode from java program
Date Tue, 25 Mar 2008 08:13:20 GMT
What is the environment in which you are trying to run.
Amar
On Tue, 25 Mar 2008, Ipraveen wrote:

>
> hi
>  i am using hadoop api (org.apache.hadoop.dfs) to start a datanode
> but when i write DataNode.run(conf) it gives error
>
> 08/03/25 13:24:40 WARN dfs.DataNode: java.io.IOException: CreateProcess:
> bash -c "exec 'df' '-k' 'E:\tmp\hadoop-praveen\dfs\data' 2>/dev/null"
> error=2
>         at java.lang.ProcessImpl.create(Native Method)
>         at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
>         at java.lang.ProcessImpl.start(ProcessImpl.java:30)
>         at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
>         at org.apache.hadoop.util.Shell.runCommand(Shell.java:115)
>         at org.apache.hadoop.util.Shell.run(Shell.java:100)
>         at org.apache.hadoop.fs.DF.getCapacity(DF.java:63)
>         at
> org.apache.hadoop.dfs.FSDataset$FSVolume.getCapacity(FSDataset.java:307)
>         at
> org.apache.hadoop.dfs.FSDataset$FSVolumeSet.getCapacity(FSDataset.java:411)
>         at org.apache.hadoop.dfs.FSDataset.getCapacity(FSDataset.java:544)
>         at org.apache.hadoop.dfs.DataNode.offerService(DataNode.java:588)
>         at org.apache.hadoop.dfs.DataNode.run(DataNode.java:2429)
>         at java.lang.Thread.run(Thread.java:595)
>
>
> please give me solutino
>
> regards
> praveen jian
>

Mime
View raw message