Compiling the source code
javac -cp `hadoop classpath`:$HIVE_HOME/lib/* com/sym/*.java
Now creating the jar jar cfe session.jar com.sym.IncrEnvVariable com/sym/*.class
If the entry point class name is in a package it may use a '.' (dot) character as the delimiter.
For example, if Main.class is in a package called foo the entry point can be specified in the following ways:
jar cfe Main.jar foo.Main foo/Main.class
javac -cp `hadoop classpath`:$HIVE_HOME/lib/* com/sym/*.java
Now creating the jar jar cfe session.jar com.sym.IncrEnvVariable com/sym/*.class
If the entry point class name is in a package it may use a '.' (dot) character as the delimiter.
For example, if Main.class is in a package called foo the entry point can be specified in the following ways:
jar cfe Main.jar foo.Main foo/Main.class
No comments:
Post a Comment