Package com.nearinfinity.honeycomb.exceptions

Examples of com.nearinfinity.honeycomb.exceptions.RuntimeIOException


    public static void closeQuietly(Closeable closeable) {
        try {
            closeable.close();
        } catch (IOException e) {
            logger.error(String.format("IOException thrown while closing resource of type %s", closeable.getClass().getName()), e);
            throw new RuntimeIOException(e);
        }
    }
View Full Code Here


                .add(HConstants.ZOOKEEPER_QUORUM, configuration.get(HConstants.ZOOKEEPER_QUORUM))
                .toString();
        final String hTableName = new String(hTable.getTableName());
        String format = String.format("%s %s (HTable name %s)", errorMessage, configSettings, hTableName);
        logger.error(format, e);
        return new RuntimeIOException(format, e);
    }
View Full Code Here

        try {
            TableCreator.createTable(configuration);
        } catch (IOException e) {
            logger.fatal("Could not create HBase table. Aborting initialization.");
            logger.fatal(configuration.toString());
            throw new RuntimeIOException(e);
        }
    }
View Full Code Here

TOP

Related Classes of com.nearinfinity.honeycomb.exceptions.RuntimeIOException

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.