HDFS support depends on the version. A long time it was not supported.
> On 23. Feb 2018, at 21:08, Andy Srine wrote:
>
> Team,
>
> Is ADD JAR from HDFS (ADD JAR hdfs:///hive_jars/hive-contrib-2.1.1.jar;)
> supported in hiveserver2 via an ODBC connection?
>
> Some
Add JAR works with HDFS, though perhaps not with ODBC drivers.ADD JAR hdfs://:8020/hive_jars/hive-contrib-2.1.1.jar should work (depending on your nn port and confirm this file exists)Alternative syntaxADD JAR hdfs:/hive_jars/hive-contrib-2.1.1.jarThe ODBC driver could be having an issue with the
Add jar works only with local files on the Hive server.
> On 23. Feb 2018, at 21:08, Andy Srine wrote:
>
> Team,
>
> Is ADD JAR from HDFS (ADD JAR hdfs:///hive_jars/hive-contrib-2.1.1.jar;)
> supported in hiveserver2 via an ODBC connection?
>
> Some relevant points:
>
Team,
Is ADD JAR from HDFS (ADD JAR hdfs:///hive_jars/hive-contrib-2.1.1.jar;)
supported in hiveserver2 via an ODBC connection?
Some relevant points:
- I am able to do it in Hive 2.1.1 via JDBC (beeline), but not via an
ODBC client.
- In Hive 1.2.1, I can add a jar from the local node,