copyFromLocal: unexpected URISyntaxException

2014-04-28 Thread Patcharee Thongtra
Hi, My file name contains : and I got error copyFromLocal: unexpected URISyntaxException when I try to copy this file to Hadoop. See below. [patcharee@compute-1-0 ~]$ hadoop fs -copyFromLocal wrfout_d01_2001-01-01_00:00:00 netcdf_data/ copyFromLocal: unexpected URISyntaxException I am

Re: copyFromLocal: unexpected URISyntaxException

2014-04-28 Thread Nitin Pawar
try putting escape chars around it On Mon, Apr 28, 2014 at 2:52 PM, Patcharee Thongtra patcharee.thong...@uni.no wrote: Hi, My file name contains : and I got error copyFromLocal: unexpected URISyntaxException when I try to copy this file to Hadoop. See below. [patcharee@compute-1-0

Re: copyFromLocal: unexpected URISyntaxException

2014-04-28 Thread Patcharee Thongtra
file name contains : and I got error copyFromLocal: unexpected URISyntaxException when I try to copy this file to Hadoop. See below. [patcharee@compute-1-0 ~]$ hadoop fs -copyFromLocal wrfout_d01_2001-01-01_00:00:00 netcdf_data/ copyFromLocal: unexpected URISyntaxException I

Re: copyFromLocal: unexpected URISyntaxException

2014-04-28 Thread Harsh J
Pawar wrote: try putting escape chars around it On Mon, Apr 28, 2014 at 2:52 PM, Patcharee Thongtra patcharee.thong...@uni.no wrote: Hi, My file name contains : and I got error copyFromLocal: unexpected URISyntaxException when I try to copy this file to Hadoop. See below. [patcharee

possible to change replication factor at file creation time (with copyFromLocal)?

2013-05-31 Thread Julian Bui
it difficult waiting for large data sets to copy over. I am currently doing: hadoop dfs -copyFromLocal /copy/from/path/ input and am wondering if it's possible to also specify something like -setrep on the same line. -setsrep requires you to specify the file, which implies that it has to exist

Re: possible to change replication factor at file creation time (with copyFromLocal)?

2013-05-31 Thread Harsh J
Hi Julian, Yes, dfs subcommand accepts config overrides via -D. Just do hadoop dfs -Ddfs.replication=X -copyFromLocal …. On Fri, May 31, 2013 at 10:27 PM, Julian Bui julian...@gmail.com wrote: Hi hadoop users, I am aware that you can set the replication factor of a file after it's been

Re: possible to change replication factor at file creation time (with copyFromLocal)?

2013-05-31 Thread Julian Bui
there you are again! thanks! On Fri, May 31, 2013 at 10:03 AM, Harsh J ha...@cloudera.com wrote: Hi Julian, Yes, dfs subcommand accepts config overrides via -D. Just do hadoop dfs -Ddfs.replication=X -copyFromLocal …. On Fri, May 31, 2013 at 10:27 PM, Julian Bui julian...@gmail.com wrote

copyFromLocal: File does not exist.

2012-10-09 Thread Bai Shen
I have a CDH3 cluster up and running. I'm on the namenode and trying to copy a file into HDFS. However, whenever I run copyFromLocal, I get a file does not exist error. [root@node1-0 ~]# sudo -u hdfs hadoop fs -copyFromLocal /root/url.txt / copyFromLocal: File /root/url.txt does not exist

Re: copyFromLocal: File does not exist.

2012-10-09 Thread Arpit Gupta
have a CDH3 cluster up and running. I'm on the namenode and trying to copy a file into HDFS. However, whenever I run copyFromLocal, I get a file does not exist error. [root@node1-0 ~]# sudo -u hdfs hadoop fs -copyFromLocal /root/url.txt / copyFromLocal: File /root/url.txt does not exist

Re: copyFromLocal: File does not exist.

2012-10-09 Thread Bai Shen
. http://hortonworks.com/ On Oct 9, 2012, at 11:40 AM, Bai Shen baishen.li...@gmail.com wrote: I have a CDH3 cluster up and running. I'm on the namenode and trying to copy a file into HDFS. However, whenever I run copyFromLocal, I get a file does not exist error. [root@node1-0

Re: copyFromLocal: File does not exist.

2012-10-09 Thread Zhiwei Lin
use ls -l to check if hdfs has the right to access url.txt. On 9 October 2012 19:40, Bai Shen baishen.li...@gmail.com wrote: I have a CDH3 cluster up and running. I'm on the namenode and trying to copy a file into HDFS. However, whenever I run copyFromLocal, I get a file does not exist

Re: copyFromLocal

2012-10-05 Thread Visioner Sadak
to upload to hdfs using web On Thu, Oct 4, 2012 at 10:45 PM, Bejoy KS bejoy.had...@gmail.com wrote: Hi Sadak If you are issuing copyFromLocal from a client/edge node you can copy the files available in the client's lfs to hdfs in cluster. The client/edge node could be a box that has all

Re: copyFromLocal

2012-10-04 Thread Bejoy KS
Hi Sadak If you are issuing copyFromLocal from a client/edge node you can copy the files available in the client's lfs to hdfs in cluster. The client/edge node could be a box that has all the hadoop jars and config files exactly same as that of the cluster and the cluster nodes should

Re: CopyFromLocal

2012-05-22 Thread Ranjith
/current/distcp.html An 'fs -copyFromLocal' otherwise just runs as a single program that connects to your DFS nodes and writes data from a single client thread, and is not distributed on its own. On Tue, May 22, 2012 at 6:48 AM, Ranjith ranjith.raghuna...@gmail.com wrote: I have always

CopyFromLocal

2012-05-21 Thread Ranjith
I have always wondered about this and and not sure as to phenomenon. When I fire a map reduce job to copy data over in a distributed fashion I would expect to see mappers executing the copy. What happens with a copy command from Hadoop fs? Thanks, Ranjith

Re: CopyFromLocal

2012-05-21 Thread Ranjith
://hadoop.apache.org/common/docs/current/distcp.html An 'fs -copyFromLocal' otherwise just runs as a single program that connects to your DFS nodes and writes data from a single client thread, and is not distributed on its own. On Tue, May 22, 2012 at 6:48 AM, Ranjith ranjith.raghuna...@gmail.com

Re: bin/hadoop fs -copyFromLocal fails when 1 datanode download

2012-01-08 Thread TS chia
was able to 3 datanode running and working. I purposefully shutdown one datanode and execute bin/hadoop fs -copyFromLocal ../hadoop.sh /user/coka/somedir/slave02-datanodeDown to see what happen. The execution fails with the exception below. Why it is so ? Thanks in advance. Cheers TS

Re: bin/hadoop fs -copyFromLocal fails when 1 datanode download

2012-01-05 Thread Bejoy Ks
. Regards Bejoy.K.S On Thu, Jan 5, 2012 at 9:53 PM, TS chia the.ts.c...@gmail.com wrote: Hi All, I am new to Hadoop. I was able to 3 datanode running and working. I purposefully shutdown one datanode and execute bin/hadoop fs -copyFromLocal ../hadoop.sh /user/coka/somedir/slave02-datanodeDown

Re: bin/hadoop fs -copyFromLocal fails when 1 datanode download

2012-01-05 Thread James Warren
datanode and execute bin/hadoop fs -copyFromLocal ../hadoop.sh /user/coka/somedir/slave02-datanodeDown to see what happen. The execution fails with the exception below. Why it is so ? Thanks in advance. Cheers TS 12/01/05 15:41:40 INFO hdfs.DFSClient: Exception in createBlockOutputStream

Re: Hadoop java mapper -copyFromLocal heap size error

2011-09-26 Thread Joris Poort
-copyFromLocal heap size error To: mapreduce-user mapreduce-user@hadoop.apache.org As part of my Java mapper I have a command executes some code on the local node and copies a local output file to the hadoop fs. Unfortunately I'm getting the following output:    Error occurred during

Re: Hadoop java mapper -copyFromLocal heap size error

2011-09-25 Thread Uma Maheswara Rao G 72686
the mapred.map.child.java.opts to 256 , if your map task can exeute with that memory. Regards, Uma - Original Message - From: Joris Poort gpo...@gmail.com Date: Saturday, September 24, 2011 5:50 am Subject: Hadoop java mapper -copyFromLocal heap size error To: mapreduce-user mapreduce

Hadoop java mapper -copyFromLocal heap size error

2011-09-23 Thread Joris Poort
mapred.map.child.java.opts to -Xmx512M, but unfortunately no luck. When I ssh into the node, I can run the -copyFromLocal command without any issues. The ouput files are also quite small like around 100kb. Any help would be greatly appreciated! Cheers, Joris

executing dfs copyFromLocal, rm, ... synchronously? i.e. wait until done?

2011-06-20 Thread Dieter Plaetinck
Hi, if I simplify my code, I basically do this: hadoop dfs -rm -skipTrash $file hadoop dfs -copyFromLocal - $local $file (the removal is needed because I run a job but previous input/output may exist, so I need to delete it first, as -copyFromLocal does not support overwrite) During the 2nd

Re: Query regarding internal/working of hadoop fs -copyFromLocal and fs.write()

2011-06-03 Thread Florin P
...@cloudera.com Subject: Re: Query regarding internal/working of hadoop fs -copyFromLocal and fs.write() To: mapreduce-u...@hadoop.apache.org Cc: hdfs-user@hadoop.apache.org, cdh-u...@cloudera.org Date: Tuesday, May 31, 2011, 8:05 PM They write directly to HDFS, there's no additional buffering

Re: Query regarding internal/working of hadoop fs -copyFromLocal and fs.write()

2011-06-03 Thread Harsh J
answers. I would like to hear more opinions that will finally clarify this subject.  Thank you.  Florin --- On Tue, 5/31/11, Joey Echeverria j...@cloudera.com wrote: From: Joey Echeverria j...@cloudera.com Subject: Re: Query regarding internal/working of hadoop fs -copyFromLocal

Query regarding internal/working of hadoop fs -copyFromLocal and fs.write()

2011-05-31 Thread Mapred Learn
Hi guys, I asked this question earlier but did not get any response. So, posting again. Hope somebody can point to the right description: When you do hadoop fs -copyFromLocal or use API to call fs.write() (when Filesystem fs is HDFS), does it write to local filesystem first before writing to HDFS

Re: Query regarding internal/working of hadoop fs -copyFromLocal and fs.write()

2011-05-31 Thread Joey Echeverria
point to the right description: When you do hadoop fs -copyFromLocal or use API to call fs.write() (when Filesystem fs is HDFS), does it write to local filesystem first before writing to HDFS ? I read and found out that it writes on local file-system until block-size is reached and then writes

hadoop dfs -copyFromLocal ??

2011-04-25 Thread praveenesh kumar
Hi, I am learning hadoop. Whenever we use hadoop dfs -copyFromLocal input-file name output-file name I assume the file is copied from linux file system to hadoop file system However the output of the command shows us that file is somewhere stored in /user/hadoop/* But if we search it from

Re: atomicity of copyFromLocal

2011-03-01 Thread Ishaaq Chandy
always worked for me... Take care, -stu -- *From: * Ishaaq Chandy ish...@gmail.com *Date: *Tue, 1 Mar 2011 15:22:24 +1100 *To: *hdfs-user@hadoop.apache.org *ReplyTo: * hdfs-user@hadoop.apache.org *Subject: *atomicity of copyFromLocal Hi all, How atomic

Re: atomicity of copyFromLocal

2011-03-01 Thread stu24mail
- From: Ishaaq Chandy ish...@gmail.com Date: Wed, 2 Mar 2011 08:16:08 To: hdfs-user@hadoop.apache.org; stu24m...@yahoo.com Reply-To: hdfs-user@hadoop.apache.org Subject: Re: atomicity of copyFromLocal Thanks Stu, That is what I suspected but was hoping was not the case. The rename fix is simple

atomicity of copyFromLocal

2011-02-28 Thread Ishaaq Chandy
Hi all, How atomic is the copyFromLocal call? i.e. on process is in the midst of uploading a file to HDFS is it possible for another process to start reading it before the upload is complete? I am currently safeguarding my code from this possibility by uploading it to a temporary directory

Re: atomicity of copyFromLocal

2011-02-28 Thread stu24mail
@hadoop.apache.org Subject: atomicity of copyFromLocal Hi all, How atomic is the copyFromLocal call? i.e. on process is in the midst of uploading a file to HDFS is it possible for another process to start reading it before the upload is complete? I am currently safeguarding my code from this possibility

Re: Problem in copyFromLocal

2010-09-10 Thread leibnitz
is it running in safemode?hadoop wil run in this case when start for a moment. -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-in-copyFromLocal-tp1446688p1453684.html Sent from the Hadoop lucene-users mailing list archive at Nabble.com.

Re: Problem in copyFromLocal

2010-09-10 Thread Medha Atre
and they were running fine. Here's the failure and its configuration: config: 1 exclusive master, 2 slaves. dfs.replication set to 2 in hdfs-site.xml. The datanodes were started without any errors, but when I ran the -copyFromLocal command one of the datanodes threw following exceptions (IP address' first

Problem in copyFromLocal

2010-09-09 Thread Medha Atre
, DataNode, and TaskTrackers get started without any problem and jps shows them running to. I can format the DFS space without any problems. But when I try to use -copyFromLocal command, it fails with the following exception: 2010-09-09 05:54:04,216 INFO org.apache.hadoop.ipc.Server: IPC Server handler 2

Problem in copyFromLocal

2010-09-09 Thread Medha Atre
) with Hadoop-0.20 and Hadoop-0.21. I keep facing one problem intermittently: My NameNode, JobTracker, DataNode, and TaskTrackers get started without any problem and jps shows them running to. I can format the DFS space without any problems. But when I try to use -copyFromLocal command, it fails

Re: Problem in copyFromLocal

2010-09-09 Thread Jeff Zhang
and jps shows them running to. I can format the DFS space without any problems. But when I try to use -copyFromLocal command, it fails with the following exception: 2010-09-09 05:54:04,216 INFO org.apache.hadoop.ipc.Server: IPC Server handler 2 on 54310, call addBlock(/user/hadoop/multinode

Re: Problem in copyFromLocal

2010-09-09 Thread Zhang Jianfeng
running to. I can format the DFS space without any problems. But when I try to use -copyFromLocal command, it fails with the following exception: 2010-09-09 05:54:04,216 INFO org.apache.hadoop.ipc.Server: IPC Server handler 2 on 54310, call addBlock(/user/hadoop/multinode/advsh12.txt

Re: Problem in copyFromLocal

2010-09-09 Thread Medha Atre
one problem intermittently: My NameNode, JobTracker, DataNode, and TaskTrackers get started without any problem and jps shows them running to. I can format the DFS space without any problems. But when I try to use -copyFromLocal command, it fails with the following exception: 2010-09

confused about copyFromLocal...

2009-03-07 Thread zander1013
the error from dfs... had...@node0:/usr/local/hadoop$ bin/hadoop dfs -copyFromLocal /tmp/gutenberg gutenberg/ copyFromLocal: Target gutenberg/gutenberg is a directory ... i am pretty sure that this result is because of some artifact from when i ran the test for the machines as single nodes combined

copyFromLocal *

2009-02-09 Thread S D
I'm using the Hadoop FS shell to move files into my data store (either HDFS or S3Native). I'd like to use wildcard with copyFromLocal but this doesn't seem to work. Is there any way I can get that kind of functionality? Thanks, John

Re: copyFromLocal *

2009-02-09 Thread lohit
Which version of hadoop are you using. I think from 0.18 or 0.19 copyFromLocal accepts multiple files as input but destination should be a directory. Lohit - Original Message From: S D sd.codewarr...@gmail.com To: Hadoop Mailing List core-user@hadoop.apache.org Sent: Monday, February

Re: dfs copyFromLocal/put fails

2008-07-11 Thread Shengkai Zhu
Firewall problem or you need entries into /etc/hosts On 6/18/08, Alexander Arimond [EMAIL PROTECTED] wrote: hi, i'm new in hadoop and im just testing it at the moment. i set up a cluster with 2 nodes and it seems like they are running normally, the log files of the namenode and the

copyFromLocal strangeness

2008-05-06 Thread Bo Shi
) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:379) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:596) I was wondering if anyone could offer some insight as to possible causes for this. Only one process was attempting to use copyFromLocal

Difference between put and copyFromLocal?

2008-02-07 Thread Ben Kucinich
In bin/hadoop dfs command I find these two options which seems similar to me. [-put localsrc dst] [-copyFromLocal localsrc dst] Is there any difference between -put command and -copyFromLocal command? Similarly what is the difference between -get command and -copyToLocal?