Migrating production Hadoop clusters on-premises and to the cloud