index.html 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <h1><a name="JobBrowser-IntroducingJobBrowser"></a>Introducing Job Browser</h1>
  2. <p>The Job Browser application lets you to examine the Hadoop MapReduce jobs running on your Hadoop cluster. Job 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 job's tasks. You can then view a task's attempts and the properties of each attempt, such as state, start and end time, and output size. To troubleshoot failed jobs, you can also view the logs of each attempt.</p>
  3. <h2><a name="JobBrowser-Contents"></a>Contents</h2>
  4. <style type='text/css'>/*<![CDATA[*/
  5. div.rbtoc1347648975019 {margin-left: 1.5em;padding: 0px;}
  6. div.rbtoc1347648975019 ul {margin-left: 0px;padding-left: 20px;}
  7. div.rbtoc1347648975019 li {margin-left: 0px;padding-left: 0px;}
  8. /*]]>*/</style><div class='rbtoc1347648975019'>
  9. <ul>
  10. <li><a href='#JobBrowser-IntroducingJobBrowser'>Introducing Job Browser</a></li>
  11. <li><a href='#JobBrowser-JobBrowserInstallationandConfiguration'>Job Browser Installation and Configuration</a></li>
  12. <li><a href='#JobBrowser-StartingJobBrowser'>Starting Job Browser</a></li>
  13. <li><a href='#JobBrowser-FilteringtheJobBrowserList'>Filtering the Job Browser List</a></li>
  14. <li><a href='#JobBrowser-ViewingJobInformationandLogs'>Viewing Job Information and Logs</a></li>
  15. <li><a href='#JobBrowser-ViewingJobOutput'>Viewing Job Output</a></li>
  16. </ul></div>
  17. <p><br class="atl-forced-newline" />
  18. <a name="JobBrowser-JobBrowserInstallationandConfiguration"></a></p>
  19. <h1><a name="JobBrowser-JobBrowserInstallationandConfiguration"></a>Job Browser Installation and Configuration</h1>
  20. <p>Job Browser is one of the applications that is installed as part of Hue. For more information about installing Hue, see <a href="https://ccp.cloudera.com/display/CDHDOC/Hue+Installation">Hue Installation</a>.</p>
  21. <p>By default, a JobBrowser user can see submitted job information for all users &#8211; both his/her own jobs and those of other users. If this behavior is not desirable, you can change the value of the <tt>share_jobs</tt> property under the <tt>[jobbrowser]</tt> section in the <tt>etc/hue/hue.ini</tt> file. Setting this property to <tt>false</tt> will restrict the viewing of submitted jobs to only the job submitter and Hue administrators.
  22. <br class="atl-forced-newline" />
  23. <br class="atl-forced-newline" /></p>
  24. <p><a name="JobBrowser-StartingJobBrowser"></a></p>
  25. <h1><a name="JobBrowser-StartingJobBrowser"></a>Starting Job Browser</h1>
  26. <p>To start Job Browser, click the <b>Job Browser</b> icon ( <span class="image-wrap" style=""><img src="/jobbrowser/static/help/images/21103323.png" height="26" style="border: 0px solid black"/></span> ) in the navigation bar at the top of the Hue web page.</p>
  27. <p>If there are no jobs that have been run, the <b>Welcome to the Job Browser</b> page opens, with links to the Job Designer and Beeswax.</p>
  28. <p>If there are jobs running, then the Job Browser list appears.
  29. <br class="atl-forced-newline" />
  30. <br class="atl-forced-newline" /></p>
  31. <p><a name="JobBrowser-FilteringtheJobBrowserList"></a></p>
  32. <h1><a name="JobBrowser-FilteringtheJobBrowserList"></a>Filtering the Job Browser List</h1>
  33. <p><b>To filter the jobs displayed in the Job Browser list:</b></p>
  34. <ul>
  35. <li>To filter the jobs by their state (such as <b>Running</b> or <b>Completed</b>), choose a state from the <b>Job status</b> drop-down menu.
  36. <br class="atl-forced-newline" /></li>
  37. <li>To filter by a user who ran the jobs, enter the user's name in the <b>User Name</b> query box.
  38. <br class="atl-forced-newline" /></li>
  39. <li>To filter by job name, enter the name in the <b>Text</b> query box.
  40. <br class="atl-forced-newline" /></li>
  41. <li>To clear the filters, choose <b>All States</b> from the <b>Job status</b> drop-down menu and delete any text in the <b>User Name</b> and <b>Text</b> query boxes.&nbsp;</li>
  42. <li>To display retired jobs, check the <b>Show retired jobs</b>&nbsp;checkbox.&nbsp;Retired jobs show somewhat limited information &#8211; for example, information on maps and reduces and job duration is not available. Jobs are designated as&nbsp;Retired by the JobTracker based on the value of <tt>mapred.jobtracker.retirejob.interval</tt>.&nbsp;The retired jobs no longer display after the JobTracker is restarted.</li>
  43. </ul>
  44. <p><a name="JobBrowser-ViewingJobInformationandLogs"></a></p>
  45. <h1><a name="JobBrowser-ViewingJobInformationandLogs"></a>Viewing Job Information and Logs</h1>
  46. <p><b>To view job information for an individual job:</b></p>
  47. <ol>
  48. <li>In the <b>Job Browser</b> window, click <b>View</b> at the right of the job you want to view.<br/>
  49. This shows the <b>Job</b> page for the job, with the recent tasks associated with the job are displayed in the <b>Tasks</b> tab.
  50. <br class="atl-forced-newline" />
  51. <br class="atl-forced-newline" /></li>
  52. <li>Click the <b>Metadata</b> tab to view the metadata for this job.
  53. <br class="atl-forced-newline" />
  54. <br class="atl-forced-newline" /></li>
  55. <li>Click the <b>Counters</b> tab to view the counter metrics for the job.
  56. <br class="atl-forced-newline" />
  57. <br class="atl-forced-newline" /></li>
  58. </ol>
  59. <p><b>To view details about the tasks associated with the job:</b></p>
  60. <ol>
  61. <li>In the <b>Job</b> window, click the <b>View All Tasks</b> link at the right just above the <b>Recent Tasks</b> list.<br/>
  62. This lists all the tasks associated with the job.
  63. <br class="atl-forced-newline" />
  64. <br class="atl-forced-newline" /></li>
  65. <li>Click <b>Attempts</b> to the right of a task to view the attempts for that task.
  66. <br class="atl-forced-newline" />
  67. <br class="atl-forced-newline" /></li>
  68. </ol>
  69. <p><b>To view information about an individual task:</b></p>
  70. <ol>
  71. <li>in the <b>Job</b> window, click the <b>View</b> link to the right of the task.<br/>
  72. The attempts associated with the task are displayed.
  73. <br class="atl-forced-newline" />
  74. <br class="atl-forced-newline" /></li>
  75. <li>Click the <b>Metadata</b> tab to view metadata for this task.<br/>
  76. The metadata associated with the task is displayed.
  77. <br class="atl-forced-newline" />
  78. <br class="atl-forced-newline" /></li>
  79. <li>To view the Hadoop counters for a task, click the <b>Counters</b> tab.<br/>
  80. The counters associated with the task are displayed.
  81. <br class="atl-forced-newline" />
  82. <br class="atl-forced-newline" /></li>
  83. <li>To return to the <b>Job</b> window for this job, click the job number in the status panel at the left of the window.
  84. <br class="atl-forced-newline" />
  85. <br class="atl-forced-newline" /></li>
  86. </ol>
  87. <p><b>To view details about a task attempt:</b></p>
  88. <ol>
  89. <li>In the <b>Job Task</b> window, click the <b>View</b> link to the right of the task attempt.<br/>
  90. The metadata associated with the attempt is displayed under the <b>Metadata</b> tab.
  91. <br class="atl-forced-newline" />
  92. <br class="atl-forced-newline" /></li>
  93. <li>To view the Hadoop counters for the task attempt, click the <b>Counters</b> tab.<br/>
  94. The counters associated with the attempt are displayed.
  95. <br class="atl-forced-newline" />
  96. <br class="atl-forced-newline" /></li>
  97. <li>To view the logs associated with the task attempt, click the <b>Logs</b> tab.<br/>
  98. The logs associated with the task attempt are displayed.
  99. <br class="atl-forced-newline" />
  100. <br class="atl-forced-newline" /></li>
  101. <li>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.
  102. <br class="atl-forced-newline" />
  103. <br class="atl-forced-newline" /></li>
  104. </ol>
  105. <p><a name="JobBrowser-ViewingJobOutput"></a></p>
  106. <h1><a name="JobBrowser-ViewingJobOutput"></a>Viewing Job Output</h1>
  107. <p><b>To view job output:</b></p>
  108. <ol>
  109. <li>In the <b>Job Browser</b> window, double-click the job.
  110. <br class="atl-forced-newline" />
  111. <br class="atl-forced-newline" /></li>
  112. <li>To view the output of the job, click the link under <b>Output</b> in the status panel at the left of the window.<br/>
  113. This takes you to the job output directory in the <b>File Browser</b>.</li>
  114. </ol>
  115. <br/>
  116. </td>
  117. </tr>
  118. </table>
  119. </body>
  120. </html>