HBase
  1. HBase
  2. HBASE-9266

Javadoc: Document that HBaseAdmin.flush(...) is synchronous

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.94.12
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently the Javadoc in HBaseAdmin.flush(...) says that this is an asynchronous operation. Looking at the, however, it is in fact not.

      Having this as a synchronous operation open ups some use cases we're interested in. For example doing some ingest via the high level API with WAL disabled and then issue a flush through the HBaseAdmin. When the flush succeeded we know the data is securely in HBase.
      (This should work even with intermediary splits, as they also force a flush, but that needs to be verified as well.

      So this is just for a trivial Javadoc change.

      1. 9266.txt
        0.8 kB
        Lars Hofhansl

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Lars Hofhansl
            Reporter:
            Lars Hofhansl
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development