Support Questions
Find answers, ask questions, and share your expertise

Pig UDF Test cases: MiniGenericCluster cannot be resolved

Pig UDF Test cases: MiniGenericCluster cannot be resolved

Explorer

Hi,

Wanted to test a custom store udf. Took inspiration from TestStoreBase.java which uses

MiniGenericCluster to setup a dummy cluster.

But when I import in my java it says unable to resolve MiniGenericCluster. I am using POM of

<dependency><groupId>org.apache.pig</groupId><artifactId>pig</artifactId><version>0.8.0</version></dependency>

Could you help me to resolve the MiniGenericCluster issue or could you suggest some unit test cases without using MiniGenericCluster.

Please reply if more details are required.

Thank you.

1 REPLY 1

Re: Pig UDF Test cases: MiniGenericCluster cannot be resolved

Guru

Instead of setting up a minicluster via this java app (not really a cluster), I suggest you download the sandbox -- that way you have a fully featured clustered (even though one node) to work with. This will also let you follow Hortonworks tutorials.