doc-exports/docs/dataartsstudio/api-ref/dataartsstudio_02_0268.html
Xiong, Chen Xiao 14a6d65e8c DataArts API 20240130 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
Co-committed-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
2024-03-01 11:46:15 +00:00

140 lines
11 KiB
HTML

<a name="dataartsstudio_02_0268"></a><a name="dataartsstudio_02_0268"></a>
<h1 class="topictitle1">Link to CloudTable</h1>
<div id="body8662426"><div class="section" id="dataartsstudio_02_0268__en-us_topic_0108272788_section12903857173911"><h4 class="sectiontitle">Description</h4><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p2919669695329">By creating a CloudTable link, you can extract data from or load data to CloudTable.</p>
</div>
<div class="section" id="dataartsstudio_02_0268__en-us_topic_0108272788_section6163607716523"><h4 class="sectiontitle">Sample Link</h4><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p6656935174910">The following is the message body of a sample link. You are advised to store the AK and SK in ciphertext in the configuration file or environment variables and decrypt them when needed to ensure security.</p>
<pre class="screen" id="dataartsstudio_02_0268__en-us_topic_0108272788_screen385815993931">{
"links": [
{
"link-config-values": {
"configs": [
{
"inputs": [
{
"name": "linkConfig.hbaseType",
"value": "CloudTable"
},
{
"name": "linkConfig.zookeeperQuorum",
"value": "cloudtable-pass-zk2-bae54VGN.cloudtable.com:2181,cloudtable-pass-zk1-Fu828so2.cloudtable.com:2181"
},
{
"name": "linkConfig.iamAuth",
"value": "true"
},
{
"name": "linkConfig.cloudtableUser",
"value": "zane"
},
{
"name": "linkConfig.accessKey",
"value": "&lt;YOUR AK&gt;"
},
{
"name": "linkConfig.securityKey",
"value": "&lt;YOUR SK&gt;"
},
{
"name": "linkConfig.runMode",
"value": "EMBEDDED"
}
],
"name": "linkConfig"
}
]
},
"name": "cloudtablelink",
"connector-name": "hbase-connector"
}
]
}</pre>
</div>
<div class="section" id="dataartsstudio_02_0268__en-us_topic_0108272788_section37929003173911"><h4 class="sectiontitle">Link Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_02_0268__en-us_topic_0108272788_table52350397173911" frame="border" border="1" rules="all"><thead align="left"><tr id="dataartsstudio_02_0268__en-us_topic_0108272788_row42443862173911"><th align="left" class="cellrowborder" valign="top" width="19.84%" id="mcps1.3.3.2.1.5.1.1"><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p15400793173911">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.34%" id="mcps1.3.3.2.1.5.1.2"><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p39504729173911">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.68%" id="mcps1.3.3.2.1.5.1.3"><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p45766461173911">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="43.14%" id="mcps1.3.3.2.1.5.1.4"><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p16095854173911">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dataartsstudio_02_0268__en-us_topic_0108272788_row28695763173911"><td class="cellrowborder" valign="top" width="19.84%" headers="mcps1.3.3.2.1.5.1.1 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p42655444173911">linkConfig.hbaseType</p>
</td>
<td class="cellrowborder" valign="top" width="20.34%" headers="mcps1.3.3.2.1.5.1.2 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p32538971173911">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.3.2.1.5.1.3 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p18410957173911">Enumeration</p>
</td>
<td class="cellrowborder" valign="top" width="43.14%" headers="mcps1.3.3.2.1.5.1.4 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p42728221113647">HBase type. The options are as follows:</p>
<ul id="dataartsstudio_02_0268__en-us_topic_0108272788_ul23819850113656"><li id="dataartsstudio_02_0268__en-us_topic_0108272788_li66936355113656"><strong id="dataartsstudio_02_0268__en-us_topic_0108272788_b842352706171854">CloudTable</strong>: link to CloudTable</li><li id="dataartsstudio_02_0268__en-us_topic_0108272788_li9532889113656"><strong id="dataartsstudio_02_0268__en-us_topic_0108272788_b84235270617204">MRS</strong>: link to MRS</li><li id="dataartsstudio_02_0268__en-us_topic_0108272788_li158543317438"><strong id="dataartsstudio_02_0268__en-us_topic_0108272788_b842352706165634">FusionInsight HD</strong>: link to FusionInsight HD</li><li id="dataartsstudio_02_0268__en-us_topic_0108272788_li33061786432"><strong id="dataartsstudio_02_0268__en-us_topic_0108272788_b842352706165653">Apache Hadoop</strong>: link to Apache Hadoop</li></ul>
</td>
</tr>
<tr id="dataartsstudio_02_0268__en-us_topic_0108272788_row66924219173911"><td class="cellrowborder" valign="top" width="19.84%" headers="mcps1.3.3.2.1.5.1.1 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p52152668173911">linkConfig.zookeeperQuorum</p>
</td>
<td class="cellrowborder" valign="top" width="20.34%" headers="mcps1.3.3.2.1.5.1.2 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p63616581173911">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.3.2.1.5.1.3 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p52669471173911">String</p>
</td>
<td class="cellrowborder" valign="top" width="43.14%" headers="mcps1.3.3.2.1.5.1.4 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p38368786173911">ZooKeeper link of CloudTable. This parameter is mandatory for the <span class="parmvalue" id="dataartsstudio_02_0268__en-us_topic_0108272788_parmvalue2053776391193110"><b>CloudTable</b></span> link.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0268__en-us_topic_0108272788_row112101312133212"><td class="cellrowborder" valign="top" width="19.84%" headers="mcps1.3.3.2.1.5.1.1 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p72121912133212">linkConfig.iamAuth</p>
</td>
<td class="cellrowborder" valign="top" width="20.34%" headers="mcps1.3.3.2.1.5.1.2 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p8212312183216">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.3.2.1.5.1.3 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p621215129321">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="43.14%" headers="mcps1.3.3.2.1.5.1.4 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p11212161217321">If you choose IAM for identity authentication, enter the username, AK, and SK.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0268__en-us_topic_0108272788_row14704131223213"><td class="cellrowborder" valign="top" width="19.84%" headers="mcps1.3.3.2.1.5.1.1 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p070420125326">linkConfig.runMode</p>
</td>
<td class="cellrowborder" valign="top" width="20.34%" headers="mcps1.3.3.2.1.5.1.2 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p970441210322">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.3.2.1.5.1.3 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p4704512113211">Enumeration</p>
</td>
<td class="cellrowborder" valign="top" width="43.14%" headers="mcps1.3.3.2.1.5.1.4 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p121733311504">Running mode of the HBase link. The options are as follows:</p>
<ul id="dataartsstudio_02_0268__en-us_topic_0108272788_ul192118325256"><li id="dataartsstudio_02_0268__en-us_topic_0108272788_en-us_topic_0108275286_li6848185317587"><strong id="dataartsstudio_02_0268__en-us_topic_0108272788_b1296351794113">EMBEDDED</strong>: The link instance runs with CDM. This mode delivers better performance.</li><li id="dataartsstudio_02_0268__en-us_topic_0108272788_en-us_topic_0108275286_li1261464125915"><strong id="dataartsstudio_02_0268__en-us_topic_0108272788_b711818136424">STANDALONE</strong>: The link instance runs in an independent process. If CDM needs to connect to multiple Hadoop data sources (MRS, Hadoop, or CloudTable) with both Kerberos and Simple authentication methods, <strong id="dataartsstudio_02_0268__en-us_topic_0108272788_b176468388434">STANDALONE</strong> is used.</li></ul>
</td>
</tr>
<tr id="dataartsstudio_02_0268__en-us_topic_0108272788_row614271373215"><td class="cellrowborder" valign="top" width="19.84%" headers="mcps1.3.3.2.1.5.1.1 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p1014251383219">linkConfig.cloudtableUser</p>
</td>
<td class="cellrowborder" valign="top" width="20.34%" headers="mcps1.3.3.2.1.5.1.2 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p10142613123214">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.3.2.1.5.1.3 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p9754171773815">String</p>
</td>
<td class="cellrowborder" valign="top" width="43.14%" headers="mcps1.3.3.2.1.5.1.4 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p13952124417392">Username for accessing the CloudTable cluster</p>
</td>
</tr>
<tr id="dataartsstudio_02_0268__en-us_topic_0108272788_row5580181373217"><td class="cellrowborder" valign="top" width="19.84%" headers="mcps1.3.3.2.1.5.1.1 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p658231312328">linkConfig.accessKey</p>
</td>
<td class="cellrowborder" valign="top" width="20.34%" headers="mcps1.3.3.2.1.5.1.2 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p5582913123217">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.3.2.1.5.1.3 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p1467312185387">String</p>
</td>
<td class="cellrowborder" valign="top" width="43.14%" headers="mcps1.3.3.2.1.5.1.4 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p8527134543910">AK for accessing the CloudTable cluster. You are advised to store it in ciphertext in the configuration file or an environment variable and decrypt it when needed to ensure security.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0268__en-us_topic_0108272788_row980131415322"><td class="cellrowborder" valign="top" width="19.84%" headers="mcps1.3.3.2.1.5.1.1 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p1380114153212">linkConfig.securityKey</p>
</td>
<td class="cellrowborder" valign="top" width="20.34%" headers="mcps1.3.3.2.1.5.1.2 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p13801914193210">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.68%" headers="mcps1.3.3.2.1.5.1.3 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p183301919143814">String</p>
</td>
<td class="cellrowborder" valign="top" width="43.14%" headers="mcps1.3.3.2.1.5.1.4 "><p id="dataartsstudio_02_0268__en-us_topic_0108272788_p813194633919">SK for accessing the CloudTable cluster. You are advised to store it in ciphertext in the configuration file or an environment variable and decrypt it when needed to ensure security.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="link_parameter.html">Link Parameter Description</a></div>
</div>
</div>