Re: write files to HDFS under windows enviroment

2008-01-21 Thread Ryan Wang
bin/hadoop dfs -copyFromLocal (Command Line) or read the hadop wiki (Programming) On Jan 21, 2008 3:31 PM, wang daming <[EMAIL PROTECTED]> wrote: > I have setup the HDFS cluster under linux enviroment, but I need write > files to the DFS from windows application, how can I achieve this? thanks

Re: Any one can tell me about how to write to HDFS?

2007-12-01 Thread Ryan Wang
tFile = new Path("/ryan/test");' > also check if there is any usefule message on Namenode log. > > Raghu. > > Ryan Wang wrote: > > Hope this version can attract other's attention > > > > Hadoop Version: 0.15.0 > > JDK version: Sun JDK 6.0.3 >

Re: Any one can tell me about how to write to HDFS?

2007-11-30 Thread Ryan Wang
t; > > > > dfs.name.dir > /nutch/hdfs/name > > > > dfs.data.dir > /nutch/hdfs/data > > > > mapred.system.dir > /nutch/hdfs/mapreduce/system > > > > mapred.local.dir > /nutch/hdfs/mapreduce/local > > > > dfs.r

Re: Any one can tell me about how to write to HDFS?

2007-11-30 Thread Ryan Wang
r /nutch/hdfs/name dfs.data.dir /nutch/hdfs/data mapred.system.dir /nutch/hdfs/mapreduce/system mapred.local.dir /nutch/hdfs/mapreduce/local dfs.replication 1 On Nov 30, 2007 10:57 PM, Arun C Murthy <[EMAIL PROTECTED]> wrote: > Ryan, > > On Fri, Nov 30, 2007 a

Any one can tell me about how to write to HDFS?

2007-11-30 Thread Ryan Wang
Hi, I can communicate with the file system via shell command, and it worked corretly. But when I try to write program to write file to the file system, it failed. public class HadoopDFSFileReadWrite { public static void main(String[] argv) throws IOException { Configuration dfsconf

what is the datanode's default port?

2007-11-29 Thread Ryan Wang
Hi, I wrote a short Program on Hadoop Reading and Writing. I want to read a local file and write it to the hadoop. The code is below: public class HadoopDFSFileReadWrite { public static void main(String[] argv) throws IOException { Configuration conf = new Configuration(); FileSystem fs =