public class HiveUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
HiveUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
logAllHiveEndPoints(Map<org.apache.hive.hcatalog.streaming.HiveEndPoint,HiveWriter> allWriters) |
static org.apache.hive.hcatalog.streaming.HiveEndPoint |
makeEndPoint(List<String> partitionVals,
HiveOptions options) |
static HiveWriter |
makeHiveWriter(org.apache.hive.hcatalog.streaming.HiveEndPoint endPoint,
ExecutorService callTimeoutPool,
org.apache.hadoop.security.UserGroupInformation ugi,
HiveOptions options,
org.apache.hadoop.hive.conf.HiveConf hiveConf) |
public static org.apache.hive.hcatalog.streaming.HiveEndPoint makeEndPoint(List<String> partitionVals, HiveOptions options) throws org.apache.hive.hcatalog.streaming.ConnectionError
org.apache.hive.hcatalog.streaming.ConnectionErrorpublic static HiveWriter makeHiveWriter(org.apache.hive.hcatalog.streaming.HiveEndPoint endPoint, ExecutorService callTimeoutPool, org.apache.hadoop.security.UserGroupInformation ugi, HiveOptions options, org.apache.hadoop.hive.conf.HiveConf hiveConf) throws HiveWriter.ConnectFailure, InterruptedException
public static void logAllHiveEndPoints(Map<org.apache.hive.hcatalog.streaming.HiveEndPoint,HiveWriter> allWriters)
Copyright © 2023 Apache NiFi Project. All rights reserved.