Class BatchWriterInTabletServerIT

    • Constructor Detail

      • BatchWriterInTabletServerIT

        public BatchWriterInTabletServerIT()
    • Method Detail

      • testNormalWrite

        public void testNormalWrite()
                             throws Exception
        This test should succeed.
        Throws:
        Exception
      • testClearLocatorAndSplitWrite

        public void testClearLocatorAndSplitWrite()
                                           throws Exception
        Fixed by ACCUMULO-4229.

        This tests a situation that a client which shares a LocatorCache with the tablet server may fall into. Before the problem was fixed, adding a split after the Locator cache falls out of sync caused the BatchWriter to continuously attempt to write to an old, closed tablet. It would do so for 15 seconds until a timeout on the BatchWriter.

        Throws:
        Exception