> > > I’m trying to run Hive, but I’m getting the message Missing Hive > > Execution Jar: hive/lib/hive-exec-*.jar. I followed all the downloa > > d and build instructions on the Wiki page. >
It sounds like you are trying to run the hive script located in bin/ instead of the one located in build/dist/bin (build/dist is the default installation directory). Assuming that you have the Hive source code checked out to a directory named hive-trunk and that you built Hive without specifying the 'target.dir' property, you want HIVE_HOME to point to hive-trunk/build/dist, and you should add $HIVE_HOME/bin to your PATH. So when you run 'hive' it should pick up the copy in hive-trunk/build/dist/bin instead of the version in hive-trunk/bin. Do a find | grep jar, in hive's directory, then cp all jars found to > lib/ off the main hive directory. There are several that are not > automatically copied there as part of the build, and this will fix > things. > Please don't do this. There are conflicting versions of libthrift and libfb303 located in subdirectories of the Hive source tree. Ordinarily this does not cause a problem since they don't end up on the CLASSPATH. If you already copied all of the jars to lib/ you should probably rm -rf your workspace and do a fresh checkout and build. Thanks. Carl
