Package org.apache.storm.hive.common
Class HiveUtils
- java.lang.Object
- 
- org.apache.storm.hive.common.HiveUtils
 
- 
 @Deprecated(since="2.7.1", forRemoval=true) public class HiveUtils extends Object Deprecated, for removal: This API element is subject to removal in a future version.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classHiveUtils.AuthenticationFailedDeprecated, for removal: This API element is subject to removal in a future version.
 - 
Constructor SummaryConstructors Constructor Description HiveUtils()Deprecated, for removal: This API element is subject to removal in a future version.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.apache.hadoop.security.UserGroupInformationauthenticate(boolean isTokenAuthEnabled, String keytab, String principal)Deprecated, for removal: This API element is subject to removal in a future version.static booleanisTokenAuthEnabled(Map<String,Object> conf)Deprecated, for removal: This API element is subject to removal in a future version.static voidlogAllHiveEndPoints(Map<org.apache.hive.hcatalog.streaming.HiveEndPoint,HiveWriter> allWriters)Deprecated, for removal: This API element is subject to removal in a future version.static org.apache.hive.hcatalog.streaming.HiveEndPointmakeEndPoint(List<String> partitionVals, HiveOptions options)Deprecated, for removal: This API element is subject to removal in a future version.static HiveWritermakeHiveWriter(org.apache.hive.hcatalog.streaming.HiveEndPoint endPoint, ExecutorService callTimeoutPool, org.apache.hadoop.security.UserGroupInformation ugi, HiveOptions options, boolean tokenAuthEnabled)Deprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
- 
Method Detail- 
makeEndPointpublic static org.apache.hive.hcatalog.streaming.HiveEndPoint makeEndPoint(List<String> partitionVals, HiveOptions options) throws org.apache.hive.hcatalog.streaming.ConnectionError Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
- org.apache.hive.hcatalog.streaming.ConnectionError
 
 - 
makeHiveWriterpublic static HiveWriter makeHiveWriter(org.apache.hive.hcatalog.streaming.HiveEndPoint endPoint, ExecutorService callTimeoutPool, org.apache.hadoop.security.UserGroupInformation ugi, HiveOptions options, boolean tokenAuthEnabled) throws HiveWriter.ConnectFailure, InterruptedException Deprecated, for removal: This API element is subject to removal in a future version.
 - 
authenticatepublic static org.apache.hadoop.security.UserGroupInformation authenticate(boolean isTokenAuthEnabled, String keytab, String principal) throws HiveUtils.AuthenticationFailedDeprecated, for removal: This API element is subject to removal in a future version.- Throws:
- HiveUtils.AuthenticationFailed
 
 - 
logAllHiveEndPointspublic static void logAllHiveEndPoints(Map<org.apache.hive.hcatalog.streaming.HiveEndPoint,HiveWriter> allWriters) Deprecated, for removal: This API element is subject to removal in a future version.
 
- 
 
-