private void setAppCookie(String endpoint, String appCookie) {
    endpointCookieMap.put(endpoint, appCookie);
  }
Sets the cached app cookie i cache
 @param endpoint the hadoop end point we authenticate to
 @param appCookie the app cookie
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AppCookieManager.java