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

Examples of com.netflix.bdp.s3mper.metastore.impl.DynamoDBMetastore.list()


                for (FileStatus f : s3listing) {
                    s3files.add(f.getPath().toUri().toString());
                }
            }
           
            List<FileInfo> files = meta.list(Collections.singletonList(path));
           
            for (FileInfo f : files) {
                if (!s3files.contains(f.getPath().toUri().toString())) {
                    meta.delete(f.getPath());
                }
View Full Code Here


            conf.set("s3mper.metastore.deleteMarker.enabled", "true");
           
            DynamoDBMetastore meta = new DynamoDBMetastore();
            meta.initalize(path.toUri(), conf);
           
            List<FileInfo> files = meta.list(Collections.singletonList(path));
           
            for (FileInfo f : files) {
                System.out.println(f.getPath() + (f.isDeleted() ? " [Deleted]" : ""));
            }
        } catch (Exception e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.