public class GetDelegationTokenServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
GetDelegationTokenServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hadoop.hdfs.protocol.ClientProtocol |
createNameNodeProxy()
Create a
NameNode proxy from the current ServletContext. |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected org.apache.hadoop.security.UserGroupInformation |
getUGI(javax.servlet.http.HttpServletRequest request,
org.apache.hadoop.conf.Configuration conf) |
protected void |
writeXml(Exception except,
String path,
org.znerd.xmlenc.XMLOutputter doc)
Write the object to XML format
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void writeXml(Exception except, String path, org.znerd.xmlenc.XMLOutputter doc) throws IOException
IOExceptionprotected org.apache.hadoop.hdfs.protocol.ClientProtocol createNameNodeProxy()
throws IOException
NameNode proxy from the current ServletContext.IOExceptionprotected org.apache.hadoop.security.UserGroupInformation getUGI(javax.servlet.http.HttpServletRequest request,
org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.