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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |