1. A computer program product for vertically tuning a distributed analytics cluster, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to: receive, by the processor, a job, the job including an application to be run on a virtual machine, a container, or a virtual machine and a container; determine, by the processor, whether the job matches another job saved to a job database; in response to determining that the job does not match another job saved to the job database: perform, by the processor, offline tuning for the job, the offline tuning including: performing one or more test runs of the job, determining one or more resource consumption patterns for the job, based on the one or more test runs of the job, estimating one or more parameters of the application, based on the one or more resource consumption patterns, and saving a job configuration for the job to the job database, where the job configuration includes the one or more estimated parameters of the application; in response to determining that the job does match another job saved to the job database: execute, by the processor, the job using the saved job configuration for the matching job, including one or more parameters of the application for the matching job, from the job database, monitor, by the processor, job statistics and resource usage during the execution of the job, perform, by the processor, online tuning for the job, the online tuning including updating the one or more parameters of the application for the job, based on the job statistics and the resource usage, the updating including: estimating a size of a sort buffer, based on a monitored output of a map task, estimating a size of a reduce buffer, based on a monitored input to a reduce task, updating a value of a parameter that controls a size of the sort buffer, and updating a value of a parameter that controls a size of the reduce buffer; adjust, by the processor, the execution of the job, utilizing the updated one or more parameters of the application for the job; and save, by the processor, the updated one or more parameters of the application for the job to the saved job configuration for the job to the job database.