Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/main/resources/webapps/hdfs/head.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
import="edu.umn.cs.spatialHadoop.core.SpatialSite"
import="java.io.BufferedReader"
import="org.apache.hadoop.http.HtmlQuoting"
import="org.apache.hadoop.hdfs.server.namenode.JspHelper"
import="org.apache.hadoop.hdfs.server.common.JspHelper"
import="org.apache.hadoop.conf.Configuration"
import="org.apache.hadoop.mapred.LineRecordReader"
import="org.apache.hadoop.mapred.FileSplit"
%>

<%! private static final long serialVersionUID = 1L;%>
<%! static JspHelper jspHelper = new JspHelper(); %>

<%
Configuration conf = (Configuration) getServletContext().getAttribute(JspHelper.CURRENT_CONF);
Expand Down Expand Up @@ -43,4 +42,4 @@
reader.close();
}
}
%>
%>
5 changes: 2 additions & 3 deletions src/main/resources/webapps/hdfs/knn.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import="edu.umn.cs.spatialHadoop.OperationsParams"
import="org.apache.hadoop.conf.Configuration"
import="org.apache.hadoop.fs.*"
import="org.apache.hadoop.hdfs.server.namenode.JspHelper"
import="org.apache.hadoop.hdfs.server.common.JspHelper"
import="edu.umn.cs.spatialHadoop.core.*"
import="edu.umn.cs.spatialHadoop.osm.*"
import="org.apache.hadoop.mapreduce.Job"
Expand All @@ -25,7 +25,6 @@
%>

<%! private static final long serialVersionUID = 1L;%>
<%! static JspHelper jspHelper = new JspHelper(); %>

<%
if (request.getParameter("input") == null ||
Expand Down Expand Up @@ -83,4 +82,4 @@
}
%>

Done
Done
5 changes: 2 additions & 3 deletions src/main/resources/webapps/hdfs/pigeon.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import="java.io.PrintStream"
import="java.io.IOException"
import="org.apache.hadoop.http.HtmlQuoting"
import="org.apache.hadoop.hdfs.server.namenode.JspHelper"
import="org.apache.hadoop.hdfs.server.common.JspHelper"
import="org.apache.hadoop.conf.Configuration"
import="org.apache.hadoop.security.UserGroupInformation"
import="org.apache.hadoop.fs.*"
Expand All @@ -20,7 +20,6 @@
%>

<%! private static final long serialVersionUID = 1L;%>
<%! static JspHelper jspHelper = new JspHelper(); %>

<%!
private void listDirectory(HttpServletRequest request, JspWriter out,
Expand Down Expand Up @@ -200,4 +199,4 @@ private String runPigeonScript(Configuration conf, String scriptName, String scr
</div>

</body>
</html>
</html>
3 changes: 1 addition & 2 deletions src/main/resources/webapps/hdfs/plotter.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import="edu.umn.cs.spatialHadoop.core.SpatialSite"
import="java.io.BufferedReader"
import="org.apache.hadoop.http.HtmlQuoting"
import="org.apache.hadoop.hdfs.server.namenode.JspHelper"
import="org.apache.hadoop.hdfs.server.common.JspHelper"
import="org.apache.hadoop.conf.Configuration"
import="java.util.Arrays"
import="java.io.ByteArrayOutputStream"
Expand All @@ -15,7 +15,6 @@
%>

<%! private static final long serialVersionUID = 1L;%>
<%! static JspHelper jspHelper = new JspHelper(); %>

<%! private BufferedImage mergePhotos(Path[] imageFiles) {
return null;
Expand Down
5 changes: 2 additions & 3 deletions src/main/resources/webapps/hdfs/preprocess.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import="edu.umn.cs.spatialHadoop.osm.*"
import="java.io.BufferedReader"
import="org.apache.hadoop.http.HtmlQuoting"
import="org.apache.hadoop.hdfs.server.namenode.JspHelper"
import="org.apache.hadoop.hdfs.server.common.JspHelper"
import="org.apache.hadoop.conf.Configuration"
import="java.util.Arrays"
import="java.io.ByteArrayOutputStream"
Expand All @@ -22,7 +22,6 @@
%>

<%! private static final long serialVersionUID = 1L;%>
<%! static JspHelper jspHelper = new JspHelper(); %>
<%! static JspSpatialHelper jspSpatialHelper = new JspSpatialHelper(); %>

<%
Expand Down Expand Up @@ -75,4 +74,4 @@
}
%>

Done!
Done!
5 changes: 2 additions & 3 deletions src/main/resources/webapps/hdfs/preview-script.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
import="edu.umn.cs.spatialHadoop.core.SpatialSite"
import="java.io.BufferedReader"
import="org.apache.hadoop.http.HtmlQuoting"
import="org.apache.hadoop.hdfs.server.namenode.JspHelper"
import="org.apache.hadoop.hdfs.server.common.JspHelper"
import="edu.umn.cs.spatialHadoop.util.JspSpatialHelper"
import="org.apache.hadoop.conf.Configuration"
import="org.apache.hadoop.mapred.LineRecordReader"
import="org.apache.hadoop.mapred.FileSplit"
%>

<%! private static final long serialVersionUID = 1L;%>
<%! static JspHelper jspHelper = new JspHelper(); %>

<%
Configuration conf = (Configuration) getServletContext().getAttribute(JspHelper.CURRENT_CONF);
Expand Down Expand Up @@ -65,4 +64,4 @@
}
}

