Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-5679

Wide Row calls map method once per column in Hadoop MapReduce

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • CentOS 6.3, Hadoop 1.1.2, Cassandra 1.2.4

    • Normal

    Description

      When using Cassandra without wide row support in a Hadoop job, the map method gets a number of columns limited by the SlicePredicate every time the map method in the mapper is called; but when using wide row support, the map method is called once for every column. It seems like the limit in SlicePredicate is ignored when wide row set to true.

      This prevents in-map reducing code to work (i.e. emit top ten from a mapper).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              touchdown Tony Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: