-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid argument in point-in-polygon-aggregation-mr #17
Comments
I assume you used |
Yes I’m using run-sample.sh to run. Here under I’m giving more information
More Information: I edited the file AggregationSampleDriver as below out put on terminal is <color="blue"> |
Idea for workaround (like #18): int argc = args.length;
int expected = 3;
if (argc > expected && AggregationSampleDriver.class.getName().equals(args[0])) {
for (int ix=0; ix<expected; ++ix) {
args[ix] = args[ix+argc-expected]; // shift by argc-expected
}
argc = expected; // pretend
} |
I downloaded code from https://github.com/Esri/gis-tools-for-hadoop/tree/master/samples/point-in-polygon-aggregation-mr and after building the jar file I run the example and got an error "Invalid argument" because there is a condition if (args.length != 3) when I ouput the args.length it is 6
As a matter of fact I didn't change anything from source code or shell script
The text was updated successfully, but these errors were encountered: