accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keith-turner <>
Subject [GitHub] accumulo pull request #135: ACCUMULO-1787: created TwoTierCompactionStrategy...
Date Tue, 06 Sep 2016 18:09:20 GMT
Github user keith-turner commented on a diff in the pull request:
    --- Diff: docs/src/main/resources/examples/README.compactionStrategy ---
    @@ -0,0 +1,60 @@
    +Title: Apache Accumulo Customizing the Compaction Strategy 
    +Notice:    Licensed to the Apache Software Foundation (ASF) under one
    +           or more contributor license agreements.  See the NOTICE file
    +           distributed with this work for additional information
    +           regarding copyright ownership.  The ASF licenses this file
    +           to you under the Apache License, Version 2.0 (the
    +           "License"); you may not use this file except in compliance
    +           with the License.  You may obtain a copy of the License at
    +           .
    +           .
    +           Unless required by applicable law or agreed to in writing,
    +           software distributed under the License is distributed on an
    +           KIND, either express or implied.  See the License for the
    +           specific language governing permissions and limitations
    +           under the License.
    +This tutorial uses the following Java classes, which can be found in org.apache.accumulo.tserver.compaction:

    + * - determines which files to compact based on table.compaction.major.ratio
and table.file.max
    + * - compacts all files
    + * - compacts files no bigger than table.majc.compaction.strategy.opts.sizeLimit
    + * - uses default compression for smaller files and table.majc.compaction.strategy.opts.file.large.compress.type
for larger files
    +This is an example of how to configure a compaction strategy. By default Accumulo will
always use the DefaultCompactionStrategy, unless 
    +these steps are taken to change the configuration.  Use the strategy and settings that
best fits your Accumulo setup.
    +The command below sets the compression for smaller files and minor compactions.
    --- End diff --
    The 4 config commands below are at the system level, so the settings would apply to all
tables.  I think an example should show doing this at the table level.  Could create the table
and then set the four configuration params for the table.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message