HBase
  1. HBase
  2. HBASE-1155

Verify that FSDataoutputStream.sync() works

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.19.0
    • Fix Version/s: 0.90.0
    • Component/s: master, regionserver
    • Labels:
      None

      Description

      In order to guarantee that an HLog sync() flushes the data to the HDFS, we will need to invoke FSDataOutputStream.sync() per HADOOP-4379.

      Currently, there is no access to the underlying FSDataOutputStream from SequenceFile.Writer, as it is a package private member.

      1. patch.txt
        7 kB
        Jim Kellerman

        Issue Links

          Activity

          Jim Kellerman created issue -
          Jim Kellerman made changes -
          Field Original Value New Value
          Link This issue is blocked by HADOOP-4379 [ HADOOP-4379 ]
          Jim Kellerman made changes -
          Description In order to guarantee that an HLog sync() flushes the data to the HDFS, we will need to invoke FSDataOutputStream.sync() per HADOOP-4379.

          Currently, there is no access to the underlying FSDataOutputStream from SequenceFile.Writer, as it is a package private member.

          Waiting on HADOOP-4379 to see how this plays out.
          In order to guarantee that an HLog sync() flushes the data to the HDFS, we will need to invoke FSDataOutputStream.sync() per HADOOP-4379.

          Currently, there is no access to the underlying FSDataOutputStream from SequenceFile.Writer, as it is a package private member.

          Summary HLog flush does not invoke FSDataOutputStream.flush() Verify that FSDataoutputStream.sync() works
          Jim Kellerman made changes -
          Attachment patch.txt [ 12400976 ]
          Jim Kellerman made changes -
          Fix Version/s 0.19.1 [ 12313591 ]
          Fix Version/s 0.19.2 [ 12313688 ]
          stack made changes -
          Fix Version/s 0.21.0 [ 12313607 ]
          Fix Version/s 0.20.0 [ 12313474 ]
          Fix Version/s 0.19.2 [ 12313688 ]
          stack made changes -
          Assignee Jim Kellerman [ jimk ] stack [ stack ]
          stack made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]

            People

            • Assignee:
              stack
              Reporter:
              Jim Kellerman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development