forked from docs/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
22 lines
7.0 KiB
HTML
22 lines
7.0 KiB
HTML
<a name="mrs_01_24013"></a><a name="mrs_01_24013"></a>
|
|
|
|
<h1 class="topictitle1">Using Yonghong BI to Access HetuEngine</h1>
|
|
<div id="body8662426"><div class="section" id="mrs_01_24013__en-us_topic_0000001219231283_section1973493093211"><h4 class="sectiontitle">Prerequisites</h4><ul id="mrs_01_24013__en-us_topic_0000001219231283_ul841534142517"><li id="mrs_01_24013__en-us_topic_0000001219231283_li144134182520">Yonghong BI has been installed.</li><li id="mrs_01_24013__en-us_topic_0000001219231283_li3248153672516">The JDBC JAR file has been obtained. For details, see <a href="mrs_01_2337.html#mrs_01_2337__li599475416716">1</a>.</li><li id="mrs_01_24013__en-us_topic_0000001219231283_li117993553217">A human-machine user has been created in the cluster. For details about how to create a user, see <a href="mrs_01_1714.html">Creating a HetuEngine User</a>.</li></ul>
|
|
</div>
|
|
<div class="section" id="mrs_01_24013__en-us_topic_0000001219231283_section828204195416"><h4 class="sectiontitle">Procedure</h4><ol id="mrs_01_24013__en-us_topic_0000001219231283_ol19128193114490"><li id="mrs_01_24013__en-us_topic_0000001219231283_li2628121913516"><span>Open Yonghong Desktop and choose <strong id="mrs_01_24013__en-us_topic_0000001219231283_b10462129111412">Create Connection</strong> > <strong id="mrs_01_24013__en-us_topic_0000001219231283_b883973821414">presto</strong>.</span><p><p id="mrs_01_24013__p2041175616510"><span><img id="mrs_01_24013__image0621457175111" src="en-us_image_0000001440850393.png"></span></p>
|
|
</p></li><li id="mrs_01_24013__en-us_topic_0000001219231283_li5454824181218"><span>On the data source configuration page, set parameters by referring to <a href="#mrs_01_24013__en-us_topic_0000001219231283_fig171919211236">Figure 1</a>. <strong id="mrs_01_24013__en-us_topic_0000001219231283_b2637125717481">User</strong> and <strong id="mrs_01_24013__en-us_topic_0000001219231283_b122917234915">Password</strong> are the username and password of the created human-machine user. After the configuration is complete, click <strong id="mrs_01_24013__en-us_topic_0000001219231283_b1380115914495">Test Connection</strong>.</span><p><div class="fignone" id="mrs_01_24013__en-us_topic_0000001219231283_fig171919211236"><a name="mrs_01_24013__en-us_topic_0000001219231283_fig171919211236"></a><a name="en-us_topic_0000001219231283_fig171919211236"></a><span class="figcap"><b>Figure 1 </b>Configuring the data source</span><br><span><img id="mrs_01_24013__en-us_topic_0000001219231283_image2191182117311" src="en-us_image_0000001295740208.png"></span></div>
|
|
<ul id="mrs_01_24013__en-us_topic_0000001219231283_ul8526734141718"><li id="mrs_01_24013__en-us_topic_0000001219231283_li1382131412188"><strong id="mrs_01_24013__en-us_topic_0000001219231283_b168751943141916">Driver</strong>: Choose <strong id="mrs_01_24013__en-us_topic_0000001219231283_b1956815462167">Custom</strong> > <strong id="mrs_01_24013__en-us_topic_0000001219231283_b244194919169">Select Custom Driver</strong>. Click <span><img id="mrs_01_24013__en-us_topic_0000001219231283_image18901736191814" src="en-us_image_0000001349139725.jpg"></span>, edit the driver name, click <strong id="mrs_01_24013__en-us_topic_0000001219231283_b2039245011175">Upload File</strong> to upload the obtained JDBC JAR file, and click <strong id="mrs_01_24013__en-us_topic_0000001219231283_b16635130121816">OK</strong>.<p id="mrs_01_24013__p184214294528"><span><img id="mrs_01_24013__image379103010522" src="en-us_image_0000001440970317.png"></span></p>
|
|
</li><li id="mrs_01_24013__en-us_topic_0000001219231283_li395341592118"><strong id="mrs_01_24013__en-us_topic_0000001219231283_b8723145151911">URL</strong>: For details, see "URL format" in <a href="mrs_01_24010.html#mrs_01_24010__en-us_topic_0000001173789310_li6197135010379">2</a>.</li><li id="mrs_01_24013__en-us_topic_0000001219231283_li8370134920208"><strong id="mrs_01_24013__en-us_topic_0000001219231283_b12948484191">Server Login</strong>: Select <strong id="mrs_01_24013__en-us_topic_0000001219231283_b9738113012208">Username and Password</strong> and enter the username and password.</li></ul>
|
|
</p></li><li id="mrs_01_24013__en-us_topic_0000001219231283_li55331456256"><a name="mrs_01_24013__en-us_topic_0000001219231283_li55331456256"></a><a name="en-us_topic_0000001219231283_li55331456256"></a><span>Click <strong id="mrs_01_24013__en-us_topic_0000001219231283_b9415551143814">New Data Set</strong>. On the displayed page, change the save path by referring to <a href="#mrs_01_24013__en-us_topic_0000001219231283_fig10932125853718">Figure 2</a> and click <strong id="mrs_01_24013__en-us_topic_0000001219231283_b1892920249392">OK</strong>.</span><p><div class="fignone" id="mrs_01_24013__en-us_topic_0000001219231283_fig10932125853718"><a name="mrs_01_24013__en-us_topic_0000001219231283_fig10932125853718"></a><a name="en-us_topic_0000001219231283_fig10932125853718"></a><span class="figcap"><b>Figure 2 </b>Changing a path</span><br><span><img id="mrs_01_24013__en-us_topic_0000001219231283_image109321358203715" src="en-us_image_0000001295900172.png"></span></div>
|
|
</p></li><li id="mrs_01_24013__en-us_topic_0000001219231283_li362816469445"><span>In the connection area, select <strong id="mrs_01_24013__en-us_topic_0000001219231283_b786162434213">hetu</strong> > <strong id="mrs_01_24013__en-us_topic_0000001219231283_b14389173194215">hive</strong> > <strong id="mrs_01_24013__en-us_topic_0000001219231283_b451616346426">default</strong> > <strong id="mrs_01_24013__en-us_topic_0000001219231283_b82413311554">Views</strong>. In the <strong id="mrs_01_24013__en-us_topic_0000001219231283_b3644377435">New Data Set</strong> area on the right, select <strong id="mrs_01_24013__en-us_topic_0000001219231283_b62261618104313">SQL Data Set</strong>.</span><p><p id="mrs_01_24013__en-us_topic_0000001219231283_p683552318461"><span><img id="mrs_01_24013__en-us_topic_0000001219231283_image6835723154618" src="en-us_image_0000001349259309.png"></span></p>
|
|
</p></li><li id="mrs_01_24013__en-us_topic_0000001219231283_li202884813477"><span>In the <strong id="mrs_01_24013__en-us_topic_0000001219231283_b197151104419">Connection</strong> area, select the new data set created in <a href="#mrs_01_24013__en-us_topic_0000001219231283_li55331456256">3</a>. All table information is displayed. Select a table, for example, <strong id="mrs_01_24013__en-us_topic_0000001219231283_b3696185317447">test</strong>, and click <strong id="mrs_01_24013__en-us_topic_0000001219231283_b10210207184520">Refresh Data</strong>. All table information is displayed in the <strong id="mrs_01_24013__en-us_topic_0000001219231283_b1722183064519">Data Details</strong> area on the right.</span><p><p id="mrs_01_24013__en-us_topic_0000001219231283_p1292162520172"><span><img id="mrs_01_24013__en-us_topic_0000001219231283_image492281824719" src="en-us_image_0000001349059857.png"></span></p>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_2336.html">Using a Third-Party Visualization Tool to Access HetuEngine</a></div>
|
|
</div>
|
|
</div>
|
|
|