Advertisement
Guest User

xml

a guest
Dec 14th, 2019
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. <workflow-app xmlns="uri:oozie:workflow:0.1" name="WordCountTest">
  2. <start to="intersection0" />
  3. <action name="intersection0">
  4. <map-reduce>
  5. <job-tracker>quickstart.cloudera:8032</job-tracker>
  6. <name-node>hdfs://quickstart.cloudera:8020</name-node>
  7. <prepare>
  8. <delete path="hdfs://localhost:8020/user/cloudera/coba/innerJoin/out"/>
  9. </prepare>
  10. <configuration>
  11. <property>
  12. <name>mapred.job.queue.name</name>
  13. <value>default</value>
  14. </property>
  15. <property>
  16. <name>mapred.mapper.new-api</name>
  17. <value>true</value>
  18. </property>
  19. <property>
  20. <name>mapred.reducer.new-api</name>
  21. <value>true</value>
  22. </property>
  23. <property>
  24. <name>mapreduce.map.class</name>
  25. <value>org.apache.hadoop.mapreduce.lib.input.DelegatingMapper</value>
  26. </property>
  27. <property>
  28. <name>mapreduce.reduce.class</name>
  29. <value>edu.stts.bigdata.InnerJoinReducer</value>
  30. </property>
  31. <property>
  32. <name>mapred.output.key.class</name>
  33. <value>org.apache.hadoop.io.Text</value>
  34. </property>
  35. <property>
  36. <name>mapred.output.value.class</name>
  37. <value>org.apache.hadoop.io.Text</value>
  38. </property>
  39. <property>
  40. <name>mapreduce.inputformat.class</name>
  41. <value>org.apache.hadoop.mapreduce.lib.input.DelegatingInputFormat</value>
  42. </property>
  43. <property>
  44. <name>mapred.outputformat.class</name>
  45. <value>org.apache.hadoop.mapreduce.lib.output.TextOutputFormat</value>
  46. </property>
  47. <property>
  48. <name>mapreduce.input.multipleinputs.dir.formats</name>
  49. <value>/user/cloudera/innerJoin/in;org.apache.hadoop.mapreduce.lib.input.TextInputFormat,/user/cloudera/innerJoin/in2;org.apache.hadoop.mapreduce.lib.input.TextInputFormat</value>
  50. </property>
  51. <property>
  52. <name>mapreduce.input.multipleinputs.dir.mappers</name>
  53. <value>/user/cloudera/innerJoin/in;edu.stts.bigdata.CustomerMapper,/user/cloudera/innerJoin/in2;edu.stts.bigdata.OrderMapper</value>
  54. </property>
  55. <property>
  56. <name>mapred.output.dir</name>
  57. <value>/user/cloudera/innerJoin/out</value>
  58. </property>
  59. </configuration>
  60. </map-reduce>
  61. <ok to="end"/>
  62. <error to="fail" />
  63. </action>
  64. <kill name="fail" >
  65. <message>Map/Reduce Failed</message>
  66. </kill>
  67. <end name="end" />
  68. </workflow-app>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement