HBASE-18697 (addendum) Add "o.a.h.h.mapreduce.Driver" as main class to hbase-shaded-mapreduce jar.
Without it, following command fails. bin/hadoop jar <jar> rowcouter <table> In general, the 'program names' won't work. One would have needed to specify class name explicitly otherwise. Change-Id: Ib94cca5e9fc45b19436b7ae0d6634de097572537
This commit is contained in:
parent
2359ef518a
commit
966f5ca3db
|
@ -45,6 +45,20 @@
|
||||||
<skipAssembly>true</skipAssembly>
|
<skipAssembly>true</skipAssembly>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<archive>
|
||||||
|
<manifest>
|
||||||
|
<!--Include the Driver class as the 'main'.
|
||||||
|
Executing the jar will then show a list of the basic MR jobs.
|
||||||
|
-->
|
||||||
|
<mainClass>org/apache/hadoop/hbase/mapreduce/Driver</mainClass>
|
||||||
|
</manifest>
|
||||||
|
</archive>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
Loading…
Reference in New Issue