- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
changing metastore in sqoop
- Labels:
-
Apache Sqoop
Created ‎05-08-2016 01:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I changed metastore for sqoop to a db in MySQL following this post. But , the last step here is
hadoop fs -put /etc/sqoop/conf/sqoop-site.xml /user/oozie/commons/
I see that we do not have a commons folder under oozie. What should I replace it with? Also, Now, I could successfully create a job using metaconnect but when I execute sqoop job -list.
It shows no jobs. I have confirmed that the job that I created exists. Does this have anything to do with change in metastore?
How do I fix this?
Created ‎05-08-2016 02:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can put sqoop-site.xml in /user/oozie/share/lib/lib-<timestamp>/sqoop/
if sqoop dir is not there then you can create it.
Created ‎05-08-2016 02:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can put sqoop-site.xml in /user/oozie/share/lib/lib-<timestamp>/sqoop/
if sqoop dir is not there then you can create it.
Created ‎05-08-2016 02:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It still does not show any jobs when I execute sqoop job -list
Created ‎05-08-2016 02:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@simran kaur - Sorry I forgot to tell you. whenever you update oozie sharelib with new files or any modification in oozie sharelib requires sharelibupdate.
Please run below command on oozie host as oozie user.
oozie admin -oozie http://<oozie-host>:11000/oozie -sharelibupdate
Created ‎05-08-2016 02:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let's keep separate questions in their own threads. This confuses readers.
Created ‎05-08-2016 02:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sure. get it .
Created ‎02-13-2017 07:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ Simran Kaur,
Can you re post the link to setting MYSQL as metastore for Sqoop. The above link is broken.
