Skip to content

Commit

Permalink
Merge branch 'cassandra-2.0' into cassandra-2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mebigfatguy committed Dec 28, 2014
2 parents 12b9691 + e550ea6 commit 6124a73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions examples/hadoop_cql3_word_count/src/WordCount.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
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;
Expand Down Expand Up @@ -247,7 +246,7 @@ public int run(String[] args) throws Exception
else
{
job.setMapperClass(TokenizerMapper.class);
job.setInputFormatClass(CqlPagingInputFormat.class);
job.setInputFormatClass(CqlInputFormat.class);
ConfigHelper.setInputRpcPort(job.getConfiguration(), "9160");
}

Expand Down
3 changes: 1 addition & 2 deletions examples/hadoop_cql3_word_count/src/WordCountCounters.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
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;
Expand Down Expand Up @@ -156,7 +155,7 @@ public int run(String[] args) throws Exception
else
{
job.setMapperClass(SumMapper.class);
job.setInputFormatClass(CqlPagingInputFormat.class);
job.setInputFormatClass(CqlInputFormat.class);
ConfigHelper.setInputRpcPort(job.getConfiguration(), "9160");
}

Expand Down
2 changes: 1 addition & 1 deletion src/java/org/apache/cassandra/hadoop/pig/CqlStorage.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public CqlStorage(int pageSize)
{
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";
}

Expand Down

0 comments on commit 6124a73

Please sign in to comment.