HDFS and RDBMS code merge