%>
%>
5 changes: 2 additions & 3 deletions src/main/resources/webapps/hdfs/rangequery.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import="edu.umn.cs.spatialHadoop.OperationsParams"
import="org.apache.hadoop.conf.Configuration"
import="org.apache.hadoop.fs.*"
import="org.apache.hadoop.hdfs.server.namenode.JspHelper"
import="org.apache.hadoop.hdfs.server.common.JspHelper"
import="edu.umn.cs.spatialHadoop.core.*"
import="edu.umn.cs.spatialHadoop.osm.*"
import="org.apache.hadoop.mapreduce.Job"
Expand All @@ -25,7 +25,6 @@
%>

<%! private static final long serialVersionUID = 1L;%>
<%! static JspHelper jspHelper = new JspHelper(); %>

<%
if (request.getParameter("input") == null ||
Expand Down Expand Up @@ -81,4 +80,4 @@
}
%>

Done
Done
5 changes: 2 additions & 3 deletions src/main/resources/webapps/hdfs/spatialjoin.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import="org.apache.hadoop.conf.Configuration"
import="edu.umn.cs.spatialHadoop.OperationsParams"
import="org.apache.hadoop.fs.*"
import="org.apache.hadoop.hdfs.server.namenode.JspHelper"
import="org.apache.hadoop.hdfs.server.common.JspHelper"
import="edu.umn.cs.spatialHadoop.core.OSMPolygon"
import="edu.umn.cs.spatialHadoop.core.Shape"
import="org.apache.hadoop.mapred.RunningJob"
Expand All @@ -25,7 +25,6 @@
%>

<%! private static final long serialVersionUID = 1L;%>
<%! static JspHelper jspHelper = new JspHelper(); %>

<%
if (request.getParameter("input1") == null ||
Expand Down Expand Up @@ -65,4 +64,4 @@
}
%>

Done
Done
5 changes: 2 additions & 3 deletions src/main/resources/webapps/hdfs/visualizer.jsp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%@ page
contentType="text/html; charset=UTF-8"
import="org.apache.hadoop.http.HtmlQuoting"
import="org.apache.hadoop.hdfs.server.namenode.JspHelper"
import="org.apache.hadoop.hdfs.server.common.JspHelper"
import="org.apache.hadoop.conf.Configuration"
import="org.apache.hadoop.security.UserGroupInformation"
import="org.apache.hadoop.fs.*"
Expand All @@ -10,7 +10,6 @@
%>

<%! private static final long serialVersionUID = 1L;%>
<%! static JspHelper jspHelper = new JspHelper(); %>

<%!
private void listDirectory(HttpServletRequest request, JspWriter out,
Expand Down Expand Up @@ -139,4 +138,4 @@ private void listDirectory(HttpServletRequest request, JspWriter out,
</div>
<!-- end of spatial join dialog -->
</body>
</html>
</html>