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

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


            Path path = new Path(args[0]);
           
            conf.set("s3mper.metastore.deleteMarker.enabled", "true");
           
            DynamoDBMetastore meta = new DynamoDBMetastore();
            meta.initalize(path.toUri(), conf);
           
            FileSystem fs = FileSystem.get(path.toUri(), conf);
           
            Set<String> s3files = new HashSet<String>();
           
View Full Code Here


            Path path = new Path(args[0]);
           
            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]" : ""));
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.