Java code with R classifier algorithms using hadoop.