Member since
05-24-2016
17
Posts
3
Kudos Received
0
Solutions
02-21-2017
04:47 AM
1 Kudo
@Raj Kadel The issue might be due to incorrect parameters for ACID, try below set: hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager hive.compactor.initiator.on=true. hive.compactor.worker.threads=10 hive.support.concurrency=true
... View more
12-22-2016
11:19 AM
Use df.map(row => {
val row1 = row.getAs[String]("vbeln")
val make = if (row1.toLowerCase == "125") "S" else "its 123"
(row(0),make,row(0)) }).collect().foreach(println)
Instead of: df.map(row => {
val row1 = row.getAs[String]("vbeln")
val make = if (row1.toLowerCase == "125") "S" else "its 123"
Row(row(0),make,row(0)) }).collect().foreach(println) You can map each line to a new one, but you don't need to return with a new Row. You should map each record to a new tuple (in case of simple types) or a new case class instance.
... View more
12-09-2016
11:59 AM
1 Kudo
HDP takes the hive-site.xml from /etc/hive/conf/hive-site.xml This is a sym link. The actual path can be found by issuing command as below
ls -lrt /usr/hdp/current/hive-client/conf
lrwxrwxrwx. 1 root root 23 Dec 6 06:48 /usr/hdp/current/hive-client/conf -> /etc/hive/2.5.0.0-154/0
... View more
07-25-2017
03:41 AM
I ran into same issue but it's automatically fixed after re-starting my data node server (re-boot physical linux server).
... View more
09-22-2017
08:36 PM
@Brazelton Mann I do get the same error as well, did you find a way to resolve this. Thanks.
... View more