index.html 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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>Pig Editor</title>
  9. </head>
  10. <body id="xd_583c10bfdbd326ba-3ca24a24-13d80143249--7f9c"><a name="xd_583c10bfdbd326ba-3ca24a24-13d80143249--7f9c"><!-- --></a>
  11. <h1>Sqoop UI</h1>
  12. <p>The Sqoop UI enables transfering data from a relational database
  13. to Hadoop and vice versa. The UI lives uses Apache Sqoop to do this.
  14. See the <a href="http://sqoop.apache.org/docs/1.99.2/index.html">Sqoop Documentation</a> for more details on Sqoop.</p>
  15. <h2>Installation and Configuration</h2>
  16. <p>The Sqoop UI is one of the applications installed as part of
  17. Hue. For information about installing and configuring Hue, see the Hue Installation
  18. manual.</p>
  19. <h2>Starting</h2>
  20. <p>Click the <strong>Sqoop</strong> icon
  21. (<img alt="image" src="/sqoop/static/art/icon_sqoop_24.png" />) in the navigation bar at the top of
  22. the Hue browser page.</p>
  23. <h2>Sqoop Jobs</h2>
  24. <p>Sqoop UI is oriented around jobs in Apache Sqoop.</p>
  25. <h3>Creating a New Job</h3>
  26. <ol>
  27. <li>Click the <strong>New job</strong> button at the top right.</li>
  28. <li>In the Name field, enter a name.</li>
  29. <li>Choose the type of job: import or export.
  30. The proceeding form fields will change depending on which type is chosen.</li>
  31. <li>Select a connection, or create one if it does not exist.</li>
  32. <li>Fill in the rest of the fields for the job.
  33. For importing, the "Table name", "Storage type", "Output format", and "Output directory" are necessary at a minimum.
  34. For exporting, the "Table name" and "Input directory" are necessary at a minimum.</li>
  35. <li>Click <strong>save</strong> to finish.</li>
  36. </ol>
  37. <h3>Editing a Job</h3>
  38. <ol>
  39. <li>In the list of jobs, click on the name of the job.</li>
  40. <li>Edit the desired form fields in the job.</li>
  41. </ol>
  42. <h3>Copying a Job</h3>
  43. <ol>
  44. <li>In the list of jobs, click on the name of the job.</li>
  45. <li>On the left hand side of the job editor, there should be a panel containing actions.
  46. Click <strong>Copy</strong>.</li>
  47. </ol>
  48. <h3>Removing a Job</h3>
  49. <ol>
  50. <li>In the list of jobs, click on the name of the job.</li>
  51. <li>On the left hand side of the job editor, there should be a panel containing actions.
  52. Click <strong>Delete</strong>.</li>
  53. </ol>
  54. <h3>Running a Job</h3>
  55. <p>There's a status on each of the items in the job list indicating
  56. the last time a job was ran. The progress of the job should dynamically
  57. update. There's a progress bar at the bottom of each item on the job list
  58. as well.</p>
  59. <ol>
  60. <li>In the list of jobs, click on the name of the job.</li>
  61. <li>On the left hand side of the job editor, there should be a panel containing actions.
  62. Click <strong>Run</strong>.</li>
  63. </ol>
  64. <h3>Creating a New Connection</h3>
  65. <ol>
  66. <li>Click the <strong>New job</strong> button at the top right.</li>
  67. <li>At the connection field, click the link titled <strong>Add a new connection</strong>.</li>
  68. <li>Fill in the displayed fields.</li>
  69. <li>Click <strong>save</strong> to finish.</li>
  70. </ol>
  71. <h3>Editing a Connection</h3>
  72. <ol>
  73. <li>Click the <strong>New job</strong> button at the top right.</li>
  74. <li>At the connection field, select the connection by name that should be edited.</li>
  75. <li>Click <strong>Edit</strong>.</li>
  76. <li>Edit the any of the fields.</li>
  77. <li>Click <strong>save</strong> to finish.</li>
  78. </ol>
  79. <h3>Removing a Connection</h3>
  80. <ol>
  81. <li>Click the <strong>New job</strong> button at the top right.</li>
  82. <li>At the connection field, select the connection by name that should be deleted.</li>
  83. <li>Click <strong>Delete</strong>.</li>
  84. </ol>
  85. <p>NOTE: If this does not work, it's like because a job is using that connection.
  86. Make sure not jobs are using the connection that will be deleted.</p>
  87. <h3>Filtering Sqoop Jobs</h3>
  88. <p>The text field in the top, left corner of the Sqoop Jobs page enables fast filtering
  89. of sqoop jobs by name.</p>
  90. </body>
  91. </html>