Created 09-26-2016 05:46 AM
job-1474865109830-0012-logs.txt
I have met this problem when I using pig with tutorial
it tell me that WARNING: Use "yarn jar" to launch YARN applications.
and more error follows up
how can I solve it?
thanks!
Created 09-27-2016 02:38 AM
@Atrem Ervits
Yes, I have load -useHCatalog
I fix the error and can show the result,
but it still have warning "Use "yarn jar" to launch YARN applications."
Created 09-26-2016 07:11 AM
Created 09-26-2016 09:37 AM
Did you execute the pig job with -useHCatalog? It requires to load hcatalog libraries.
Created 09-27-2016 02:38 AM
@Atrem Ervits
Yes, I have load -useHCatalog
I fix the error and can show the result,
but it still have warning "Use "yarn jar" to launch YARN applications."
Created 12-29-2016 10:27 AM
Created 01-03-2017 03:08 PM
the problem is that the column "totmiles" in table riskfactor is of type BIGINT while the input for it coming from the "drivermileage" table is of type DOUBLE. So you either have to change the type of the "totmiles" column in "drivermileage" or in "riskfactor". Another option might be a simple cast from DOUBLE to BIGINT. I just recreated the "riskfactor" table using DOUBLE as type for "totmileage"