forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
23 lines
3.9 KiB
HTML
23 lines
3.9 KiB
HTML
<a name="dli_09_0196"></a><a name="dli_09_0196"></a>
|
|
|
|
<h1 class="topictitle1">MRS Configuration</h1>
|
|
<div id="body0000001181157567"><div class="section" id="dli_09_0196__section18700849172311"><a name="dli_09_0196__section18700849172311"></a><a name="section18700849172311"></a><h4 class="sectiontitle">Configuring MRS Host Information in DLI Datasource Connection</h4><ol id="dli_09_0196__ol385681112214"><li id="dli_09_0196__li4856151117223">Create a datasource connection on the DLI management console. </li><li id="dli_09_0196__li10576913112219">Add the <strong id="dli_09_0196__b111803263522">/etc/hosts</strong> information of MRS cluster nodes to the <strong id="dli_09_0196__b1618115412529">host</strong> file of the DLI queue.<p id="dli_09_0196__p1435791362116"></p>
|
|
<p id="dli_09_0196__p1290940152113">For details, see section "Modifying the Host Information" in the <em id="dli_09_0196__i39037818549">Data Lake Insight User Guide</em>.</p>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="dli_09_0196__section12676527182715"><a name="dli_09_0196__section12676527182715"></a><a name="section12676527182715"></a><h4 class="sectiontitle">Completing Configurations for Enabling Kerberos Authentication</h4><ol id="dli_09_0196__ol104821116112713"><li id="dli_09_0196__li153021142712"><a name="dli_09_0196__li153021142712"></a><a name="li153021142712"></a>Create a cluster with Kerberos authentication enabled by referring to section "Creating a Security Cluster and Logging In to MRS Manager" in . Add a user and grant permissions to the user by referring to section "Creating Roles and Users".</li><li id="dli_09_0196__li148361615275">Use the user created in <a href="#dli_09_0196__li153021142712">1</a> for login authentication. For details, see . A human-machine user must change the password upon the first login.</li><li id="dli_09_0196__li1512812596484">Log in to Manager and choose <strong id="dli_09_0196__b9524458516">System</strong>. In the navigation pane on the left, choose <strong id="dli_09_0196__b145244517510">Permission</strong> > <strong id="dli_09_0196__b185264517518">User</strong>, locate the row where the new user locates, click <strong id="dli_09_0196__b1553204519512">More</strong>, and select <strong id="dli_09_0196__b45311451851">Download Authentication Credential</strong>. Save the downloaded package and decompress it to obtain the <strong id="dli_09_0196__b165304515519">keytab</strong> and <strong id="dli_09_0196__b5531458512">krb5.conf</strong> files.</li></ol>
|
|
</div>
|
|
<div class="section" id="dli_09_0196__section2431223123810"><h4 class="sectiontitle">Creating an MRS HBase Table</h4><p id="dli_09_0196__p922410719392">Before creating an MRS HBase table to be associated with the DLI table, ensure that the HBase table exists. The following provides example code to describe how to create an MRS HBase table:</p>
|
|
<ol id="dli_09_0196__ol8224127123914"><li id="dli_09_0196__li88406295213">Remotely log in to the ECS and use the HBase Shell command to view table information. In this command, <strong id="dli_09_0196__b53037422495">hbtest</strong> indicates the name of the table to be queried.<pre class="screen" id="dli_09_0196__screen128257242219">describe 'hbtest'</pre>
|
|
</li><li id="dli_09_0196__li12224197123916">(Optional) If the HBase table does not exist, run the following command to create one:<pre class="screen" id="dli_09_0196__screen68673471399">create 'hbtest', 'info', 'detail'</pre>
|
|
<p id="dli_09_0196__p1522457163912">In this command, <strong id="dli_09_0196__b115601829145020">hbtest</strong> indicates the table name, and other parameters indicate the column family names.</p>
|
|
</li><li id="dli_09_0196__li5973624174018">Configure the connection information. <strong id="dli_09_0196__b79311921155116">TableName</strong> corresponds to the name of the HBase table.</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dli_09_0077.html">Connecting to HBase</a></div>
|
|
</div>
|
|
</div>
|
|
|