mirror of https://github.com/apache/cassandra
Fix pig build after FBU->Hex move.
Patch by Brian Oneill reviewed by brandonwilliams for CASSANDRA-3341 git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1182458 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ab95f980f4
commit
e860d2fdf5
|
|
@ -26,7 +26,7 @@ import org.apache.cassandra.db.marshal.BytesType;
|
|||
import org.apache.cassandra.db.marshal.IntegerType;
|
||||
import org.apache.cassandra.db.marshal.TypeParser;
|
||||
import org.apache.cassandra.thrift.*;
|
||||
import org.apache.cassandra.utils.FBUtilities;
|
||||
import org.apache.cassandra.utils.Hex;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
|
|
@ -601,7 +601,7 @@ public class CassandraStorage extends LoadFunc implements StoreFuncInterface, Lo
|
|||
TSerializer serializer = new TSerializer(new TBinaryProtocol.Factory());
|
||||
try
|
||||
{
|
||||
return FBUtilities.bytesToHex(serializer.serialize(cfDef));
|
||||
return Hex.bytesToHex(serializer.serialize(cfDef));
|
||||
}
|
||||
catch (TException e)
|
||||
{
|
||||
|
|
@ -616,7 +616,7 @@ public class CassandraStorage extends LoadFunc implements StoreFuncInterface, Lo
|
|||
CfDef cfDef = new CfDef();
|
||||
try
|
||||
{
|
||||
deserializer.deserialize(cfDef, FBUtilities.hexToBytes(st));
|
||||
deserializer.deserialize(cfDef, Hex.hexToBytes(st));
|
||||
}
|
||||
catch (TException e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue