All Apps and Add-ons

Hunk 6.3.0 doesn’t seem to work with Hive (version 0.13) with Char(N) definitions

tsunamii
Path Finder

We realized recently that our Hunk 6.3.0 doesn’t seem to work with Hive (version 0.13) with Char(N) definitions.

0 Karma
1 Solution

splunkIT
Splunk Employee
Splunk Employee

Based on this link: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types
Char is only supported in version 0.13 and after
String is supported in earlier versions

As you can see from this link Hunk support Hive version 0.12 or before: http://docs.splunk.com/Documentation/Hunk/6.3.2/Hunk/ConfigureHivepreprocessor

The workaround - modify the Hunk property "vix.env.HUNK_THIRDPARTY_JARS" in your virtual index provider page by pointing all hive related jars to the ones defined in your HIVE_HOME/lib:

  • replace the .jar files under $SPLUNK_HOME/bin/jars/thirdparty/hive with that of yours. For example, these are my MapR hive .jar file I will be using:

hive-exec-0.13.0-mapr-1504.jar
hive-metastore-0.13.0-mapr-1504.jar
hive-serde-0.13.0-mapr-1504.jar

  • update the vix.env.HUNK_THIRDPARTY_JARS parameter values to reflect the new .jar files so Hunk can use them:

    $SPLUNK_HOME/bin/jars/thirdparty/hive/hive-exec-0.13.0-mapr-1504.jar,$SPLUNK_HOME/bin/jars/thirdparty/hive/hive-metastore-0.13.0-mapr-1504.jar,$SPLUNK_HOME/bin/jars/thirdparty/hive/hive-serde-0.13.0-mapr-1504.jar

View solution in original post

0 Karma

splunkIT
Splunk Employee
Splunk Employee

Based on this link: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types
Char is only supported in version 0.13 and after
String is supported in earlier versions

As you can see from this link Hunk support Hive version 0.12 or before: http://docs.splunk.com/Documentation/Hunk/6.3.2/Hunk/ConfigureHivepreprocessor

The workaround - modify the Hunk property "vix.env.HUNK_THIRDPARTY_JARS" in your virtual index provider page by pointing all hive related jars to the ones defined in your HIVE_HOME/lib:

  • replace the .jar files under $SPLUNK_HOME/bin/jars/thirdparty/hive with that of yours. For example, these are my MapR hive .jar file I will be using:

hive-exec-0.13.0-mapr-1504.jar
hive-metastore-0.13.0-mapr-1504.jar
hive-serde-0.13.0-mapr-1504.jar

  • update the vix.env.HUNK_THIRDPARTY_JARS parameter values to reflect the new .jar files so Hunk can use them:

    $SPLUNK_HOME/bin/jars/thirdparty/hive/hive-exec-0.13.0-mapr-1504.jar,$SPLUNK_HOME/bin/jars/thirdparty/hive/hive-metastore-0.13.0-mapr-1504.jar,$SPLUNK_HOME/bin/jars/thirdparty/hive/hive-serde-0.13.0-mapr-1504.jar

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...