On 10/21/2014 7:33 AM, xiaohe lan wrote:
Hello,I am new to hdfs, I want to know how to run a specific unit test of hdfs. I have imported hdfs project into IntelliJ IDEA, I can run a test just by right-click on the test and select Run test. Can I run a unit test from terminal and how ? I want to learn some hdfs APIs so I may add some code to the unit tests code and some a test. Thanks, Xiaohe
Hi Xiaohe, mvn test -Dtest=TestSomeTest e.g. mvn test -Dtest=TestEncryptionZones Charles