- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How can I solve this in pig: WARNING: Use "yarn jar" to launch YARN applications.
Created ‎09-26-2016 05:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎09-26-2016 09:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you execute the pig job with -useHCatalog? It requires to load hcatalog libraries.
Created ‎09-27-2016 02:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎01-03-2017 03:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"
