Package com.alipay.bluewhale.core.cluster

Examples of com.alipay.bluewhale.core.cluster.SolrInfo.toShortString()


        Long hbtime = statcollect.getLastTime();
        SolrInfo info = new SolrInfo(this.params.replication,this.params.replicationindex,this.taskIndex,false,localSolrPath.toString(),
          "solrservice".toString(), hdfsforder, bindport,
          statcollect.getStat(), new HashMap<String, ShardCount>(), new HashMap<String, ShardCount>(), this.statcollect.getSetupTime(),
           hbtime, this.isMergeServer);
        LOG.info("higolog zkHeatbeat " + this.tablename + ",info:"  + info.toShortString());
        Worker.getCluster().higo_heartbeat(this.tablename, this.taskid, info);
    } catch (Exception e) {
        LOG.error(StormUtils.stringify_error(e));
        throw new RuntimeException(e);
    }
View Full Code Here


      SolrInfo info = new SolrInfo(this.params.replication,this.params.replicationindex,this.taskIndex,isrealtime,localSolrPath.toString(),
          hdfsIndexpath.toString(), hdfsforder, bindport,
          statcollect.getStat(), this.partstat.getPartioncount(),daystat, statcollect.getSetupTime(),
          hbtime, this.isMergeServer);
      LOG.info("higolog zkHeatbeat " + this.tablename + ",info:"
          + info.toShortString());
      Worker.getCluster().higo_heartbeat(this.tablename, this.taskid,
          info);
    } catch (Exception e) {
      LOG.error(StormUtils.stringify_error(e));
      errorCollect.setException(e);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.