Package com.netflix.bdp.s3mper.metastore.impl

Examples of com.netflix.bdp.s3mper.metastore.impl.MetastoreJanitor


        alert.init(testPath.toUri(), conf);
       
        Configuration janitorConf = new Configuration(conf);
        janitorConf.setBoolean("s3mper.metastore.deleteMarker.enabled", false);
       
        janitor = new MetastoreJanitor();
        janitor.initalize(testPath.toUri(), janitorConf);
    }
View Full Code Here


            System.err.println(" Example: s3mper metastore "+parser.printExample(OptionHandlerFilter.ALL));

            return;
        }
       
        MetastoreJanitor janitor = new MetastoreJanitor();
        janitor.initalize(PathUtil.S3N, conf);
        janitor.setScanLimit(readUnits);
        janitor.setDeleteLimit(writeUnits);
        janitor.setScanThreads(scanThreads);
        janitor.setDeleteThreads(deleteThreads);
       
        janitor.deletePaths(TimeUnit.valueOf(unitType.toUpperCase()), unitCount);
    }
View Full Code Here

            System.err.println(" Example: s3mper meta delete_ts "+parser.printExample(OptionHandlerFilter.ALL));

            return;
        }
       
        MetastoreJanitor janitor = new MetastoreJanitor();
        janitor.initalize(PathUtil.S3N, conf);
        janitor.setScanLimit(readUnits);
        janitor.setDeleteLimit(writeUnits);
        janitor.setScanThreads(scanThreads);
        janitor.setDeleteThreads(deleteThreads);
       
        janitor.deleteTimeseries(TimeUnit.valueOf(unitType.toUpperCase()), unitCount);
    }
View Full Code Here

TOP

Related Classes of com.netflix.bdp.s3mper.metastore.impl.MetastoreJanitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.