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>
36 lines
6.9 KiB
HTML
36 lines
6.9 KiB
HTML
<a name="dataartsstudio_03_0418"></a><a name="dataartsstudio_03_0418"></a>
|
|
|
|
<h1 class="topictitle1">What Should I Do If an Error Message Is Displayed When I View Logs?</h1>
|
|
<div id="body0000001529127473"><div class="section" id="dataartsstudio_03_0418__section194087224544"><h4 class="sectiontitle">Symptom</h4><p id="dataartsstudio_03_0418__p1591103211547">When you view the logs of a data development node, the error message shown in the following figure is displayed.</p>
|
|
<div class="fignone" id="dataartsstudio_03_0418__fig139163214541"><span class="figcap"><b>Figure 1 </b>Message displayed</span><br><span><img id="dataartsstudio_03_0418__image34351915191912" src="en-us_image_0000002269116145.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
<p id="dataartsstudio_03_0418__p991153217540"></p>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_03_0418__section73861445544"><h4 class="sectiontitle">Possible Causes</h4><p id="dataartsstudio_03_0418__p960310487543">Logs of data development jobs are stored in OBS buckets. This message is displayed if the user group to which you belong does not have the OBS operation permission, or no OBS log file is available.</p>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_03_0418__section888214501543"><h4 class="sectiontitle">Solution</h4><ol id="dataartsstudio_03_0418__ol430751517718"><li id="dataartsstudio_03_0418__li12961616715">Log in to the IAM management console as the administrator.</li><li id="dataartsstudio_03_0418__li16296161976">In the navigation pane, choose <strong id="dataartsstudio_03_0418__b187149252213">Users</strong>. Then click your username to go to the user information page.</li><li id="dataartsstudio_03_0418__li659416554920">Obtain the user group to which your user belongs.<div class="fignone" id="dataartsstudio_03_0418__fig5130102661914"><span class="figcap"><b>Figure 2 </b>User group to which your user belongs</span><br><span><img id="dataartsstudio_03_0418__image201860319481" src="en-us_image_0000002424389693.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
<p id="dataartsstudio_03_0418__p1715574410313"></p>
|
|
</li><li id="dataartsstudio_03_0418__li99193913106">In the navigation pane, choose <strong id="dataartsstudio_03_0418__b159681114255">User Groups</strong>. Locate the row that contains the user group obtained in the previous step and click <strong id="dataartsstudio_03_0418__b825154902610">Authorize</strong> in the <strong id="dataartsstudio_03_0418__b1692619192711">Operation</strong> column.</li><li id="dataartsstudio_03_0418__li55467493234">On the displayed <strong id="dataartsstudio_03_0418__b159361822102710">Authorize User Group</strong> page, search for and select the <strong id="dataartsstudio_03_0418__b1252642692816">OBS OperateAccess</strong> or <strong id="dataartsstudio_03_0418__b410320414285">OBS Administrator</strong> permission.<div class="fignone" id="dataartsstudio_03_0418__fig81454241268"><span class="figcap"><b>Figure 3 </b>Assigning permissions to the user group</span><br><span><img id="dataartsstudio_03_0418__image166529262486" src="en-us_image_0000002424509573.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
<p id="dataartsstudio_03_0418__p17358142419303"></p>
|
|
</li><li id="dataartsstudio_03_0418__li177049032719">Click <strong id="dataartsstudio_03_0418__b3250165442912">Next</strong> and select the scope requiring minimum authorization. The <strong id="dataartsstudio_03_0418__b1639516323313">All resources</strong> option is selected by default.</li><li id="dataartsstudio_03_0418__li16419536284">Click <strong id="dataartsstudio_03_0418__b5416933103018">OK</strong>.<p id="dataartsstudio_03_0418__p173824313514">If the permissions are correct, check whether a log file exists in the OBS bucket.</p>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_03_0418__section33721559508"><h4 class="sectiontitle">Handling the Error After Running a Job</h4><ol id="dataartsstudio_03_0418__ol1180382515219"><li id="dataartsstudio_03_0418__li666374145211">Log in to the IAM management console as the administrator.</li><li id="dataartsstudio_03_0418__li1663154110522">In the navigation pane, choose <strong id="dataartsstudio_03_0418__b42305242226">Users</strong>. Then click your username to go to the user information page.</li><li id="dataartsstudio_03_0418__li866374112523">Click <span><img id="dataartsstudio_03_0418__image3688103435913" src="en-us_image_0000002234236792.png"></span> next to <strong id="dataartsstudio_03_0418__b129871410231">Access Type</strong> to change the access type.</li><li id="dataartsstudio_03_0418__li190616551119">Select <strong id="dataartsstudio_03_0418__b7303122014238">Programmatic access</strong> and <strong id="dataartsstudio_03_0418__b9621182716236">Management console access</strong>.<div class="fignone" id="dataartsstudio_03_0418__fig56981241924"><span class="figcap"><b>Figure 4 </b>Configuring the access type</span><br><span><img id="dataartsstudio_03_0418__image1269844116212" src="en-us_image_0000002269196181.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
<p id="dataartsstudio_03_0418__p1911165381313"></p>
|
|
</li><li id="dataartsstudio_03_0418__li44601593220">Click <strong id="dataartsstudio_03_0418__b1448109192410">OK</strong>.<div class="notice" id="dataartsstudio_03_0418__note565143041619"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="dataartsstudio_03_0418__ul12778152719243"><li id="dataartsstudio_03_0418__li18778162716242">When creating a workspace on the management console, you can set the OBS path for storing job logs only to an OBS object bucket rather than a parallel file system. If you do not set the OBS path for storing job logs, DataArts Factory writes logs to the <strong id="dataartsstudio_03_0418__b20240152613276">dlf-log-</strong><em id="dataartsstudio_03_0418__i84419298272">{projectId}</em> bucket, and DataArts DataService writes logs to the <strong id="dataartsstudio_03_0418__b181953478275">dlm-log-</strong><em id="dataartsstudio_03_0418__i95391249112719">{projectId}</em> bucket by default.</li><li id="dataartsstudio_03_0418__li877812278243">If you do not select an existing OBS bucket for <strong id="dataartsstudio_03_0418__b18146454301">Job Log Path</strong>, the default <strong id="dataartsstudio_03_0418__b248384013309">dlf-log-</strong><em id="dataartsstudio_03_0418__i24835404306">{projectId}</em> bucket cannot be created when you run the job for the first time. As a result, logs cannot be written. To ensure that job logs can be properly written to the OBS bucket, select an existing OBS path when creating a workspace.</li></ul>
|
|
</div></div>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_03_0035.html">DataArts Factory</a></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script language="JavaScript">
|
|
<!--
|
|
initImageViewer('.imgResize');
|
|
var msg_imageMax = "view original image";
|
|
var msg_imageClose = "close";
|
|
//--></script> |