Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pan3793 committed May 18, 2024
1 parent cb75c19 commit ce20d7f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
// org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpFilter
//
// Modification:
// Migrate from javax.servlet to jakarta.servlet
// Copied constant string definitions from AmFilterInitializer to strip external dependency
// - RM_HA_URLS
// - PROXY_USER_COOKIE_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@

// This class is copied from Hadoop 3.4.0
// org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpServletRequestWrapper
//
// Modification:
// Migrate from javax.servlet to jakarta.servlet
public class AmIpServletRequestWrapper extends HttpServletRequestWrapper {
private final AmIpPrincipal principal;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
import java.io.PrintWriter;
import java.util.EnumSet;

/**
* Class containing general purpose proxy utilities
*
* This class is copied from Hadoop 3.4.0
* org.apache.hadoop.yarn.server.webproxy.ProxyUtils
*/
// Class containing general purpose proxy utilities
//
// This class is copied from Hadoop 3.4.0
// org.apache.hadoop.yarn.server.webproxy.ProxyUtils
//
// Modification:
// Migrate from javax.servlet to jakarta.servlet
public class ProxyUtils {
private static final Logger LOG = LoggerFactory.getLogger(
ProxyUtils.class);
Expand Down

0 comments on commit ce20d7f

Please sign in to comment.