mirror of https://github.com/apache/cassandra
fix errant CPIF references
This commit is contained in:
parent
f136bacb92
commit
0757dc72f2
|
|
@ -26,7 +26,6 @@ import org.apache.cassandra.hadoop.cql3.CqlOutputFormat;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import org.apache.cassandra.hadoop.cql3.CqlPagingInputFormat;
|
||||
import org.apache.cassandra.hadoop.cql3.CqlInputFormat;
|
||||
import org.apache.cassandra.hadoop.ConfigHelper;
|
||||
import org.apache.cassandra.utils.ByteBufferUtil;
|
||||
|
|
@ -247,7 +246,7 @@ public class WordCount extends Configured implements Tool
|
|||
else
|
||||
{
|
||||
job.setMapperClass(TokenizerMapper.class);
|
||||
job.setInputFormatClass(CqlPagingInputFormat.class);
|
||||
job.setInputFormatClass(CqlInputFormat.class);
|
||||
ConfigHelper.setInputRpcPort(job.getConfiguration(), "9160");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import org.apache.cassandra.hadoop.cql3.CqlConfigHelper;
|
||||
import org.apache.cassandra.hadoop.cql3.CqlPagingInputFormat;
|
||||
import org.apache.cassandra.hadoop.cql3.CqlInputFormat;
|
||||
import org.apache.hadoop.conf.Configuration;
|
||||
import org.apache.hadoop.conf.Configured;
|
||||
|
|
@ -156,7 +155,7 @@ public class WordCountCounters extends Configured implements Tool
|
|||
else
|
||||
{
|
||||
job.setMapperClass(SumMapper.class);
|
||||
job.setInputFormatClass(CqlPagingInputFormat.class);
|
||||
job.setInputFormatClass(CqlInputFormat.class);
|
||||
ConfigHelper.setInputRpcPort(job.getConfiguration(), "9160");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ public class CqlStorage extends AbstractCassandraStorage
|
|||
{
|
||||
super();
|
||||
this.pageSize = pageSize;
|
||||
DEFAULT_INPUT_FORMAT = "org.apache.cassandra.hadoop.cql3.CqlPagingInputFormat";
|
||||
DEFAULT_INPUT_FORMAT = "org.apache.cassandra.hadoop.cql3.CqlInputFormat";
|
||||
DEFAULT_OUTPUT_FORMAT = "org.apache.cassandra.hadoop.cql3.CqlOutputFormat";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue