index.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html
  3. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html lang="en-us" xml:lang="en-us">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  7. <link rel="stylesheet" type="text/css" href="commonltr.css"/>
  8. <title>Job Browser</title>
  9. </head>
  10. <body id="topic_7"><a name="topic_7"><!-- --></a>
  11. <h1 class="title topictitle1">Job Browser </h1>
  12. <div class="body conbody">
  13. <p class="p" id="topic_7__p_65"><a name="topic_7__p_65"><!-- --></a>
  14. The Job Browser application lets you to examine the Hadoop MapReduce jobs running on your Hadoop cluster. Job
  15. Browser presents the job and tasks in layers. The top layer is a list of jobs, and you can link to a list of that
  16. job's tasks. You can then view a task's attempts and the properties of each attempt, such as state, start and end
  17. time, and output size. To troubleshoot failed jobs, you can also view the logs of each attempt.
  18. </p>
  19. </div>
  20. <div class="topic concept nested1" xml:lang="en-US" lang="en-US" id="topic_7_1"><a name="topic_7_1"><!-- --></a>
  21. <h2 class="title topictitle2">
  22. Job Browser Installation and Configuration
  23. </h2>
  24. <div class="body conbody">
  25. <p class="p">Job Browser is one of the applications installed as part of Hue. <span class="ph">For information about installing and configuring Hue,
  26. see Hue Installation in <a class="xref" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Installation-Guide/CDH4-Installation-Guide.html" target="_blank">http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Installation-Guide/CDH4-Installation-Guide.html</a>.</span></p>
  27. <p class="p">Job Browser can display both MRv1 and MRv2 jobs, but must be configured
  28. to display one type at a time. See MapReduce (MRv1) and YARN (MRv2) Cluster Configuration in
  29. <a class="xref" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Installation-Guide/CDH4-Installation-Guide.html" target="_blank">CDH4
  30. Installation</a>.</p>
  31. </div>
  32. </div>
  33. <div class="topic concept nested1" xml:lang="en-US" lang="en-US" id="topic_7_2"><a name="topic_7_2"><!-- --></a>
  34. <h2 class="title topictitle2">
  35. Starting Job Browser
  36. </h2>
  37. <div class="body conbody">
  38. <p class="p">Click the <strong class="ph b">Job Browser</strong> icon (<img class="image" src="/static/art/help/icon_jobbrowser_24.png"/>) in the navigation bar at the top of the Hue web page. </p>
  39. <p class="p">
  40. If there are no jobs that have been run, the <strong class="ph b">Welcome to the Job Browser</strong> page opens, with links to the Job
  41. Designer and Beeswax.
  42. </p>
  43. <p class="p" id="topic_7_2__p_67"><a name="topic_7_2__p_67"><!-- --></a>
  44. If there are jobs running, then the Job Browser list appears.
  45. </p>
  46. </div>
  47. </div>
  48. <div class="topic concept nested1" xml:lang="en-US" lang="en-US" id="topic_7_3"><a name="topic_7_3"><!-- --></a>
  49. <h2 class="title topictitle2">
  50. Filtering the Job Browser List
  51. </h2>
  52. <div class="body conbody">
  53. <ul class="ul">
  54. <li class="li">To filter the jobs by their state (such as <strong class="ph b">Running</strong> or <strong class="ph b">Completed</strong>), choose a state from the <strong class="ph b">Job status</strong> drop-down menu.</li>
  55. <li class="li">To filter by a user who ran the jobs, enter the user's name in the <strong class="ph b">User Name</strong> query box.</li>
  56. <li class="li">To filter by job name, enter the name in the <strong class="ph b">Text</strong> query box.</li>
  57. <li class="li">To clear the filters, choose <strong class="ph b">All States</strong> from the <strong class="ph b">Job status</strong> drop-down menu and delete any text in the <strong class="ph b">User Name</strong> and <strong class="ph b">Text</strong> query boxes.</li>
  58. <li class="li" id="topic_7_3__li_68"><a name="topic_7_3__li_68"><!-- --></a>To display retired jobs, check the <strong class="ph b">Show retired jobs</strong> checkbox. Retired jobs show somewhat limited information – for example, information on maps and reduces and job duration is not available. Jobs are designated as Retired by the JobTracker based on the value of <samp class="ph codeph">mapred.jobtracker.retirejob.interval</samp>. The retired jobs no longer display after the JobTracker is restarted.</li>
  59. </ul>
  60. </div>
  61. </div>
  62. <div class="topic concept nested1" xml:lang="en-US" lang="en-US" id="topic_7_4"><a name="topic_7_4"><!-- --></a>
  63. <h2 class="title topictitle2">
  64. Viewing Job Information and Logs
  65. </h2>
  66. <div class="body conbody">
  67. <div class="note note"><span class="notetitle"><img src="/static/art/help/note.jpg"/> 
  68. <b>Note</b>:</span> At any level you can view the log for an object by clicking the
  69. <a name="topic_7_4__image_ym1_fy5_wj"><!-- --></a><img class="image" id="topic_7_4__image_ym1_fy5_wj" src="/static/art/help/log.png"/> icon in the Logs column. </div>
  70. <p class="p">
  71. <strong class="ph b">To view job information for an individual job:</strong>
  72. </p>
  73. <ol class="ol">
  74. <li class="li">In the <strong class="ph b">Job Browser</strong> window, click <strong class="ph b">View</strong> at the right of the job you want to view.
  75. This shows the <strong class="ph b">Job</strong> page for the job, with the recent tasks associated with the job are displayed in the <strong class="ph b">Tasks</strong> tab.</li>
  76. <li class="li">Click the <strong class="ph b">Metadata</strong> tab to view the metadata for this job.</li>
  77. <li class="li">Click the <strong class="ph b">Counters</strong> tab to view the counter metrics for the job.</li>
  78. </ol>
  79. <p class="p">
  80. <strong class="ph b">To view details about the tasks associated with the job:</strong>
  81. </p>
  82. <ol class="ol">
  83. <li class="li">In the <strong class="ph b">Job</strong> window, click the <strong class="ph b">View All Tasks</strong> link at the right just above the <strong class="ph b">Recent Tasks</strong> list.
  84. This lists all the tasks associated with the job.</li>
  85. <li class="li">Click <strong class="ph b">Attempts</strong> to the right of a task to view the attempts for that task.</li>
  86. </ol>
  87. <p class="p">
  88. <strong class="ph b">To view information about an individual task:</strong>
  89. </p>
  90. <ol class="ol">
  91. <li class="li">In the <strong class="ph b">Job</strong> window, click the <strong class="ph b">View</strong> link to the right of the task.
  92. The attempts associated with the task are displayed.</li>
  93. <li class="li">Click the <strong class="ph b">Metadata</strong> tab to view metadata for this task.
  94. The metadata associated with the task is displayed.</li>
  95. <li class="li">To view the Hadoop counters for a task, click the <strong class="ph b">Counters</strong> tab.
  96. The counters associated with the task are displayed.</li>
  97. <li class="li">To return to the <strong class="ph b">Job</strong> window for this job, click the job number in the status panel at the left of the window.</li>
  98. </ol>
  99. <p class="p">
  100. <strong class="ph b">To view details about a task attempt:</strong>
  101. </p>
  102. <ol class="ol">
  103. <li class="li">In the <strong class="ph b">Job Task</strong> window, click the <strong class="ph b">View</strong> link to the right of the task attempt.
  104. The metadata associated with the attempt is displayed under the <strong class="ph b">Metadata</strong> tab.</li>
  105. <li class="li">To view the Hadoop counters for the task attempt, click the <strong class="ph b">Counters</strong> tab.
  106. The counters associated with the attempt are displayed.</li>
  107. <li class="li">To view the logs associated with the task attempt, click the <strong class="ph b">Logs</strong> tab.
  108. The logs associated with the task attempt are displayed.</li>
  109. <li class="li" id="topic_7_4__li_69"><a name="topic_7_4__li_69"><!-- --></a>To return to the list of tasks for the current job, click the task number in the status panel at the left of the window.</li>
  110. </ol>
  111. </div>
  112. </div>
  113. <div class="topic concept nested1" xml:lang="en-US" lang="en-US" id="topic_7_5"><a name="topic_7_5"><!-- --></a>
  114. <h2 class="title topictitle2">
  115. Viewing Job Output
  116. </h2>
  117. <div class="body conbody">
  118. <ol class="ol">
  119. <li class="li">In the <strong class="ph b">Job Browser</strong> window, click the link in the ID column.</li>
  120. <li class="li">To view the output of the job, click the link under <strong class="ph b">OUTPUT</strong> in the panel at the left of the window.
  121. This takes you to the job output directory in the <strong class="ph b">File Browser</strong>.</li>
  122. </ol>
  123. </div>
  124. </div>
  125. </body>
  126. </html>