Package voldemort.utils

Examples of voldemort.utils.RemoteOperationException


        if(logger.isInfoEnabled())
            logger.info("Rsync-ing " + sourceDirectory.getAbsolutePath() + " to "
                        + destinationDirectory + " on remote hosts: " + hostNames);

        if(!sourceDirectory.exists())
            throw new RemoteOperationException(sourceDirectory.getAbsolutePath()
                                               + " does not exist");

        if(!sourceDirectory.isDirectory())
            throw new RemoteOperationException("Directory " + sourceDirectory.getAbsolutePath()
                                               + " is not a directory");

        CommandLineParameterizer commandLineParameterizer = new CommandLineParameterizer("RsyncDeployer.rsync"
                                                                                         + (sshPrivateKey != null ? ""
                                                                                                                 : ".nokey"));
View Full Code Here


                    errors.append(t.getMessage());
                }
            }

            if(errors.length() > 0)
                throw new RemoteOperationException(errors.toString());
        } finally {
            threadPool.shutdown();

            try {
                threadPool.awaitTermination(60, TimeUnit.SECONDS);
View Full Code Here

TOP

Related Classes of voldemort.utils.RemoteOperationException

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.