add cloudera repo to pom.xml. init tmp func in each connection