cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3765) hadoop word count example is unable to output to cassandra with default settings
Date Sat, 21 Jan 2012 22:11:40 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-3765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-3765:
--------------------------------------

    Attachment: 3765.txt

Patch to fix defaults post-CASSANDRA-3197.

Still seeing (different) errors in record writer in the word count example; will address after
CASSANDRA-2878 since that touches the same code.
                
> hadoop word count example is unable to output to cassandra with default settings
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3765
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3765
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 1.1
>            Reporter: Jonathan Ellis
>            Assignee: Brandon Williams
>            Priority: Minor
>              Labels: hadoop
>             Fix For: 1.1
>
>         Attachments: 3765.txt
>
>
> {noformat}
> 12/01/21 06:03:16 WARN mapred.LocalJobRunner: job_local_0001
> java.lang.NullPointerException
>         at org.apache.cassandra.utils.FBUtilities.newPartitioner(FBUtilities.java:407)
>         at org.apache.cassandra.hadoop.ConfigHelper.getOutputPartitioner(ConfigHelper.java:384)
>         at org.apache.cassandra.client.RingCache.<init>(RingCache.java:58)
>         at org.apache.cassandra.hadoop.ColumnFamilyRecordWriter.<init>(ColumnFamilyRecordWriter.java:99)
>         at org.apache.cassandra.hadoop.ColumnFamilyRecordWriter.<init>(ColumnFamilyRecordWriter.java:93)
>         at org.apache.cassandra.hadoop.ColumnFamilyOutputFormat.getRecordWriter(ColumnFamilyOutputFormat.java:132)
>         at org.apache.cassandra.hadoop.ColumnFamilyOutputFormat.getRecordWriter(ColumnFamilyOutputFormat.java:62)
>         at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:553)
>         at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:408)
> {noformat}
> (Output to filesystem still works.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message