public final class KuduHiveUtils extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.conf.Configuration |
createOverlayedConf(org.apache.hadoop.conf.Configuration conf,
Properties tblProps)
Returns the union of the configuration and table properties with the
table properties taking precedence.
|
static org.apache.kudu.client.KuduClient |
getKuduClient(org.apache.hadoop.conf.Configuration conf) |
static String |
getMasterAddresses(org.apache.hadoop.conf.Configuration conf) |
static void |
importCredentialsFromCurrentSubject(org.apache.kudu.client.KuduClient client) |
static PrimitiveTypeInfo |
toHiveType(org.apache.kudu.Type kuduType,
org.apache.kudu.ColumnTypeAttributes attributes) |
public static org.apache.hadoop.conf.Configuration createOverlayedConf(org.apache.hadoop.conf.Configuration conf, Properties tblProps)
public static String getMasterAddresses(org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public static org.apache.kudu.client.KuduClient getKuduClient(org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public static void importCredentialsFromCurrentSubject(org.apache.kudu.client.KuduClient client)
public static PrimitiveTypeInfo toHiveType(org.apache.kudu.Type kuduType, org.apache.kudu.ColumnTypeAttributes attributes) throws SerDeException
SerDeException
Copyright © 2022 The Apache Software Foundation. All rights reserved.