Yang, Tong 3f5759eed2 MRS comp-lts 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2023-01-19 17:08:45 +00:00

175 lines
29 KiB
HTML

<a name="mrs_01_1098"></a><a name="mrs_01_1098"></a>
<h1 class="topictitle1">Typical Scenario: Importing Data from HDFS or OBS to HBase</h1>
<div id="body8662426"><div class="section" id="mrs_01_1098__en-us_topic_0000001173470656_seeb6c6a3b7224b1ca00450981abf947a"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_1098__en-us_topic_0000001173470656_ae7d5f654d94042b2bc73315ef3751614">Use Loader to import data from HDFS or OBS to HBase.</p>
</div>
<div class="section" id="mrs_01_1098__en-us_topic_0000001173470656_s08a38f542df748faa85d14556dc5b6b1"><h4 class="sectiontitle">Prerequisites</h4><ul id="mrs_01_1098__en-us_topic_0000001173470656_u7d08b15f5f9c44e392e04a1d2ba0e218"><li id="mrs_01_1098__en-us_topic_0000001173470656_l11338be6668b49a2a88ffbdff78ca129">You have obtained the service username and password for creating a Loader job.</li><li id="mrs_01_1098__en-us_topic_0000001173470656_l52c1c2a809f74a0583ab2cf5da561596">You have had the permission to access the HDFS or OBS directories and data involved in job execution.</li><li id="mrs_01_1098__en-us_topic_0000001173470656_leef7df31c13541afa80beb692f5e0741">You have had the permission to access the HBase tables or phoenix tables that are used during job execution.</li><li id="mrs_01_1098__en-us_topic_0000001173470656_l5823d7b24d484a92a92abe610fddc816">No disk space alarm is reported, and the available disk space is sufficient for importing and exporting data.</li><li id="mrs_01_1098__en-us_topic_0000001173470656_lc9a71f9211f0426bb26e6dc85ce4f045">When using Loader to import data from HDFS or OBS, the input paths and input path subdirectories of HDFS and the name of the files in these directories do not contain any of the special characters /"':;.</li><li id="mrs_01_1098__en-us_topic_0000001173470656_l539c4ad39be244e7894da5d385a4d44b">If a configured task requires the Yarn queue function, the user must be authorized with related Yarn queue permission.</li><li id="mrs_01_1098__en-us_topic_0000001173470656_l8e9fa6a7333246d0b53e380c5fffdc7a">The user who configures a task must obtain execution permission on the task and obtain usage permission on the related connection of the task.</li></ul>
</div>
<div class="section" id="mrs_01_1098__en-us_topic_0000001173470656_s2a11baaf0aaf4d58b0c1e3647398ecb4"><h4 class="sectiontitle">Procedure</h4><p class="tableheading" id="mrs_01_1098__en-us_topic_0000001173470656_aa68c381323e54258b0024e1217b231a5"><strong id="mrs_01_1098__en-us_topic_0000001173470656_b7655165145317">Setting Basic Job Information</strong></p>
<ol id="mrs_01_1098__en-us_topic_0000001173470656_of7d104621add43fca96569fc36ba3213"><li id="mrs_01_1098__en-us_topic_0000001173470656_l450ee36108fd4598b573a344f12821d3"><span>Access the Loader web UI.</span><p><ol type="a" id="mrs_01_1098__en-us_topic_0000001219230551_obbc8c37dc53040efb21dc541b1dfc22c"><li id="mrs_01_1098__en-us_topic_0000001219230551_l6f0ffda40ca543d5a5660461b5e311dd">Log in to FusionInsight Manager. For details, see <a href="mrs_01_2124.html">Accessing FusionInsight Manager</a>.</li><li id="mrs_01_1098__en-us_topic_0000001219230551_la11b479a24ad4659a55365c2ede06015">Choose <strong id="mrs_01_1098__en-us_topic_0000001219230551_b39357591297">Cluster</strong> &gt; <em id="mrs_01_1098__en-us_topic_0000001219230551_i18941259112918">Name of the desired cluster</em> &gt; <strong id="mrs_01_1098__en-us_topic_0000001219230551_b19941115916297">Services</strong> &gt; <strong id="mrs_01_1098__en-us_topic_0000001219230551_b1894175916294">Loader</strong>.</li><li id="mrs_01_1098__en-us_topic_0000001219230551_l6601e8a2fd1b4780bf69238d6f5cc7f2">Click <strong id="mrs_01_1098__en-us_topic_0000001219230551_b13499742135213">LoaderServer(</strong><em id="mrs_01_1098__en-us_topic_0000001219230551_i187499244301">Node name</em><strong id="mrs_01_1098__en-us_topic_0000001219230551_b18777163515522">, Active)</strong>. The Loader web UI is displayed.<div class="fignone" id="mrs_01_1098__fig78051614133211"><span class="figcap"><b>Figure 1 </b>Loader web UI</span><br><span><img id="mrs_01_1098__mrs_01_1089_image155554364292" src="en-us_image_0000001438241209.png"></span></div>
</li></ol>
</p></li><li id="mrs_01_1098__en-us_topic_0000001173470656_l7a81094f6ff844a2be8b9292514ffe9e"><span>Click <span class="uicontrol" id="mrs_01_1098__en-us_topic_0000001173470656_uicontrol19256167155312"><b>New Job</b></span> to go to the <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname1425618735311"><b>Basic Information</b></span> page and set basic job information.</span><p><div class="fignone" id="mrs_01_1098__en-us_topic_0000001173470656_f9a48d25a6db1444780a2660d087f0af5"><span class="figcap"><b>Figure 2 </b><span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname14609826152610"><b>Basic Information</b></span></span><br><span><img id="mrs_01_1098__en-us_topic_0000001173470656_i4f78400285a247019dfdb140c4b11ef2" src="en-us_image_0000001296060072.png"></span></div>
<ol class="subitemlist" type="a" id="mrs_01_1098__en-us_topic_0000001173470656_ocf70368396f94a5aa51a5bd657da083f"><li id="mrs_01_1098__en-us_topic_0000001173470656_l95bc1de446cd4e10b0561aa0f91c182c">Set <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname94216429264"><b>Name</b></span> to the name of the job.</li><li id="mrs_01_1098__en-us_topic_0000001173470656_l0e50a16623154d9382a8720905e1ad20">Set <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname139358431268"><b>Type</b></span> to <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname5936943182615"><b>Import</b></span>.</li><li id="mrs_01_1098__en-us_topic_0000001173470656_l6d47ded5a4a4443ea795f0613c2893bb">Set <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname2481745102614"><b>Group</b></span> to the group to which the job belongs. No group is created by default. You need to click <span class="uicontrol" id="mrs_01_1098__en-us_topic_0000001173470656_uicontrol1748245132618"><b>Add</b></span> to create a group and click <span class="uicontrol" id="mrs_01_1098__en-us_topic_0000001173470656_uicontrol148204552616"><b>OK</b></span> to save the created group.</li><li id="mrs_01_1098__en-us_topic_0000001173470656_l65875585deac4d0db9361c8e66dfc6cc">Set <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname85891046192615"><b>Queue</b></span> to the Yarn queue that executes the job. The default value is <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue52054673412"><b>root.default</b></span>.</li><li id="mrs_01_1098__en-us_topic_0000001173470656_l292cd5fb0aea4641ae975a4cd586ff8f">Set <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname885164810267"><b>Priority</b></span> to the priority of the Yarn queue that executes the job. The default value is <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue118720509265"><b>NORMAL</b></span>. The options are <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue743965162616"><b>VERY_LOW</b></span>, <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue1743915516268"><b>LOW</b></span>, <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue1443915162616"><b>NORMAL</b></span>, <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue3440165152616"><b>HIGH</b></span>, and <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue3440145118261"><b>VERY_HIGH</b></span>.</li></ol>
</p></li><li id="mrs_01_1098__en-us_topic_0000001173470656_l44aa1b24d5e444c8a558af45a992b667"><span>In the <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname760135322611"><b>Connection</b></span> area, click <span class="uicontrol" id="mrs_01_1098__en-us_topic_0000001173470656_uicontrol2601753202619"><b>Add</b></span> to create a connection, set <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname126011453182616"><b>Connector</b></span> to <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue860185372619"><b>hdfs-connector</b></span>, set connection parameters, and click <span class="uicontrol" id="mrs_01_1098__en-us_topic_0000001173470656_uicontrol460210534266"><b>Test</b></span> to verify whether the connection is available. When "Test Success" is displayed, click <span class="uicontrol" id="mrs_01_1098__en-us_topic_0000001173470656_uicontrol360214536261"><b>OK</b></span>.</span><p><p class="tableheading" id="mrs_01_1098__en-us_topic_0000001173470656_a67c3ea83963c4d7bbe800eccaa5b6e26"><strong id="mrs_01_1098__en-us_topic_0000001173470656_b17812121192716">Setting Data Source Information</strong></p>
</p></li><li id="mrs_01_1098__en-us_topic_0000001173470656_l8da62869cd7b4565a2091a77376e0eb3"><span>Click <span class="uicontrol" id="mrs_01_1098__en-us_topic_0000001173470656_uicontrol152546134276"><b>Next</b></span>. On the displayed <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname18255191320272"><b>From</b></span> page, set the data source information.</span><p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1098__en-us_topic_0000001173470656_t61702925464f496bbea0680e9aef78c1" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="mrs_01_1098__en-us_topic_0000001173470656_ra7d664c6e36145f6b6def601f8637e5f"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.3.4.2.1.2.4.1.1"><p id="mrs_01_1098__en-us_topic_0000001173470656_a612e66b1243a465bbede9446ccee728d">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="67.47999999999999%" id="mcps1.3.3.3.4.2.1.2.4.1.2"><p id="mrs_01_1098__en-us_topic_0000001173470656_a1d434155c41344d9b5e7bd56cead2cf7">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="7.5200000000000005%" id="mcps1.3.3.3.4.2.1.2.4.1.3"><p id="mrs_01_1098__en-us_topic_0000001173470656_a42e388591fab44ac9187a2c689dcfdde">Example Value</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_1098__en-us_topic_0000001173470656_r9c48f028f0c7483683315b2ae14e1486"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a39276205cab64068928acacdd7fde4a5">Input Path</p>
</td>
<td class="cellrowborder" valign="top" width="67.47999999999999%" headers="mcps1.3.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a8d671bb1c24b4d3592ba2a173a60f61e">Input path of source files in HDFS or OBS</p>
<div class="note" id="mrs_01_1098__en-us_topic_0000001173470656_n85c4504aafdb4ea6ba8d70dec416ddde"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="mrs_01_1098__en-us_topic_0000001173470656_acd790c4df7744ae1bfb847524600d065">You can use macros to define path parameters. For details, see <a href="mrs_01_1153.html">Using Macro Definitions in Configuration Items</a>.</p>
</div></div>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_1098__en-us_topic_0000001173470656_ab8f414ceeef743fb92e84a5a364ae377">/user/test</p>
</td>
</tr>
<tr id="mrs_01_1098__en-us_topic_0000001173470656_rbcd5be7b45e34859acd9067a5b411ff2"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_aa0ee7eeed48a4a619f39a3d9b4566f92">Path Filter</p>
</td>
<td class="cellrowborder" valign="top" width="67.47999999999999%" headers="mcps1.3.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a91f04ed094d34682ac3213baf51c74db">Wildcard for filtering the directories in the input paths of the source files. <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname97247326270"><b>Input Path</b></span> is not used for filtering. If there are multiple filter conditions, use commas (<span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue14893412710"><b>,</b></span>) to separate them. If the parameter is empty, the directories are not filtered. The regular expression filtering is not supported.</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_1098__en-us_topic_0000001173470656_ac4248b3be8a44f35ae9a67e98685f1fd">*</p>
</td>
</tr>
<tr id="mrs_01_1098__en-us_topic_0000001173470656_r6e737a5dd49145c3ac452d7223b02a17"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a470b446b76a34e5cb08049e370e54fee">File Filter</p>
</td>
<td class="cellrowborder" valign="top" width="67.47999999999999%" headers="mcps1.3.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a15043ca0e9c64339897a731451e0b47e">Wildcard for filtering the file names of the source files. If there are multiple filter conditions, use commas (<span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue491114102810"><b>,</b></span>) to separate them. The value cannot be left blank. The regular expression filtering is not supported.</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a5d96de173c194c82bcc20582f1fe93df">*</p>
</td>
</tr>
<tr id="mrs_01_1098__en-us_topic_0000001173470656_r7835a449633a42f2b4cbaa4ed8e7321e"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a3342ac21931d4c8d8ffd47c197de8b3a">Encoding Type</p>
</td>
<td class="cellrowborder" valign="top" width="67.47999999999999%" headers="mcps1.3.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_ab16c11a5d4eb4d6c9f40c29eed9efe89">Source file encoding format, for example, UTF-8. This parameter can be set only in text file import.</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a734a591663e44df789faef855967b705">UTF-8</p>
</td>
</tr>
<tr id="mrs_01_1098__en-us_topic_0000001173470656_r4a4bf0dfc66143d3af739253a89d7e95"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.3.4.2.1.2.4.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_af818e6a105ac46d2abb3d013123d77c7">Suffix</p>
</td>
<td class="cellrowborder" valign="top" width="67.47999999999999%" headers="mcps1.3.3.3.4.2.1.2.4.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a977b0d5c7ec14337a2cf5e770fb3b718">File name extension added to a source file after the source file is imported. If this parameter is empty, no file name extension is added to the source file.</p>
</td>
<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.3.3.3.4.2.1.2.4.1.3 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a787a03b65a054854b4d14b0be21a17ea">.log</p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="tableheading" id="mrs_01_1098__en-us_topic_0000001173470656_a4c44c0b3f8074605a9c6be22e193a24c"><strong id="mrs_01_1098__en-us_topic_0000001173470656_b1299322011287">Setting Data Transformation</strong></p>
</p></li><li id="mrs_01_1098__en-us_topic_0000001173470656_l7287a52b869842c2b0edb0112b83caa9"><span>Click <span class="uicontrol" id="mrs_01_1098__en-us_topic_0000001173470656_uicontrol08251722112816"><b>Next</b></span>. On the displayed <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname19825142219287"><b>Transform</b></span> page, set the transformation operations in the data transformation process. For details about how to select operators and set parameters, see <a href="mrs_01_1119.html">Operator Help</a> and <a href="#mrs_01_1098__en-us_topic_0000001173470656_table895989011525">Table 2</a>.</span><p>
<div class="tablenoborder"><a name="mrs_01_1098__en-us_topic_0000001173470656_table895989011525"></a><a name="en-us_topic_0000001173470656_table895989011525"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1098__en-us_topic_0000001173470656_table895989011525" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Input and output parameters of the operator</caption><thead align="left"><tr id="mrs_01_1098__en-us_topic_0000001173470656_row1060779011525"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.3.5.2.1.2.3.1.1"><p id="mrs_01_1098__en-us_topic_0000001173470656_p1556013211525">Input Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.3.5.2.1.2.3.1.2"><p id="mrs_01_1098__en-us_topic_0000001173470656_p5241116811525">Output Type</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_1098__en-us_topic_0000001173470656_row6122078811525"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.5.2.1.2.3.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_p5993680211525">CSV File Input</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.5.2.1.2.3.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_p58185532115718">HBase Output</p>
</td>
</tr>
<tr id="mrs_01_1098__en-us_topic_0000001173470656_row13315067115222"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.5.2.1.2.3.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_p4778670115222">HTML Input</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.5.2.1.2.3.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_p51527969115222">HBase Output</p>
</td>
</tr>
<tr id="mrs_01_1098__en-us_topic_0000001173470656_row8327055115251"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.5.2.1.2.3.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_p3402841115251">Fixed File Input</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.3.5.2.1.2.3.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_p16022865115714">HBase Output</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="fignone" id="mrs_01_1098__en-us_topic_0000001173470656_fc1813431749b49d1abfedfe48ef7c4a9"><span class="figcap"><b>Figure 3 </b>Operator operation procedure</span><br><span><img id="mrs_01_1098__en-us_topic_0000001173470656_iaffa625fb3744b189a68a1f364893c08" src="en-us_image_0000001349259365.png"></span></div>
<p class="tableheading" id="mrs_01_1098__en-us_topic_0000001173470656_a788fefa016f74e5da3706336a0b8bbd4"><strong id="mrs_01_1098__en-us_topic_0000001173470656_b18822135112912">Setting Data Storage Information and Executing the Job</strong></p>
</p></li><li id="mrs_01_1098__en-us_topic_0000001173470656_lbddcccef267243e28c2991ec58b67a5f"><span>Click <span class="uicontrol" id="mrs_01_1098__en-us_topic_0000001173470656_uicontrol1114143792914"><b>Next</b></span>. On the displayed <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname1114253712294"><b>To</b></span> page, set <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname11426379298"><b>Storage type</b></span> to <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue41439379295"><b>HBASE_BULKLOAD</b></span> or <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue2143153782916"><b>HBASE_PUTLIST</b></span> based on the actual situation.</span><p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1098__en-us_topic_0000001173470656_tba9dce5d9a89473480348349586bf4a7" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameter description</caption><thead align="left"><tr id="mrs_01_1098__en-us_topic_0000001173470656_r6e5a513701764f45a6440b7de8484b46"><th align="left" class="cellrowborder" valign="top" width="12.591259125912593%" id="mcps1.3.3.3.6.2.1.2.6.1.1"><p id="mrs_01_1098__en-us_topic_0000001173470656_ad3964a44ddef4f65b72debcf9df7649b">Storage Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.591259125912593%" id="mcps1.3.3.3.6.2.1.2.6.1.2"><p id="mrs_01_1098__en-us_topic_0000001173470656_a804669bcfebc45adb12ec94cf6b2f63a">Applicable Scenario</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.921992199219922%" id="mcps1.3.3.3.6.2.1.2.6.1.3"><p id="mrs_01_1098__en-us_topic_0000001173470656_a49da468e46d641989552e93227e3b2ed">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="44.264426442644265%" id="mcps1.3.3.3.6.2.1.2.6.1.4"><p id="mrs_01_1098__en-us_topic_0000001173470656_a30acb5fedaa44a6388fb882fcaa5f6bc">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10.63106310631063%" id="mcps1.3.3.3.6.2.1.2.6.1.5"><p id="mrs_01_1098__en-us_topic_0000001173470656_a5596e2f3080d42089852b73675dbe90c">Example Value</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_1098__en-us_topic_0000001173470656_r6e68fd6f32504eed87538b979a30ec50"><td class="cellrowborder" rowspan="4" valign="top" width="12.591259125912593%" headers="mcps1.3.3.3.6.2.1.2.6.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_ac34c91a67bc74d4981d43c025617c226">HBASE_BULKLOAD</p>
</td>
<td class="cellrowborder" rowspan="4" valign="top" width="12.591259125912593%" headers="mcps1.3.3.3.6.2.1.2.6.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_ab826eaa80afd4bf681a7efc82f51e3dc">Large data volume</p>
</td>
<td class="cellrowborder" valign="top" width="19.921992199219922%" headers="mcps1.3.3.3.6.2.1.2.6.1.3 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a0c4f6751a1224b7b9a2744482a435e71">HBase Instance</p>
</td>
<td class="cellrowborder" valign="top" width="44.264426442644265%" headers="mcps1.3.3.3.6.2.1.2.6.1.4 "><p id="mrs_01_1098__en-us_topic_0000001173470656_ac239d95d9a924822bc303030763291c8">HBase service instance that Loader selects from all available HBase service instances in the cluster. If the selected HBase service instance is not added to the cluster, the HBase job cannot be run properly.</p>
</td>
<td class="cellrowborder" valign="top" width="10.63106310631063%" headers="mcps1.3.3.3.6.2.1.2.6.1.5 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a3d5fed95e74f465ebff9e14d1b30cfb6">HBase</p>
</td>
</tr>
<tr id="mrs_01_1098__en-us_topic_0000001173470656_r67332d67637749c09b3dfb69d42a5e04"><td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a42c3b4307bb045668f3d8261ccc1d1eb">Clear data before import</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a3b6171d374924b67bcf15ef08bce48bb">Indicates whether to clear data in the original table before importing data. <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue119131450172911"><b>True</b></span> indicates clearing data and <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue11918550162911"><b>False</b></span> indicates not to clear data. If you do not set this parameter, the original table is not cleared by default.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.3 "><p id="mrs_01_1098__en-us_topic_0000001173470656_aef8a35f8212d473396e4838a1372def1">true</p>
</td>
</tr>
<tr id="mrs_01_1098__en-us_topic_0000001173470656_rcb49d5172f4d4f32bc90f7e9087e093c"><td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a50207d1317ad45538d5ec6fa113ed8cd">Extractors</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_abff8c1d4bac849c681d7febf53352a45">Number of Maps that are started at the same time in a MapReduce task of a data configuration operation. The value must be less than or equal to 3000.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.3 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a13941b80a1c3407985d23a90ab395006">20</p>
</td>
</tr>
<tr id="mrs_01_1098__en-us_topic_0000001173470656_rf5f2773aebe442488185ae155fcb47a3"><td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_ad6c76618ef4f4dab86129f4817096175">Extractor Size</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a7227893b2da1412b8cbd2245ecbd80cc">HBase does not support this parameter. Please set <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname20528213305"><b>Extractors</b></span>.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.3 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a2f723ba495154740adcb1356a5d9fece">-</p>
</td>
</tr>
<tr id="mrs_01_1098__en-us_topic_0000001173470656_r33ae438045cb48269bd628e27b1c2b73"><td class="cellrowborder" rowspan="3" valign="top" width="12.591259125912593%" headers="mcps1.3.3.3.6.2.1.2.6.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a805875979c5f49b58d0ae49daa994f87">HBASE_PUTLIST</p>
</td>
<td class="cellrowborder" rowspan="3" valign="top" width="12.591259125912593%" headers="mcps1.3.3.3.6.2.1.2.6.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_aaf7d52efa14a47a3a24100ebe39f3398">Small data volume</p>
</td>
<td class="cellrowborder" valign="top" width="19.921992199219922%" headers="mcps1.3.3.3.6.2.1.2.6.1.3 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a144e33d529a64ce8bde4f0372734214e">HBase Instance</p>
</td>
<td class="cellrowborder" valign="top" width="44.264426442644265%" headers="mcps1.3.3.3.6.2.1.2.6.1.4 "><p id="mrs_01_1098__en-us_topic_0000001173470656_af2be810fb1754356886475cf71f1aa7d">HBase service instance that Loader selects from all available HBase service instances in the cluster. If the selected HBase service instance is not added to the cluster, the HBase job cannot be run properly.</p>
</td>
<td class="cellrowborder" valign="top" width="10.63106310631063%" headers="mcps1.3.3.3.6.2.1.2.6.1.5 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a059538b7208246508060f9ec3cdbaf38">HBase</p>
</td>
</tr>
<tr id="mrs_01_1098__en-us_topic_0000001173470656_r66bd4f77ce334bb6866fbbfbaab8ab46"><td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a07bc803c33f64ed9ae32b0a710d40343">Extractors</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a15278a936b2b4e42bbf4b46f7a9a0670">Number of Maps that are started at the same time in a MapReduce task of a data configuration operation. The value must be less than or equal to 3000.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.3 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a513d1dc77eba45a6a4ee7e65343421eb">20</p>
</td>
</tr>
<tr id="mrs_01_1098__en-us_topic_0000001173470656_r84ae04baa4804ca3a31667e87ab6dfd5"><td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.1 "><p id="mrs_01_1098__en-us_topic_0000001173470656_abff03f9f1003441b92f7c9cf91372983">Extractor Size</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.2 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a90d83addf78442539551274ae5a3b006">HBase does not support this parameter. Please set <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue202433162304"><b>Extractors</b></span>.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.3.6.2.1.2.6.1.3 "><p id="mrs_01_1098__en-us_topic_0000001173470656_a239831cfb5e445c7ba812e158bc59550">-</p>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li id="mrs_01_1098__en-us_topic_0000001173470656_l8b3757ba458a477d949651aab1a252a0"><span>Click <span class="uicontrol" id="mrs_01_1098__en-us_topic_0000001173470656_uicontrol78631318103017"><b>Save and run</b></span> to save and run the job.</span><p><p id="mrs_01_1098__en-us_topic_0000001173470656_a81768cbed0ff4425af5fbd3420312c31"><strong id="mrs_01_1098__en-us_topic_0000001173470656_b173015199309">Checking the Job Execution Result</strong></p>
</p></li><li id="mrs_01_1098__en-us_topic_0000001173470656_lca0545d335184bae8b77c5212ef254dd"><span>Go to the Loader web UI. When <span class="parmname" id="mrs_01_1098__en-us_topic_0000001173470656_parmname13241192116307"><b>Status</b></span> is <span class="parmvalue" id="mrs_01_1098__en-us_topic_0000001173470656_parmvalue182411221103018"><b>Succeeded</b></span>, the job is complete.</span><p><div class="fignone" id="mrs_01_1098__en-us_topic_0000001173470656_fc7b9afaf076e4f92a9237a14222a5c55"><span class="figcap"><b>Figure 4 </b>Viewing job details</span><br><span><img id="mrs_01_1098__en-us_topic_0000001173470656_idb8fc3a6b1f446f5b17f199c0b4d61c4" src="en-us_image_0000001348740097.png"></span></div>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1086.html">Importing Data</a></div>
</div>
</div>