Member since
09-25-2017
18
Posts
2
Kudos Received
1
Solution
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 6669 | 05-06-2019 09:12 AM |
05-06-2019
09:12 AM
adding : SparkContext.setSystemProperty("hive.metastore.sasl.enabled", "true")
SparkContext.setSystemProperty("hive.security.authorization.enabled", "true")
SparkContext.setSystemProperty("hive.metastore.kerberos.principal", "principal@domain")
SparkContext.setSystemProperty("hive.metastore.execute.setugi", "true") to the code resolved the problem.
... View more
05-01-2019
08:07 AM
No, if you only have one sink, you would have one file (assuming you don't use header variable buckets). The sink will consume from all three partitions and may deliver those in one batch to one file. -pd
... View more