public void run() {
   System.out.println("Getting Repost Feature of " + uid);
   File f = new File(Config.SAVE_PATH + "\\Weibos\\" + uid + ".txt");
   List<String> weibo_list = new ArrayList<String>();
   try {
     GetInfo.getList(f, weibo_list, false);
   } catch (IOException e1) {
     e1.printStackTrace();
   }
   for (String weibo : weibo_list) {
     JSONObject weibo_json = JSONObject.fromObject(weibo);
     JSONObject retweet = weibo_json.getJSONObject("weibo").getJSONObject("retweetedStatus");
     if (retweet == null || retweet.equals("")) continue;
     String id = retweet.getString("userId");
     if (id.equals("null")) continue; // 被转发的微博已经被删除
     if (user.containsKey(id)) {
       user.put(id, user.get(id) + 1);
     } else {
       user.put(id, 1);
     }
   }
   List<Entry<String, Integer>> list = Utils.orderMapByValue(user); // 按转发次数从大到小排序
   try {
     SaveInfo.saveEntryList("\\Feature_RePost\\" + uid + ".txt", list, ":", false);
   } catch (IOException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   }
 }
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    MesosSlaveInfo that = (MesosSlaveInfo) o;

    if (Double.compare(that.slaveCpus, slaveCpus) != 0) return false;
    if (slaveMem != that.slaveMem) return false;
    if (Double.compare(that.executorCpus, executorCpus) != 0) return false;
    if (minExecutors != that.minExecutors) return false;
    if (maxExecutors != that.maxExecutors) return false;
    if (executorMem != that.executorMem) return false;
    if (idleTerminationMinutes != that.idleTerminationMinutes) return false;
    if (remoteFSRoot != null ? !remoteFSRoot.equals(that.remoteFSRoot) : that.remoteFSRoot != null)
      return false;
    if (jvmArgs != null ? !jvmArgs.equals(that.jvmArgs) : that.jvmArgs != null) return false;
    if (jnlpArgs != null ? !jnlpArgs.equals(that.jnlpArgs) : that.jnlpArgs != null) return false;
    if (slaveAttributes != null
        ? !slaveAttributes.equals(that.slaveAttributes)
        : that.slaveAttributes != null) return false;
    if (containerInfo != null
        ? !containerInfo.equals(that.containerInfo)
        : that.containerInfo != null) return false;
    if (additionalURIs != null
        ? !additionalURIs.equals(that.additionalURIs)
        : that.additionalURIs != null) return false;
    if (mode != that.mode) return false;
    if (nodeProperties != null
        ? !nodeProperties.equals(that.nodeProperties)
        : that.nodeProperties != null) return false;
    return labelString != null ? labelString.equals(that.labelString) : that.labelString == null;
  }