Member since
11-04-2018
16
Posts
1
Kudos Received
0
Solutions
02-08-2019
02:58 PM
@Geoffrey Shelton Okot Kindly help me out
... View more
02-08-2019
02:58 PM
I am trying to import data from mysql to hdfs. While importing, I need all the string fields to have double quotes and non-string fields with no double quotes. sqoop import \
--connect jdbc:mysql://<hostname>:3306/retail_db \
--username <user> \
--password <password> \
--target-dir /user/nikhilvemula/sqoop_import/retail_db/orders_test \
--num-mappers 1 \
--query "SELECT * FROM orders WHERE \$CONDITIONS and order_date LIKE '2014-01-%'" \
--enclosed-by '"' \
--null-string '\\N' \
--null-non-string '\\N' \
--delete-target-dir Expected: 25876,2014-01-01 00:00:00.0,3414,"PENDING_PAYMENT"
Actual result I got: "25876","2014-01-01 00:00:00.0","3414","PENDING_PAYMENT"
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Sqoop
07-17-2018
08:46 PM
@Rock Zhang Can you explain clearly? How did you fix the issue?
... View more
04-09-2018
11:10 PM
I don't find the m3.2xlarge
... View more
04-09-2018
08:40 PM
@Geoffrey Shelton Okot I dont find m3.2xlarge option on my aws instance Hortonworks HDPCDeveloper_2.2 PracticeExam_v7.
... View more
04-09-2018
04:22 PM
unable to find the AMI “Hortonworks HDPCDeveloper" on AWS My region is Ohio
... View more