1/30/2024 0 Comments Itemizer observer![]() Instead, I enhanced the way .VersionInfo locates the required properties file and included this updated version of the code in my jar. A number of articles on the web suggest resolving this "classpath" issue by copying jars into unnatural places or hacking tool startup scripts. This exception is caused because a class named .VersionInfo fails to find a file called *-version-info.properties when loaded by some tools. This worked very well for connecting to non-kerberized clusters, but when I began to test against kerberized clusters I hit the following exception: : Illegal Hadoop Version: Unknown (expected A.B.* format)Īt .(ShimLoader.java:168)Īt .(ShimLoader.java:143)Īt .(ShimLoader.java:129)Īt .(KerberosSaslHelper.java:54)Īt .HiveConnection.createBinaryTransport(HiveConnection.java:414)Īt .HiveConnection.openTransport(HiveConnection.java:191)Īt .HiveConnection.(HiveConnection.java:155)Īt .nnect(HiveDriver.java:105) When I first created this project the intent was to gather all required Hive dependencies into one single jar file to simplify scenarios like the one described here. You are now ready to execute your first query against Hive using DataGrip!.After creating the "Project Data Source", test the connection.Then add the following flags to "VM Options" on the "Advanced" tab. ![]() Make sure you load the hive-jdbc-uber-x.jar that you just downloaded.Ĭreate a new "Project Data Source" using the new Driver. Under "File" > "Data Sources.", create a new Driver. Kinit with an appropriate principal and launch DataGrip
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |