Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-378

Log error trace as well as error message in GoraRecordWriter

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.6
    • Component/s: gora-core
    • Labels:

      Description

      Right now I am logging a rather annoying error when attempting to flush Super Columns to Cassandra 2.0.7 which reads as follows

      2014-09-26 20:43:15,847 WARN mapreduce.GoraRecordWriter - Exception at GoraRecordWriter.class while closing datastore.InvalidRequestException(why:supercolumn parameter is not optional for super CF sc)

      Yes, this is useful, however it would be better (for debugging purposes) if I could catch an entire stack trace as well within the log output.

      Patch coming up for GoraRecordWriter which does just this.

        Attachments

          Activity

            People

            • Assignee:
              lewismc Lewis John McGibbney
              Reporter:
              lewismc Lewis John McGibbney
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: