Yang, Tong 6182f91ba8 MRS component operation guide_normal 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-12-09 14:55:21 +00:00

47 lines
3.8 KiB
HTML

<a name="mrs_01_2367"></a><a name="mrs_01_2367"></a>
<h1 class="topictitle1">How Do I Do If a Large File Fails to Upload on the Hue Page?</h1>
<div id="body0000001073226723"><div class="section" id="mrs_01_2367__section6439510132019"><h4 class="sectiontitle">Question</h4><p id="mrs_01_2367__acc6e4168a6a141fca8c9073b0931629b">What can I do when a large file fails to be uploaded on the Hue page?</p>
</div>
<div class="section" id="mrs_01_2367__s386d6384f2174e04b4f5de06ef3546c0"><h4 class="sectiontitle">Answer</h4><ol id="mrs_01_2367__ol1267023518403"><li id="mrs_01_2367__li1467013358400">You are advised to run commands on the client to upload large files instead of using the Hue file browser.</li><li id="mrs_01_2367__li0670103564016">If you must use Hue to upload the file, perform the following steps to modify Httpd parameters:<ol type="a" id="mrs_01_2367__ol82481537174010"><li id="mrs_01_2367__li191791916412">Log in to the active management node as user <strong id="mrs_01_2367__b1039510203449">omm</strong>.</li><li id="mrs_01_2367__li6831714184110">Run the following command to edit the <strong id="mrs_01_2367__b040752094816">httpd.conf</strong> file:<p id="mrs_01_2367__p1474081444114"><strong id="mrs_01_2367__b14106219114119">vi $BIGDATA_HOME/om-server/Apache-httpd-*/conf/httpd.conf</strong></p>
</li><li id="mrs_01_2367__li11589126114217">Search for <strong id="mrs_01_2367__b156741219144119">21201</strong> and add <strong id="mrs_01_2367__b66801019134110">RequestReadTimeout handshake=0 header=0 body=0</strong> to the <strong id="mrs_01_2367__b1168031912418">&lt;/VirtualHost&gt;</strong> configuration, as shown in the following:<pre class="screen" id="mrs_01_2367__screen1414251912454">...
&lt;VirtualHost *:21201&gt;
ServerName https://10.112.16.93:21201
AllowEncodedSlashes On
SSLProxyEngine On
ProxyRequests Off
TraceEnable off
ProxyTimeout 1200
RewriteEngine on
RewriteMap proxylist dbm:<em id="mrs_01_2367__i1890134211572">${BIGDATA_ROOT_HOME}</em>/om-server_*/Apache-httpd-*/conf/proxylist.dbm
RewriteRule ^(\/.*)$ ${proxylist:/Hue/Hue/21201}$1 [E=TARGET_PATH:$1,L,P]
Header edit Location ^(?!https://10.112.16.93:20009|https://10.112.16.93:21201)http[s]?://[^/]*(.*)$ https://10.112.16.93:21201$1
ProxyPassReverseCookiePath / / interpolate
SSLEngine On
SSLProxyProtocol All +TLSv1.2 -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLProtocol ALL +TLSv1.2 -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:DHE-DSS-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:DHE-DSS-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256
SSLProxyCheckPeerName off
SSLProxyCheckPeerCN off
SSLCertificateFile "<em id="mrs_01_2367__i12288463571">${BIGDATA_ROOT_HOME}</em>/om-server_*/Apache-httpd-*/conf/security/proxy_ssl.cert"
SSLCertificateKeyFile "<em id="mrs_01_2367__i12371164835716">${BIGDATA_ROOT_HOME}</em>/om-server_*/Apache-httpd-*/conf/security/server.key"
SSLProxyCACertificateFile <em id="mrs_01_2367__i12251135114572">${BIGDATA_ROOT_HOME}</em>/om-server_*/apache-tomcat-*/conf/security/tomcat.crt
SSLCertificateChainFile "<em id="mrs_01_2367__i18104105418578">${BIGDATA_ROOT_HOME}</em>/om-server_*/Apache-httpd-2.4.39/conf/security/proxy_chain.cert"
<strong id="mrs_01_2367__b77311630164611">RequestReadTimeout handshake=0 header=0 body=0</strong>
&lt;/VirtualHost&gt;
...</pre>
</li><li id="mrs_01_2367__li7405856124610">Run the <strong id="mrs_01_2367__b104421110132217">pkill -9 httpd</strong> command to stop the httpd process and wait for it to automatically restart.</li></ol>
</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1764.html">Common Issues About Hue</a></div>
</div>
</div>