Package org.apache.flume.api

Examples of org.apache.flume.api.HostInfo


      if (hostAndPort.length < 2) {
        logger.warn("Invalid ganglia host: ", host);
        continue;
      }
      try {
        hostInfoList.add(new HostInfo("ganglia_host-" + String.valueOf(i),
                hostAndPort[0], Integer.parseInt(hostAndPort[1])));
      } catch (Exception e) {
        logger.warn("Invalid ganglia host: " + host, e);
        continue;
      }
View Full Code Here


      if (hostAndPort.length < 2) {
        logger.warn("Invalid ganglia host: ", host);
        continue;
      }
      try {
        hostInfoList.add(new HostInfo("ganglia_host-" + String.valueOf(i),
                hostAndPort[0], Integer.parseInt(hostAndPort[1])));
      } catch (Exception e) {
        logger.warn("Invalid ganglia host: " + host, e);
        continue;
      }
View Full Code Here

TOP

Related Classes of org.apache.flume.api.HostInfo

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.