Member since
12-29-2017
33
Posts
2
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2093 | 11-14-2018 01:40 AM |
04-25-2019
08:27 PM
Thanks, Shu.. It is working now
... View more
01-26-2019
01:38 AM
@Mahendiran Palani Samy Any updates if the answer resolved your issue please click "Accept" so that the thread is marked as close and can get referenced by other members for similar errors.
... View more
12-04-2018
08:13 PM
This issue got fixed by doing using single quote like below. val productsRDD=products.map(rec=>{ var r = rec.split('|') (r(0).toInt, r(1).toInt, r(2), r(3), r(4).toFloat, r(5)) })
... View more
11-18-2018
10:58 PM
After trying multiple options finally fixed this issue to passing per node and rack min sizes. I passed the values are parms to Sqoop like below. sqoop export \
-Dmapreduce.input.fileinputformat.split.minsize.per.rack=749983 \
-Dmapreduce.input.fileinputformat.split.minsize.per.node=749983 \
--connect jdbc:mysql://01-mysql-test232855.envnxs.net:3306/retail_export \
--username autoenv_root \
--export-dir /user/hive/warehouse/retail_db.db/orders \
-table orders\
-P
... View more
11-14-2018
01:40 AM
This issue is fixed by using the --drive like below in the SQOOP script
--driver com.mysql.jdbc.Driver
... View more
11-15-2018
08:45 PM
Please find the screen shot the HIVE QL. screen-shot-2018-11-15-at-34106-pm.png
... View more
12-19-2017
08:09 PM
Thanks, Shu.. The problem is fixed after I move the file to local. Thanks for the response.
... View more
10-30-2017
02:07 AM
This problem got solved after adding "Auto commit" to true. Below is the updated code. val driverClass = "com.microsoft.sqlserver.jdbc.SQLServerDriver"
val connectionProperties = new java.util.Properties()
connectionProperties.setProperty("Driver", driverClass)
connectionProperties.setProperty("AutoCommit", "true")
... View more