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
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
>
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
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
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
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 =