Fixed Ubuntu issues to mirror CDH4