Member since
01-08-2017
8
Posts
0
Kudos Received
0
Solutions
03-22-2017
11:37 AM
Thanks... i am able to see the name now. Actually i was checking the logs of the CLI rather than the log at HUE.
... View more
03-21-2017
11:35 AM
Still it's not working. if i am importing a single table, the jar is created with tablename.jar and in case of free-form-query QueryResult.jar is coming. But i am not able to get the name that i am providing using --mapreduce-job-name
... View more
03-20-2017
11:03 PM
a. I am using the below command. Where i want to change the name of the job from QueryResult.jar to rupesh.jar . but its not happening. b. framework is yarn in the mapred-site.xml sqoop import --connect jdbc:mysql://localhost/retail_db --username **** --password ******* --query "SELECT O1.order_id,\ O1.order_date, \ O1.order_customer_id, \ O2.order_item_order_id, \ O2.order_item_product_id, \ O2.order_item_quantity \ FROM orders as O1 \ JOIN order_items as O2 ON(O1.order_id=O2.order_item_id) \ WHERE \$CONDITIONS AND O1.order_id <=3000" --split-by O1.order_id --target-dir /user/cloudera/rupesh7 --mapreduce-job-name rupesh upon executing the above query getting below message. 17/03/20 21:26:52 INFO orm.CompilationManager: Writing jar file: /tmp/sqoop-cloudera/compile/65c368533cccb526215d289ef0bb62c7/QueryResult.jar 17/03/20 21:26:52 INFO mapreduce.ImportJobBase: Beginning query import.
... View more
03-11-2017
01:02 AM
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
... View more
Labels:
01-08-2017
12:07 PM
Thanks The same issue i was facing.This post helped me in resloving the issue.
... View more