mirror of https://github.com/apache/cassandra
Add ITransportFactory to cassandra-thrift jar
patch by Sam Tunnicliffe for CASSANDRA-4668
This commit is contained in:
parent
6a8ba07313
commit
aa7dafaca4
|
|
@ -739,6 +739,10 @@
|
|||
file="${build.dir}/${ant.project.name}-thrift-${version}.pom"/>
|
||||
<jar jarfile="${build.dir}/${ant.project.name}-thrift-${version}.jar"
|
||||
basedir="${build.classes.thrift}">
|
||||
<fileset dir="${build.classes.main}">
|
||||
<include name="org/apache/cassandra/thrift/ITransportFactory.class" />
|
||||
<include name="org/apache/cassandra/thrift/TFramedTransportFactory.class" />
|
||||
</fileset>
|
||||
<manifest>
|
||||
<attribute name="Implementation-Title" value="Cassandra"/>
|
||||
<attribute name="Implementation-Version" value="${version}"/>
|
||||
|
|
|
|||
|
|
@ -21,13 +21,11 @@ package org.apache.cassandra.thrift;
|
|||
*
|
||||
*/
|
||||
|
||||
import org.apache.hadoop.conf.Configuration;
|
||||
import org.apache.thrift.transport.TSocket;
|
||||
import org.apache.thrift.transport.TTransport;
|
||||
import org.apache.thrift.transport.TTransportException;
|
||||
|
||||
import javax.security.auth.login.LoginException;
|
||||
import java.io.IOException;
|
||||
|
||||
|
||||
public interface ITransportFactory
|
||||
|
|
|
|||
Loading…
Reference in New Issue