The migration of Hortonworks to an Amazon EMR cluster was accompanied by a consulting mission to optimize the solution. The objective is to fully exploit the CPU / RAM capacities made available by EMR, to enable the scaling of the solution and thus the construction of a Machine Learning model for fraud prediction.