Package com.basho.riak.hadoop.config

Examples of com.basho.riak.hadoop.config.NoRiakLocationsException


    @Override public List<InputSplit> getSplits(JobContext context) throws IOException, InterruptedException {
        Configuration conf = context.getConfiguration();
        RiakLocation[] locations = RiakConfig.getRiakLocatons(conf);

        if (locations.length == 0) {
            throw new NoRiakLocationsException();
        }

        final KeyLister keyLister = RiakConfig.getKeyLister(conf);

        try {
View Full Code Here

TOP

Related Classes of com.basho.riak.hadoop.config.NoRiakLocationsException

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.