jeudi 25 juin 2015

hive unit test by maven

Now ,I want to take hive unit-test on maven.According to http://ift.tt/1BFyDRE "Addd a unit test",when I run the command"mvn test -Dtest=TestCliDriver -Phadoop-2",it has some errors:

[WARNING]The requested profile "hadoop-2" could not be activated because it does not exist. [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/root/hive/ql/src/test). Please verify you invoked Maven from the correct directory. -> [Help 1]

Can anybody tell how to do with this error? Thanks.

Aucun commentaire:

Enregistrer un commentaire