Re: Not able to update jar

2014-10-10 Thread Patcharee Thongtra
I am using hadoop 2.2.0 Patcharee On 10/10/2014 02:21 PM, Ted Yu wrote: Which Hadoop release are you using ? Cheers On Oct 10, 2014, at 5:09 AM, Patcharee Thongtra mailto:patcharee.thong...@uni.no>> wrote: Yes I meant "hadoop jar myjar.jar package.classname arg0 arg1", but

Re: Not able to update jar

2014-10-10 Thread Patcharee Thongtra
10, 2014 at 7:42 AM, Patcharee Thongtra mailto:patcharee.thong...@uni.no>> wrote: Hi, I am not able to update my jar, it seems it has been cached somewhere I run "hadoop -jar myjar.jar arg0 arg1" How can I fix this? Patcharee -- Thanks and Regards, VIVEK KOUL

Not able to update jar

2014-10-10 Thread Patcharee Thongtra
Hi, I am not able to update my jar, it seems it has been cached somewhere I run "hadoop -jar myjar.jar arg0 arg1" How can I fix this? Patcharee

Re: copyFromLocal: unexpected URISyntaxException

2014-04-28 Thread Patcharee Thongtra
Hi, I tried to put escape chars around it, but it does not work. Patcharee On 04/28/2014 11:45 AM, Nitin Pawar wrote: try putting escape chars around it On Mon, Apr 28, 2014 at 2:52 PM, Patcharee Thongtra mailto:patcharee.thong...@uni.no>> wrote: Hi, My file name co

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 u

Number of map task

2014-04-11 Thread Patcharee Thongtra
Hi, I wrote a custom InputFormat. When I ran the pig script Load function using this InputFormat, the number of InputSplit > 1, but there was only 1 map task handling these splits. Does the number of Map task not correspond to the number of splits? I think the job will be done quicker if the

Re: InputFormat and InputSplit - Network location name contains /:

2014-04-11 Thread Patcharee Thongtra
-common/blob/release-2.4.0/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/input/FileSplit.java. Look for the Writable method overrides in particular to understand how to use custom fields. On Thu, Apr 10, 2014 at 9:54 PM

InputFormat and InputSplit - Network location name contains /:

2014-04-10 Thread Patcharee Thongtra
Hi, I wrote a custom InputFormat and InputSplit to handle netcdf file. I use with a custom pig Load function. When I submitted a job by running a pig script. I got an error below. From the error log, the network location name is "hdfs://service-1-0.local:8020/user/patcharee/netcdf_data/wrfout