forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com> Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
251 lines
57 KiB
HTML
251 lines
57 KiB
HTML
<a name="dataartsstudio_01_0351"></a><a name="dataartsstudio_01_0351"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Connection Between <span id="text748172751618">DataArts Studio</span> and an MRS Hive Data Lake</h1>
|
|
<div id="body0000001196631791"><p id="dataartsstudio_01_0351__p1742413205233">This section describes how to create an MRS Hive connection between <span id="dataartsstudio_01_0351__text861275144212">DataArts Studio</span> and the data lake base.</p>
|
|
<div class="section" id="dataartsstudio_01_0351__section592741692718"><h4 class="sectiontitle">Prerequisites</h4><ul id="dataartsstudio_01_0351__en-us_topic_0000001503129708_en-us_topic_0141836082_ul1460014457815"><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_en-us_topic_0141836082_li26009457811">You have created a data lake to connect, for example, a database or cloud service supported by <span id="dataartsstudio_01_0351__en-us_topic_0000001503129708_text9577191353117">DataArts Studio</span>.<ul id="dataartsstudio_01_0351__en-us_topic_0000001503129708_ul84381236192412"><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_li17495193442410">Before creating a DWS data connection, ensure that you have created a cluster in DWS and have the permissions required to view Key Management Service (KMS) keys.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_li2496193462420">Before creating an MRS connection such as an MRS HBase or MRS Hive connection, ensure that you have created an MRS cluster whose Kerberos encryption type is <strong id="dataartsstudio_01_0351__en-us_topic_0000001503129708_b650474301412">aes256-sha1,aes128-sha1</strong>, and that the cluster contains required components.</li></ul>
|
|
</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_li14253123171211">You have obtained the required agent (CDM cluster). If no CDM cluster is available, create one by referring to <a href="dataartsstudio_01_0576.html">Creating a CDM Cluster</a>. The CDM cluster can communicate with the data lake to be connected.<ul id="dataartsstudio_01_0351__en-us_topic_0000001503129708_ul202857182111"><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_li652416167413">If the data lake is an on-premises database, you need the Internet or Direct Connect. Ensure that the host where the data source is located and the CDM cluster can access the Internet, and the connection port has been enabled in the firewall rule.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_li1028575215">If the data lake is a cloud service (such as DWS and MRS), the following requirements must be met for network interconnection:<ul id="dataartsstudio_01_0351__en-us_topic_0000001503129708_ul2213578215"><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_li125579211">If the CDM cluster and the cloud service are in different regions, a public network or a dedicated connection is required for enabling communication between the CDM cluster and the cloud service.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_li22165792120">If the CDM cluster and the cloud service are in the same region, VPC, subnet, and security group, they can communicate with each other by default. If they are in the same VPC but in different subnets or security groups, you must configure routing rules and security group rules. For details about how to configure routing rules, see "Adding Routes to a Route Table" in <em id="dataartsstudio_01_0351__en-us_topic_0000001503129708_i34445102207">Virtual Private Cloud (VPC) x.x.x User Guide</em> in <em id="dataartsstudio_01_0351__en-us_topic_0000001503129708_i544413106209">Virtual Private Cloud (VPC) x.x.x Usage Guide</em>. For details about how to configure security group rules, see "Security Group" > "Adding a Security Group Rule" in Virtual Private Cloud (VPC) x.x.x User Guide in Virtual Private Cloud (VPC) x.x.x Usage Guide.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_li428573219">The cloud service instance and the <span id="dataartsstudio_01_0351__en-us_topic_0000001503129708_text92057152114">DataArts Studio</span> workspace belong to the same enterprise project. If they do not, you can modify the enterprise project of the workspace.</li></ul>
|
|
</li></ul>
|
|
</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_li1563720298461">If the enterprise mode is used, pay attention to the following points:<div class="p" id="dataartsstudio_01_0351__en-us_topic_0000001503129708_p88041040125018"><a name="dataartsstudio_01_0351__en-us_topic_0000001503129708_li1563720298461"></a><a name="en-us_topic_0000001503129708_li1563720298461"></a>In enterprise mode, the development environment and production environment need to be distinguished. Therefore, you need to prepare two sets of data lake services for the production environment and development environment to isolate the development environment from the production environment.<ul id="dataartsstudio_01_0351__en-us_topic_0000001503129708_en-us_topic_0000001232744655_ul1339145017597"><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_en-us_topic_0000001232744655_li23975014590"><strong id="dataartsstudio_01_0351__en-us_topic_0000001503129708_b1533444714712">If two clusters are used</strong> for clustered data sources, such as MRS, GaussDB(DWS), RDS, MySQL, Oracle, and ECS, you can create data connections in Management Center to distinguish data lake services in the development environment from those in the production environment. The data lake is automatically switched during development and production. Therefore, you need to prepare two sets of data lake services. The versions, specifications, components, regions, VPCs, subnets, and related configurations of the two sets of data lake services must be the same. For details on how to create data connections, see <a href="dataartsstudio_01_1299.html">Creating a DataArts Studio Data Connection</a>.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_en-us_topic_0000001232744655_li14738135115916">For serverless services (such as DLI), <span id="dataartsstudio_01_0351__en-us_topic_0000001503129708_text8245132816599">DataArts Studio</span> configures the mapping between data lake services in the production environment and development environment through environment isolation in the management center. The corresponding data lake is automatically switched during the development and production processes. Therefore, you need to prepare two sets of queues and database resources in the serverless data lake service and distinguish them by name suffix. For details, see <a href="dataartsstudio_01_5105.html">Configuring Environment Isolation for a DataArts Studio Workspace in Enterprise Mode</a>.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_li104986432523">For GaussDB(DWS), MRS Hive, and MRS Spark, if you <strong id="dataartsstudio_01_0351__en-us_topic_0000001503129708_b82121932125317">select the same cluster</strong> when creating a data connection, you must configure database mapping on the <strong id="dataartsstudio_01_0351__en-us_topic_0000001503129708_b4212432175319">Configure Data Source Resource Mapping</strong> page to isolate the development and production environments. For details, see <a href="dataartsstudio_01_5105.html#dataartsstudio_01_5105__section20609134272018">DB configuration</a>.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503129708_li523995419157">Offline processing migration jobs are not supported in enterprise mode.</li></ul>
|
|
</div>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503129708_p3637182924612">For example, if your data lake service is an MRS cluster, you need to prepare two MRS clusters with the same version, specifications, components, region, VPC, and subnet. If some configurations of an MRS cluster are modified, you also need to synchronize the modifications to the other MRS cluster.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_01_0351__section17688932182719"><h4 class="sectiontitle">Creating a Data Connection</h4><ol id="dataartsstudio_01_0351__ol12736137191916"><li id="dataartsstudio_01_0351__li2848154165110"><span>Log in to the <span id="dataartsstudio_01_0351__en-us_topic_0000001987511677_en-us_topic_0000001127311125_text5574448155719">DataArts Studio</span> console by following the instructions in <a href="dataartsstudio_01_0001.html">Accessing the DataArts Studio Instance Console</a>.</span></li><li class="msonormal" id="dataartsstudio_01_0351__li25881633161913"><span>On the <span id="dataartsstudio_01_0351__en-us_topic_0000001503129708_text82024413513">DataArts Studio</span> console, locate a workspace and click <strong id="dataartsstudio_01_0351__en-us_topic_0000001503129708_b820215416513">Management Center</strong>.</span></li><li id="dataartsstudio_01_0351__li151249491199"><span>On the displayed <strong id="dataartsstudio_01_0351__en-us_topic_0000001503129708_b9193152317519">Manage Data Connections</strong> page, click <strong id="dataartsstudio_01_0351__en-us_topic_0000001503129708_b197049391260">Create Data Connection</strong>.</span><p><div class="fignone" id="dataartsstudio_01_0351__en-us_topic_0000001503129708_fig140165113214"><span class="figcap"><b>Figure 1 </b>Creating a data connection</span><br><span><img id="dataartsstudio_01_0351__en-us_topic_0000001503129708_image62781125125815" src="en-us_image_0000002269195981.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503129708_p5740174641114"></p>
|
|
</p></li><li id="dataartsstudio_01_0351__li1273637131916"><span>On the <strong id="dataartsstudio_01_0351__b176949402445">Manage Data Connections</strong> page, click <span class="uicontrol" id="dataartsstudio_01_0351__uicontrol1669424074418"><b>Create Data Connection</b></span>. On the displayed page, select <strong id="dataartsstudio_01_0351__b269474054411">MRS Hive</strong> for <strong id="dataartsstudio_01_0351__b12694540164420">Data Connection Type</strong> and set other parameters based on the descriptions in <a href="#dataartsstudio_01_0351__table11826143220444">Table 1</a>.</span><p><div class="fignone" id="dataartsstudio_01_0351__fig7305656113816"><span class="figcap"><b>Figure 2 </b>MRS Hive connection parameters</span><br><span><img id="dataartsstudio_01_0351__image168713521216" src="en-us_image_0000002234079400.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
<p id="dataartsstudio_01_0351__p1566832982218"></p>
|
|
<p id="dataartsstudio_01_0351__p1844218117235"></p>
|
|
|
|
<div class="tablenoborder"><a name="dataartsstudio_01_0351__table11826143220444"></a><a name="table11826143220444"></a><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_0351__table11826143220444" frame="border" border="1" rules="all"><caption><b>Table 1 </b>MRS Hive connection</caption><thead align="left"><tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_row183332775217"><th align="left" class="cellrowborder" valign="top" width="20.18%" id="mcps1.3.3.2.4.2.4.2.4.1.1"><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_p113382715216">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="9.42%" id="mcps1.3.3.2.4.2.4.2.4.1.2"><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_p833182715212">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70.39999999999999%" id="mcps1.3.3.2.4.2.4.2.4.1.3"><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_p153316274522">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row766051213189"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1421933161719">Data Connection Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p121973121710">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1721993191719"><strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b146481747163613">MRS Hive</strong> is selected by default and cannot be changed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_row1233202785217"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_p17334277524">Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_p63318270523">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p10487624232">Name of the data connection to create. Data connection names can contain a maximum of 100 characters. They can contain only letters, digits, underscores (_), and hyphens (-).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row107734113312"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p197745119337">Tag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1177414173318">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><div class="p" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p194874211237">Attribute of the data connection to create. Tags make management easier.<div class="note" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001554166437_note97121765158"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001554166437_p107124612153">The tag name can contain only letters, digits, and underscores (_) and cannot start with an underscore (_) or contain more than 100 characters.</p>
|
|
</div></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row9940185216186"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1313102611386">Applicable Modules</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1013192653810">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1313192653818">Select the modules for which this connection is available.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row134849515197"><td class="cellrowborder" colspan="3" valign="top" headers="mcps1.3.3.2.4.2.4.2.4.1.1 mcps1.3.3.2.4.2.4.2.4.1.2 mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1248415581910"><strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b15964416344659">Basic and Network Connectivity Configuration</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row157961516102119"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p154111221125719">Connection Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1345514434574">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><div class="p" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1391411214423">Connection type. <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b15950076755112">Proxy connection</strong> is recommended.<ul id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_en-us_topic_0141836082_ul12525271095"><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_en-us_topic_0141836082_li1525218277914"><strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b1217292255112">Proxy connection</strong>: An agent (CDM cluster) is used to access MRS clusters. This method supports all versions of MRS clusters.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_li54038118337"><strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b13262161541014">MRS API connection</strong>: MRS APIs are used to access MRS clusters. This method supports only MRS clusters of the 2.<em id="dataartsstudio_01_0351__en-us_topic_0000001503606428_i14344822205112">X</em> or a later version.<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_p721682045210">When you select <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b10143973205112">MRS API connection</strong>, pay attention to the following restrictions:</p>
|
|
<ol type="a" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_ol1416110265526"><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_li81611526105216">In DataArts Factory, you cannot view or manage the databases, data tables, and fields of the connection in a visualized manner. If an MRS cluster of version 3.2.1 or later is connected, you can view rather than manage the databases, data tables, and fields of the connection in a visualized manner.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_li11917192917520">When the SQL editor of DataArts Factory is used to run SQL statements, the execution results can be displayed only in logs.</li></ol>
|
|
</li></ul>
|
|
</div>
|
|
<div class="note" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_note149159264217"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_p1536186371">Select <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b4492626125112">Proxy connection</strong> for <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b725726195112">Connection Type</strong> so that the DataArts Architecture, DataArts Quality, DataArts Catalog, and DataArts DataService components can use the MRS connection.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row98221551990"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p98231151896">Manual</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p208231453913">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p19718204110563">This parameter is mandatory when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b162261559173110">Connection Type</strong> is set to <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b102261859193118">Proxy connection</strong>.</p>
|
|
<div class="p" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1920011471242">Select the connection mode. If you do not need to access MRS clusters in other projects or enterprise projects, select <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b142501649142619">Cluster Name Mode</strong>.<ul id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001554286261_ul397819617341"><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001554286261_li18978126143417"><strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b14199071314813">Cluster Name Mode</strong>: Select an existing cluster. You can only connect to an MRS cluster in the same project and enterprise project.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001554286261_li103889143412">If you select <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b1213618111143">Connection String Mode</strong>, you can set <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b12137411747">Manager IP</strong> and enable communication between this connection's agent (CDM cluster) and an MRS cluster in another project or enterprise project so that you can access the MRS cluster.</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row9818715137"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p38191714133">Manager IP</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p581910119131">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p525524592413">This parameter is mandatory when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b2151843184113">Connection String Mode</strong> is selected for <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b954165484119">Manual</strong>.</p>
|
|
<div class="p" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p27811448205412">Set this parameter to the floating IP address of MRS Manager. Only MRS clusters are supported. A Hadoop cluster can be connected only after it is managed by MRS.<div class="note" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_note20918139354"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0182566327_p116249795810"><span id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0182566327_text7355181825814">DataArts Studio</span> does not support MRS clusters whose Kerberos encryption type is <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0182566327_b143479402717">aes256-sha2,aes128-sha2</strong>, and only supports MRS clusters whose Kerberos encryption type is <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0182566327_b19532103219813">aes256-sha1,aes128-sha1</strong>.</p>
|
|
</div></div>
|
|
</div>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p5442415172414">You can click <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b83091456123411">Select</strong> next to the text box and select an MRS cluster in the same project and enterprise project. If you want to access an MRS cluster in another project or enterprise project, obtain and enter the floating IP address of MRS Manager and ensure that the connection's agent (CDM cluster) can communicate with the tenant-plane MRS cluster. To obtain the floating IP address of MRS Manager, log in to the active master node of the MRS cluster and run the <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b10942321153213">ifconfig</strong> command. In the command output, the IP address of <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b994262153215">eth0:wsom</strong> is the floating IP address of MRS Manager. For details about how to log in to the master node of the MRS cluster, see "Manager Operation Guide" > "Getting Started" > "Logging In to an MRS Cluster Node" in <em id="dataartsstudio_01_0351__i125078141788">MapReduce Service (MRS) x.x.x</em><em id="dataartsstudio_01_0351__i95071141583"></em><em id="dataartsstudio_01_0351__i16507171419812"> User</em><em id="dataartsstudio_01_0351__i450711414817"> Guide</em><em id="dataartsstudio_01_0351__i3508121414816"></em>.</p>
|
|
<div class="p" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p357124693914">Enter multiple IP addresses based on the scenario in sequence and separate them with commas (,), for example, <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b1093104214224">127.0.0.1</strong> or <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b14931142122212">127.0.0.1,127.0.0.2,127.0.0.3</strong>.<ul id="dataartsstudio_01_0351__en-us_topic_0000001503606428_ul1461551425"><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_li15619514426">If you enter one IP address, enter the management-plane floating IP address of the MRS cluster.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_li146217534215">If you enter three IP addresses, enter the IP address of the active node on the MRS cluster service plane, IP address of the standby node on the MRS cluster service plane, and the floating IP address of the MRS cluster management plane.</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_row83352725213"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_p1433727175220">MRS Cluster Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_p113332716529">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p6881132321210">This parameter is mandatory when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b1904104411424">MRS API connection</strong> is selected for <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b1323381334312">Connection Type</strong> or <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b756810274431">Cluster Name Mode</strong> is selected for <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b108231643164317">Manual</strong>.</p>
|
|
<div class="p" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p66951184224">The name of the MRS cluster. Select an MRS cluster that Hive belongs to. Only MRS clusters are supported. A Hadoop cluster can be selected only after it is managed by MRS. All the MRS clusters with the same project ID and enterprise project are displayed.<div class="note" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_note16393711615"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0351__p54153717514"><span id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0182566327_text7355181825814_1">DataArts Studio</span> does not support MRS clusters whose Kerberos encryption type is <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0182566327_b143479402717_1">aes256-sha2,aes128-sha2</strong>, and only supports MRS clusters whose Kerberos encryption type is <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0182566327_b19532103219813_1">aes256-sha1,aes128-sha1</strong>.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="p" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p845041913214">If the connection fails after you select a cluster, check whether the MRS cluster can communicate with the CDM instance which functions as the agent. They can communicate with each other in the following scenarios:<ul id="dataartsstudio_01_0351__en-us_topic_0000001503606428_ul1715617232281"><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_li17205293217">If the CDM cluster in the <span id="dataartsstudio_01_0351__en-us_topic_0000001503606428_text15319922125112">DataArts Studio</span> instance and the MRS cluster are in different regions, a public network or a dedicated connection is required. If the Internet is used for communication, ensure that an EIP has been bound to the CDM cluster, and the MRS cluster can access the Internet and the port has been enabled in the firewall rule.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_li13205893215">If the CDM cluster in the <span id="dataartsstudio_01_0351__en-us_topic_0000001503606428_text151663810818">DataArts Studio</span> instance and the MRS cluster are in the same region, VPC, subnet, and security group, they can communicate with each other by default. If they are in the same VPC but in different subnets or security groups, you must configure routing rules and security group rules. For details about how to configure routing rules, see "Adding Routes to a Route Table" in <em id="dataartsstudio_01_0351__en-us_topic_0000001503606428_i1317838485">Virtual Private Cloud (VPC) x.x.x User Guide</em> in <em id="dataartsstudio_01_0351__en-us_topic_0000001503606428_i13171138184">Virtual Private Cloud (VPC) x.x.x Usage Guide</em>. For details about how to configure security group rules, see "Security Group" > "Adding a Security Group Rule" in Virtual Private Cloud (VPC) x.x.x User Guide in Virtual Private Cloud (VPC) x.x.x Usage Guide.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_li20156162311283">The MRS cluster and the <span id="dataartsstudio_01_0351__en-us_topic_0000001503606428_text4156132310284">DataArts Studio</span> workspace belong to the same enterprise project. If they do not, you can modify the enterprise project of the workspace.</li></ul>
|
|
<div class="note" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_note030793314500"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p130813395015">If an agent is connected to multiple MRS clusters and one of the MRS clusters is deleted or abnormal, connections to the other MRS clusters will be affected. Therefore, you are advised to connect an agent to only one MRS cluster.</p>
|
|
</div></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row43371148514"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p7686195425420">KMS Key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p12179243153310">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p417915433339">This parameter is mandatory when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b828116183213">Connection Type</strong> is set to <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b7282101193216">Proxy connection</strong>.</p>
|
|
<div class="p" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p4476133012514">KMS key used to encrypt and decrypt data source authentication information. Select a default or custom key.<div class="note" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001554166437_note5782131311013"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001554166437_ul15258512511"><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001554166437_li652514518257">When you use KMS for encryption through DataArts Studio or KPS for the first time, the default key <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001554166437_b10282246320">dlf/default</strong> or <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001554166437_b7601112203216">kps/default</strong> is automatically generated. For more information about default keys, see "What Is a Default Master Key?" in <em id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001554166437_i155895285215">Data Encryption Workshop FAQs</em>.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001554166437_li694815818253">Only symmetric keys are supported. Asymmetric keys are not supported.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row1693818137296"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_p12553301320">Agent</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_p1525512301027">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p11376112112517">This parameter is mandatory when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b1632294462">Connection Type</strong> is set to <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b103219144615">Proxy connection</strong>.</p>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0141836082_p162557308218">MRS is not a fully managed service and cannot be directly connected to <span id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_text24757216017">DataArts Studio</span>. A CDM cluster can provide an agent for <span id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_text5608222103">DataArts Studio</span> to communicate with non-fully-managed services. Therefore, you need to select a CDM cluster when creating an MRS data connection. If no CDM cluster is available, create one first by referring to <a href="dataartsstudio_01_0576.html">Creating a CDM Cluster</a>.</p>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p10723844162520">As a network proxy, the CDM cluster must be able to communicate with the MRS cluster. To ensure network connectivity, the CDM cluster must be in the same region and AZ and use the same VPC and subnet as the MRS cluster. The security group rule must also allow the CDM cluster to communicate with the MRS cluster.</p>
|
|
<div class="note" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_note423753912525"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dataartsstudio_01_0351__en-us_topic_0000001503606428_ul788564013216"><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_li588511405326">If you use the same CDM cluster as the agent for multiple connections to MRS clusters with Kerberos authentication enabled, jobs will fail. You are advised to plan multiple CDM clusters based on service requirements.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_li5615104213216"><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p5270642927"><a name="dataartsstudio_01_0351__en-us_topic_0000001503606428_li5615104213216"></a><a name="en-us_topic_0000001503606428_li5615104213216"></a>If a CDM cluster functions as the agent for a data connection in Management Center, the cluster supports a maximum of 200 concurrent active threads. If multiple data connections share an agent, a maximum of 200 SQL, Shell, and Python scripts submitted through the connections can run concurrently. Excess tasks will be queued. You are advised to plan multiple agents based on the workload.</p>
|
|
</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row1213955713019"><td class="cellrowborder" colspan="3" valign="top" headers="mcps1.3.3.2.4.2.4.2.4.1.1 mcps1.3.3.2.4.2.4.2.4.1.2 mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1599122773115"><strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b25925681042245">Data Source Authentication and Other Function Configuration</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row9401548308"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p471311331312">Authentication Method</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1671317311137">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1171316319138">This parameter is mandatory when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b1713514153420">Connection String Mode</strong> is selected for <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b1813571517420">Manual</strong>.</p>
|
|
<div class="p" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0108618545_p11181148185017">It specifies the authentication method used for accessing the MRS cluster. The following options are available:<ul id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0108618545_ul12623191718453"><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0108618545_li1362321718457"><strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b10347636565112">SIMPLE</strong>: for non-security mode</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0108618545_li762371724519"><strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b795500665112">KERBEROS</strong>: for security mode</li></ul>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row173341643113510"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1539615515536">Username</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p19334194315354">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p193341743163512">Human-machine user of the MRS cluster. This parameter is mandatory when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b16773113062012">Connection Type</strong> is set to <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b377317301209">Proxy connection</strong>. If a new MRS user is used for connection, you need to log in to Manager and change the initial password.</p>
|
|
<div class="p" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p129641211269">To create a data connection for an MRS security cluster, do not use user <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b4451608085112">admin</strong>. The <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b7127683075112">admin</strong> user is the default management page user and cannot be used as the authentication user of the security cluster. You can create an MRS user whose password never expires by referring to <a href="dataartsstudio_01_1306.html#dataartsstudio_01_1306__section52193714195">Creating a Kerberos Authentication User for an MRS Security Cluster</a>. When creating an MRS data connection, set <span class="parmname" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_parmname49991134133316"><b>Username</b></span> and <span class="parmname" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_parmname2999163419332"><b>Password</b></span> to the new MRS username and password.<div class="note" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_note15451659151217"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_ul17715141011134"><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_li8715121031318">For clusters of MRS 3.1.0 or later, the user must at least have permissions of the <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b18154312735112">Manager_viewer</strong> role to create data connections in Management Center. To perform database, table, and data operations on components, the user must also have user group permissions of the components.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_li5415103511136">For clusters earlier than MRS 3.1.0, the user must have permissions of the <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b8633148225112">Manager_administrator</strong> or <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b3162138655112">System_administrator</strong> role to create data connections in Management Center.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0187412481_li1174073716169">A user with only the <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b9814483355112">Manager_tenant</strong> or <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b15071940405112">Manager_auditor</strong> permission cannot create connections.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_li133851321191312">You are advised to set a user password that never expires to prevent connection failures and service loss caused by password expiration.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row158567463331"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p12640193685416">Password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1328115017314">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1385620462335">The password for accessing the MRS cluster. This parameter is mandatory when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b16879799285112">Connection Type</strong> is set to <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b20619152915112">Proxy connection</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row93414142318"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p734161418317">Enable ldap</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p734151415320">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p2245953101014">This parameter is available when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b11899115412543">Connection Type</strong> is set to <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b26163581541">Proxy connection</strong>.</p>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p171436423112">If LDAP authentication is enabled for an external LDAP server connected to MRS Hive, the LDAP username and password are required for authenticating the connection to MRS Hive. In this case, this option must be enabled. Otherwise, the connection will fail.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row103191943106"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p03206431204">ldapUsername</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p432014318017">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p228323461719">This parameter is mandatory when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b4178693735112">Enable ldap</strong> is enabled.</p>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p720114494318">Enter the username configured when LDAP authentication was enabled for MRS Hive.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row04019462012"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p5402204611017">ldapPassword</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p4402046908">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p173462225392">This parameter is mandatory when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b467780445112">Enable ldap</strong> is enabled.</p>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0108618545_p1431412184516">Enter the password configured when LDAP authentication was enabled for MRS Hive.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row14586289248"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p6271177184412">OBS storage support</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p227187164416">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p53441331185612">This parameter is displayed when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b1977817265198">DataArts Migration</strong> is selected for <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b57781326141919">Applicable Modules</strong>.</p>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p15181783504">The server must support OBS storage. When creating a Hive table, you can store the table in OBS.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row18276101442515"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p595017322613">Use Agency</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p13949173192618">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p458118517276">This parameter is displayed when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b166666285191">DataArts Migration</strong> is selected for <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b1266622818199">Applicable Modules</strong>.</p>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p9948183152618">If you enable the agency function, you can create a data connection without having a permanent AK/SK and execute CDM jobs using the scheduling identity configured in DataArts Factory.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row19333183482716"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p0333634142717">Public agency</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p123331234202716">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p201091722162810">This parameter is displayed when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b0819102641119">DataArts Migration</strong> is selected for <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b10819172620114">Applicable Modules</strong> and <span class="parmvalue" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_parmvalue208191262117"><b>Use Agency</b></span> is enabled.</p>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p633314341279">The agency is only used to check whether the connection agency function is normal. CDM jobs will be executed using the scheduling identity configured in DataArts Factory.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row1514017152254"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p118591550204510">AK</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="9.42%" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p78591650164515">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" rowspan="2" valign="top" width="70.39999999999999%" headers="mcps1.3.3.2.4.2.4.2.4.1.3 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1349292145712">This parameter is displayed when <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b1288507218">DataArts Migration</strong> is selected for <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_b16644205416210">Applicable Modules</strong> and <span class="parmvalue" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_parmvalue19418281524"><b>OBS storage support</b></span> is enabled.</p>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p146781229296">AK and SK are used to log in to the OBS server.</p>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p1667810291796">You need to create an access key for the current account and obtain an AK/SK pair.</p>
|
|
<div class="p" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p136781729893">To obtain an access key, perform the following steps:<ol type="a" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_en-us_topic_0183643042_ol535183018588"><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_en-us_topic_0183643042_li1535103025819">Log in to the management console, move the cursor to the username in the upper right corner, and select <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_b1586023610364">My Credentials</strong> from the drop-down list.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_en-us_topic_0183643042_li173533018584">On the <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_b149721128172418">My Credentials</strong> page, choose <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_b15803656132414">Access Keys</strong>, and click <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_b2452152020258">Create Access Key</strong>. See <a href="#dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_en-us_topic_0183643042_fig1552229194615">Figure 3</a>.<div class="fignone" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_en-us_topic_0183643042_fig1552229194615"><a name="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_en-us_topic_0183643042_fig1552229194615"></a><a name="en-us_topic_0000001503606428_en-us_topic_0000001129241845_en-us_topic_0183643042_fig1552229194615"></a><span class="figcap"><b>Figure 3 </b>Clicking Create Access Key</span><br><span><img id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_image20389043111611" src="en-us_image_0000002269194761.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_en-us_topic_0183643042_li1535530185815">Click <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_b8340319122819">OK</strong> and save the access key file as prompted. The access key file will be saved to your browser's configured download location. Open the <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_b1940852512813">credentials.csv</strong> file to view <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_b191574128718">Access Key Id</strong> and <strong id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_b175769149718">Secret Access Key</strong>.<div class="note" id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_note4554158201"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_ul25541081906"><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_li175541819018">Only two access keys can be added for each user.</li><li id="dataartsstudio_01_0351__en-us_topic_0000001503606428_en-us_topic_0000001129241845_li3554138305">To ensure access key security, the access key is automatically downloaded only when it is generated for the first time and cannot be obtained from the management console later. Keep them properly.</li></ul>
|
|
</div></div>
|
|
</li></ol>
|
|
</div>
|
|
<p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p177821615152520"></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0351__en-us_topic_0000001503606428_row187815153259"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.4.2.4.2.4.1.1 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p461619566458">SK</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.4.2.4.2.4.1.2 "><p id="dataartsstudio_01_0351__en-us_topic_0000001503606428_p9617165615459">N/A</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</p></li><li id="dataartsstudio_01_0351__li18736157141916"><span>Click <strong id="dataartsstudio_01_0351__b118502425535811">Test</strong> to test connectivity of the data connection. If the test fails, the data connection fails to be created.</span></li><li id="dataartsstudio_01_0351__li8736772195"><span>After the test is successful, click <strong id="dataartsstudio_01_0351__b828312159136">Save</strong> to create the data connection.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_01_0351__section1114732851415"><h4 class="sectiontitle">Reference</h4><ol id="dataartsstudio_01_0351__ol43131936141412"><li id="dataartsstudio_01_0351__li15814650111417">Why is no MRS Hive cluster displayed on the Create Data Connection page?<div class="p" id="dataartsstudio_01_0351__p0687304160"><a name="dataartsstudio_01_0351__li15814650111417"></a><a name="li15814650111417"></a>Possible causes are as follows:<ul id="dataartsstudio_01_0351__en-us_topic_0195827289_ul26883742713"><li id="dataartsstudio_01_0351__en-us_topic_0195827289_li26886772710">Hive/HBase components were not selected during MRS cluster creation.</li><li id="dataartsstudio_01_0351__en-us_topic_0195827289_li15912042142816">The enterprise project selected during MRS cluster creation is different from that in the workspace.</li><li id="dataartsstudio_01_0351__en-us_topic_0195827289_li1620012223312">The network between the CDM cluster and MRS cluster was disconnected when an MRS data connection is created.<p id="dataartsstudio_01_0351__en-us_topic_0195827289_p2015092403116"><a name="dataartsstudio_01_0351__en-us_topic_0195827289_li1620012223312"></a><a name="en-us_topic_0195827289_li1620012223312"></a>The CDM cluster functions as a network agent. MRS data connections that you are going to create need to communicate with CDM.</p>
|
|
</li></ul>
|
|
</div>
|
|
</li><li id="dataartsstudio_01_0351__li33135368147">Why does a Hive data connection fail to obtain information about databases or tables?<p id="dataartsstudio_01_0351__p11632155513148"><a name="dataartsstudio_01_0351__li33135368147"></a><a name="li33135368147"></a>The possible cause is that the CDM cluster is stopped or a concurrency conflict occurs. You can switch to another agent to temporarily avoid this issue.</p>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_01_0350.html">Typical Scenarios for Using Management Center</a></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script language="JavaScript">
|
|
<!--
|
|
initImageViewer('.imgResize');
|
|
var msg_imageMax = "view original image";
|
|
var msg_imageClose = "close";
|
|
//--></script> |