Package com.cloudera.flume.master

Examples of com.cloudera.flume.master.MasterExecException


        if (!FlumeMaster.getInstance().getSpecMan()
            .addLogicalNode(physical, logical)) {
          Exception ex = new IllegalStateException("Unable to map logical node '"
              + logical + "' to physical node '" + physical + "'");
          throw new MasterExecException(ex.getMessage(),ex);
        }
      }
    };
  }
View Full Code Here


        String chokerName = args[1];
        try {
          limit = Integer.parseInt(args[2]);
        } catch (NumberFormatException e) {
          LOG.error("Limit not given in the right format");
          throw new MasterExecException("Limit not given in the right format",
              e);
        }

        Preconditions.checkState(limit >= 0, "Limit has to be at least 0");
        // only works in memory!! not in zookeeper.
View Full Code Here

TOP

Related Classes of com.cloudera.flume.master.MasterExecException

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.