• Skip to main content
  • Skip to primary sidebar
  • Advertise

Computer Tips And Tricks, Gadgets, How-To, Life - 2.0 Style

Get latest technology updates and computer tips and tricks.

How to Check the List of Jars Included in Hive ClassPath

May 4, 2012 by Gautam

At times you’ll need to be aware of all the jars that are available in Hive Classpath. The Query to get a list of all jars that are included in the ClassPath of Hive, run the following Query:

hive> list jars;

This will list all the jars, the ones that are added explicitly by you, and the ones that are available by default.

The output will look like:

/usr/local/…..*.jar

/usr/local/…..*.jar

file:/usr/local/…..*.jar

/usr/local/…..*.jar

The jar location with file: prefix is the one which was available in the ClassPath by default. The others were added explicitly by users using the “add jar <absolute / relative class path>“

Filed Under: Computer Tips And Tricks Tagged With: hadoop, hive

Reader Interactions

Comments

  1. Aditya Raghavan says

    December 26, 2016 at 1:18 am

    Can there be a case where there are no default JARs available in the ClassPath? When I list Jars in Hive, it shows me nothing. I then need to add it explicitly, even the ones containing the SerDe classes which are default ones and should be available implicitly.

Primary Sidebar

Copyright © 2023 · Magazine Pro on Genesis Framework · WordPress · Log in