Installed the sandbox on VirtualBox but could not upload a .csv file more than 200mb on HDFS using Ambari interface and getting a message 413 (Request Entity Too Large). The file upload bar stuck at 100%.
Though working fine with files size smaller than 200mb.
I feel like this is similar to this thread : cant-upload-files-with-more-than-1mb
Please see if the best answer provided there is helpfull for you.
you can also upload large files using HDFS command instead of using filesview.
Not Sure if files view supports such big data.
Unfortunately the thread you referred is little help because I am already using localhost:8080 to access Ambari. I had uploaded 4GB files using FilesView on windows docker. But could not upload same file on VirtualBox. So FilesView does suppoort large files. I have allocated 8GB RAM to VirtualBox and plenty of disk space.
Is there a file size cap somewhere on Ambari or the webserver hortonworks use? no idea which webserver.
What you need to do?
Firstly login ssh root to your host VM.
ssh firstname.lastname@example.org -p 2200
User: root Password: hadoop
Architecture of CDA presented here: https://hortonworks.com/tutorial/sandbox-architecture/
Then open and edit: /sandbox/proxy/nginx.conf
Set value for client_max_body_size 200m;
Then restart container:
Get container id
docker restart PID