- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
--mapreduce-job-name not working
Created on ‎03-11-2017 01:02 AM - edited ‎09-16-2022 04:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
As per the free-form query concept of sqoop, i am trying to use --mapreduce-job-name option to change the default name of job from queryResult.jar to a name that help me to identify it , but it's not working.
Anyone has suggestion on this?
Thanks,
Rupesh
Created ‎03-16-2017 11:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you let us know what name is it using instead of your --mapreduce-job-name ?
1 . Could you enable --verbose and trying firing a --mapreduce-job-name in test sqoop import just to see if its the same across all the sqoop commands.
2. whats your mapreduce-framework.name in mapred-site.xml
Created ‎03-21-2017 12:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you perform a simple import statement with --mapreduce-name to see if you are able to override the default jar name.
sqoop import --connect jdbc:mysql://localhost/Logo --username tuy --password **** --table Golo --mapreduce-job-name myJOb
Created ‎03-22-2017 09:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎03-16-2017 11:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you let us know what name is it using instead of your --mapreduce-job-name ?
1 . Could you enable --verbose and trying firing a --mapreduce-job-name in test sqoop import just to see if its the same across all the sqoop commands.
2. whats your mapreduce-framework.name in mapred-site.xml
Created ‎03-20-2017 11:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎03-21-2017 12:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you perform a simple import statement with --mapreduce-name to see if you are able to override the default jar name.
sqoop import --connect jdbc:mysql://localhost/Logo --username tuy --password **** --table Golo --mapreduce-job-name myJOb
Created ‎03-21-2017 11:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But i am not able to get the name that i am providing using --mapreduce-job-name
Created ‎03-22-2017 12:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
could you use --verbose in your import and paste the logs.
Created ‎03-22-2017 11:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks... i am able to see the name now. Actually i was checking the logs of the CLI rather than the log at HUE.
Created ‎03-22-2017 07:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
great. Just curious to know if it reflecting the same in Resource manager Web Ui
Created ‎03-22-2017 09:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎03-22-2017 09:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the perfect answer i was looking for. Thanks Harsh.
