Avro
  1. Avro
  2. AVRO-1138

avro-c: can`t set default block size in avro_file_writer_open

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: c
    • Labels:
      None

      Description

      There is no way to set a default block size while opening avro log. For example, I can create a file writer with a custom block size (say, 128kb) and write a big record. But if I`ll open it later trying to write something bigger than default size (say, 90kb record), I`ll get an error.

      1. AVRO-1138.patch
        2 kB
        Pugachev Maxim

        Activity

        Pugachev Maxim created issue -
        Hide
        Pugachev Maxim added a comment -

        Patch for this issue.

        Show
        Pugachev Maxim added a comment - Patch for this issue.
        Pugachev Maxim made changes -
        Field Original Value New Value
        Attachment AVRO-1138.patch [ 12540656 ]
        Pugachev Maxim made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Pugachev Maxim added a comment -

        Any chances for reviewing it?

        Show
        Pugachev Maxim added a comment - Any chances for reviewing it?
        Hide
        Douglas Creager added a comment -

        Looks good. Merged into SVN, with some minor whitespace modifications.

        Show
        Douglas Creager added a comment - Looks good. Merged into SVN, with some minor whitespace modifications.
        Douglas Creager made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 1.7.2 [ 12322476 ]
        Resolution Fixed [ 1 ]
        Douglas Creager made changes -
        Component/s c [ 12312857 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        1m 1s 1 Pugachev Maxim 13/Aug/12 14:58
        Patch Available Patch Available Resolved Resolved
        31d 7h 14m 1 Douglas Creager 13/Sep/12 22:12
        Resolved Resolved Closed Closed
        12d 3m 1 Doug Cutting 25/Sep/12 22:16

          People

          • Assignee:
            Unassigned
            Reporter:
            Pugachev Maxim
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development