HBASE-20108 Remove jline exclusion from ZooKeeper
Signed-off-by: Mike Drob <mdrob@apache.org>
This commit is contained in:
parent
96a42b7359
commit
ac18ae2722
@ -361,6 +361,9 @@ elif [ "$COMMAND" = "hfile" ] ; then
|
||||
CLASS='org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter'
|
||||
elif [ "$COMMAND" = "zkcli" ] ; then
|
||||
CLASS="org.apache.hadoop.hbase.zookeeper.ZKMainServer"
|
||||
for f in $HBASE_HOME/lib/zkcli/*.jar; do
|
||||
CLASSPATH="${CLASSPATH}:$f";
|
||||
done
|
||||
elif [ "$COMMAND" = "upgrade" ] ; then
|
||||
echo "This command was used to upgrade to HBase 0.96, it was removed in HBase 2.0.0."
|
||||
echo "Please follow the documentation at http://hbase.apache.org/book.html#upgrading."
|
||||
|
@ -425,6 +425,7 @@ goto :eof
|
||||
|
||||
:zkcli
|
||||
set CLASS=org.apache.hadoop.hbase.zookeeper.ZKMainServer
|
||||
set CLASSPATH=!CLASSPATH!;%HBASE_HOME%\lib\zkcli\*
|
||||
goto :eof
|
||||
|
||||
:mapredcp
|
||||
|
@ -271,6 +271,10 @@
|
||||
<groupId>org.apache.hbase</groupId>
|
||||
<artifactId>hbase-zookeeper</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jline</groupId>
|
||||
<artifactId>jline</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<profiles>
|
||||
<profile>
|
||||
|
@ -68,6 +68,7 @@
|
||||
<exclude>org.jruby:jruby-complete</exclude>
|
||||
<exclude>com.sun.jersey:*</exclude>
|
||||
<exclude>com.sun.jersey.contribs:*</exclude>
|
||||
<exclude>jline:jline</exclude>
|
||||
</excludes>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
@ -105,6 +106,12 @@
|
||||
<include>org.jruby:jruby-complete</include>
|
||||
</includes>
|
||||
</dependencySet>
|
||||
<dependencySet>
|
||||
<outputDirectory>lib/zkcli</outputDirectory>
|
||||
<includes>
|
||||
<include>jline:jline</include>
|
||||
</includes>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
|
||||
</assembly>
|
||||
|
7
pom.xml
7
pom.xml
@ -1341,6 +1341,8 @@
|
||||
<thrift.path>thrift</thrift.path>
|
||||
<thrift.version>0.9.3</thrift.version>
|
||||
<zookeeper.version>3.4.10</zookeeper.version>
|
||||
<!-- What ZooKeeper 3.4.x depends on and nothing more -->
|
||||
<jline.version>0.9.94</jline.version>
|
||||
<slf4j.version>1.7.25</slf4j.version>
|
||||
<clover.version>4.0.3</clover.version>
|
||||
<jamon-runtime.version>2.4.1</jamon-runtime.version>
|
||||
@ -1787,6 +1789,11 @@
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jline</groupId>
|
||||
<artifactId>jline</artifactId>
|
||||
<version>${jline.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.thrift</groupId>
|
||||
<artifactId>libthrift</artifactId>
|
||||
|
Loading…
x
Reference in New Issue
Block a user