Java 类org.apache.hadoop.io.OutputBuffer 实例源码

项目:hadoop    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:aliyun-oss-hadoop-fs    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:big-c    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hadoop-EAR    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hadoop-plus    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:FlexMap    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hops    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hadoop-TCP    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hadoop-on-lustre    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hardfs    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hadoop-on-lustre2    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:RDFS    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hadoop-0.20    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hanoi-hadoop-2.0.0-cdh    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:mapreduce-fork    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hortonworks-extension    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hortonworks-extension    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hadoop-gpu    文件:BasicTypeSorterBase.java   
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
项目:hadoop    文件:BasicTypeSorterBase.java   
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
项目:hadoop    文件:BasicTypeSorterBase.java   
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
项目:aliyun-oss-hadoop-fs    文件:BasicTypeSorterBase.java   
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
项目:aliyun-oss-hadoop-fs    文件:BasicTypeSorterBase.java   
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
项目:big-c    文件:BasicTypeSorterBase.java   
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
项目:big-c    文件:BasicTypeSorterBase.java   
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:BasicTypeSorterBase.java   
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:BasicTypeSorterBase.java   
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:BasicTypeSorterBase.java   
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
项目:hadoop-2.6.0-cdh5.4.3    文件:BasicTypeSorterBase.java   
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
项目:hadoop-EAR    文件:BasicTypeSorterBase.java   
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
项目:hadoop-EAR    文件:BasicTypeSorterBase.java   
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
项目:hadoop-EAR    文件:coronajobconf_jsp.java   
public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;

    try {
      response.setContentType("text/html; charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
                null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;
      _jspx_resourceInjector = (org.apache.jasper.runtime.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector");

      out.write("\n\n\n");

  CoronaJobTracker tracker = (CoronaJobTracker) application.getAttribute("job.tracker");
  CoronaJobInProgress job = tracker.getJob();
  JobID jobId = (job != null) ? job.getStatus().getJobID() : null;
  String jobid = request.getParameter("jobid");
  if (job == null) {
    out.println("<h2>No running job!</h2>");
    return;
  }
  if (!jobId.toString().equals(jobid)) {
    out.println("<h2>Running job: " + jobId + " does not match requested job:" + jobid + "!</h2>");
    return;
  }

      out.write("\n  \n<html>\n\n<title>Job Configuration: JobId - ");
      out.print( jobid );
      out.write("</title>\n\n<body>\n<h2>Job Configuration: JobId - ");
      out.print( jobid );
      out.write("</h2><br>\n\n");

  OutputBuffer os = new OutputBuffer();
  try {
    job.getConf().writeXml(os);
    InputStream jobis = new ByteArrayInputStream(os.getData(), 0, os.getLength());
    InputStream xslis = job.getConf().getConfResourceAsInputStream("webapps/static/jobconf.xsl");

    if (xslis == null) {
      out.println("jobconf.xsl not found");
      return;
    }

    XMLUtils.transform(xslis, jobis, out);
  } catch (Exception e) {
    out.println("Unable to display configuration !");
    out.println(e);
    out.println(new String(os.getData()));
  }

      out.write("\n\n<br>\n");

out.println(ServletUtil.htmlFooter());

      out.write('\n');
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
项目:hadoop-plus    文件:BasicTypeSorterBase.java   
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
项目:hadoop-plus    文件:BasicTypeSorterBase.java   
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
项目:FlexMap    文件:BasicTypeSorterBase.java   
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
项目:FlexMap    文件:BasicTypeSorterBase.java   
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
项目:hops    文件:BasicTypeSorterBase.java   
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
项目:hops    文件:BasicTypeSorterBase.java   
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
项目:hadoop-TCP    文件:BasicTypeSorterBase.java   
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}