Hi Elton,
Can you mention the hadoop version? Also, can you double-check if you set
"fs.default.name" property correctly in conf/hdfs-site.xml?
-Chaitanya.
On Thu, Jun 24, 2010 at 12:12 PM, elton sky wrote:
> Hi,
> I am new to hadoop programming. I am trying to copy a local file to HDFS.
> M
Hi,
I am new to hadoop programming. I am trying to copy a local file to HDFS. My
code snippet is:
.
.
Configuration conf = new Configuration();
InputStream in=null;
OutputStream out = null;
try {
in = new BufferedInputStream(new FileInputStream(src));