Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Pig Wiki" for change 
notification.

The "NativeMapReduce" page has been changed by Aniket Mokashi.
http://wiki.apache.org/pig/NativeMapReduce?action=diff&rev1=10&rev2=11

--------------------------------------------------

  == Introduction ==
  Pig needs to provide a way to natively run map reduce jobs written in java 
language.
  There are some advantages of this-
-  1. The advantages of the ''mapreduce'' keyword are that the user need not be 
worried about coordination between the jobs, pig will take care of it.
+  1. The advantages of the ''mapreduce'' statement are that the user need not 
be worried about coordination between the jobs, pig will take care of it.
   2. User can make use of existing java applications without being a java 
programmer.
  
  == Syntax ==
@@ -25, +25 @@

  
  params are extra parameters required for native mapreduce job.
  
- mymr.jar is any mapreduce jar file which can be run through '''"hadoop -jar 
mymr.jar params"''' command. Thus, the contract for ''inputLocation'' and 
''outputLocation'' is typically managed through ''params''. 
+ mymr.jar is any mapreduce jar file which can be run through '''"hadoop jar 
mymr.jar params"''' command. Thus, the contract for ''inputLocation'' and 
''outputLocation'' is typically managed through ''params''. 
  
  For Example, to run wordcount mapreduce program from Pig, we write
  {{{

Reply via email to