When I am running a Hadoop .jar file from the command prompt, it throws an exception saying no such method StockKey method.
StockKey is my custom class defined for m
Make sure you have the default constructor, but I also had to add the static keyword to my class declaration. That is,
static
public class SecondarySort { public static void main(String[] args) {...} public static class StockKey extends ... {} }