| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html lang="en-us" xml:lang="en-us">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <link rel="stylesheet" type="text/css" href="commonltr.css"/>
- <title>Pig Editor</title>
- </head>
- <body id="xd_583c10bfdbd326ba-3ca24a24-13d80143249--7f9c"><a name="xd_583c10bfdbd326ba-3ca24a24-13d80143249--7f9c"><!-- --></a>
- <h1>Sqoop UI</h1>
- <p>The Sqoop UI enables transfering data from a relational database
- to Hadoop and vice versa. The UI lives uses Apache Sqoop to do this.
- See the <a href="http://sqoop.apache.org/docs/1.99.2/index.html">Sqoop Documentation</a> for more details on Sqoop.</p>
- <h2>Installation and Configuration</h2>
- <p>The Sqoop UI is one of the applications installed as part of
- Hue. For information about installing and configuring Hue, see the Hue Installation
- manual.</p>
- <h2>Starting</h2>
- <p>Click the <strong>Sqoop</strong> icon
- (<img alt="image" src="/sqoop/static/art/icon_sqoop_24.png" />) in the navigation bar at the top of
- the Hue browser page.</p>
- <h2>Sqoop Jobs</h2>
- <p>Sqoop UI is oriented around jobs in Apache Sqoop.</p>
- <h3>Creating a New Job</h3>
- <ol>
- <li>Click the <strong>New job</strong> button at the top right.</li>
- <li>In the Name field, enter a name.</li>
- <li>Choose the type of job: import or export.
- The proceeding form fields will change depending on which type is chosen.</li>
- <li>Select a connection, or create one if it does not exist.</li>
- <li>Fill in the rest of the fields for the job.
- For importing, the "Table name", "Storage type", "Output format", and "Output directory" are necessary at a minimum.
- For exporting, the "Table name" and "Input directory" are necessary at a minimum.</li>
- <li>Click <strong>save</strong> to finish.</li>
- </ol>
- <h3>Editing a Job</h3>
- <ol>
- <li>In the list of jobs, click on the name of the job.</li>
- <li>Edit the desired form fields in the job.</li>
- </ol>
- <h3>Copying a Job</h3>
- <ol>
- <li>In the list of jobs, click on the name of the job.</li>
- <li>On the left hand side of the job editor, there should be a panel containing actions.
- Click <strong>Copy</strong>.</li>
- </ol>
- <h3>Removing a Job</h3>
- <ol>
- <li>In the list of jobs, click on the name of the job.</li>
- <li>On the left hand side of the job editor, there should be a panel containing actions.
- Click <strong>Delete</strong>.</li>
- </ol>
- <h3>Running a Job</h3>
- <p>There's a status on each of the items in the job list indicating
- the last time a job was ran. The progress of the job should dynamically
- update. There's a progress bar at the bottom of each item on the job list
- as well.</p>
- <ol>
- <li>In the list of jobs, click on the name of the job.</li>
- <li>On the left hand side of the job editor, there should be a panel containing actions.
- Click <strong>Run</strong>.</li>
- </ol>
- <h3>Creating a New Connection</h3>
- <ol>
- <li>Click the <strong>New job</strong> button at the top right.</li>
- <li>At the connection field, click the link titled <strong>Add a new connection</strong>.</li>
- <li>Fill in the displayed fields.</li>
- <li>Click <strong>save</strong> to finish.</li>
- </ol>
- <h3>Editing a Connection</h3>
- <ol>
- <li>Click the <strong>New job</strong> button at the top right.</li>
- <li>At the connection field, select the connection by name that should be edited.</li>
- <li>Click <strong>Edit</strong>.</li>
- <li>Edit the any of the fields.</li>
- <li>Click <strong>save</strong> to finish.</li>
- </ol>
- <h3>Removing a Connection</h3>
- <ol>
- <li>Click the <strong>New job</strong> button at the top right.</li>
- <li>At the connection field, select the connection by name that should be deleted.</li>
- <li>Click <strong>Delete</strong>.</li>
- </ol>
- <p>NOTE: If this does not work, it's like because a job is using that connection.
- Make sure not jobs are using the connection that will be deleted.</p>
- <h3>Filtering Sqoop Jobs</h3>
- <p>The text field in the top, left corner of the Sqoop Jobs page enables fast filtering
- of sqoop jobs by name.</p>
- </body>
- </html>
|