Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Hive auxlib issues

$
0
0

Env: HDP 2.1 on Windows 2008

Does anyone know what would be the correct way to specify the jars in Hive auxlib directory (in hive-site.xml, hive-config)

1. File URL? Like, file:///C:/hdp21/hdp/hive-0.13.0.2.1.3.0-1948/auxlib/xxxx.jar

This results in the following error
java.io.FileNotFoundException: File file:/xxxx.jar does not exist

2. Using HIVE_HOME? %HIVE_HOME%\auxlib\xxxx.jar
This results in the following error

java.lang.IllegalArgumentException: Pathname /C:/hdp21/hdp/hive-0.13.0.2.1.3.0-1
948/auxlib/xxxx.jar from hdfs://XXXXXXXX:8020/C:/hdp21/hdp/hive-0.13.0.2.1.3.0-1948/auxlib/xxxxx.jar is not a valid DFS filename.

3. Unix-like path (without disk letter)? /hdp21/hdp/hive-0.13.0.2.1.3.0-1
948/auxlib/xxxx.jar
This results in the following error

java.io.FileNotFoundException: File does not exist: hdfs://YYYYYY:
8020/hdp21/hdp/hive-0.13.0.2.1.3.0-1948/auxlib/xxxxx.jar

Everything works if we add jars to Hive lib and everything works on Unix but on Windows we can not make it work.

Any insights are appreciated.


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>