You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Teruhiko Kurosaka <Ku...@basistech.com> on 2006/05/26 00:38:21 UTC

.job file?

Nutch's top-level bulid.xml file's default target is "job",
and it build a zip file called nutch-0.8-dev.job.  

<project name="Nutch" default="job">
...
  <target name="job" depends="compile">
    <jar jarfile="${build.dir}/${final.name}.job">
      <zipfileset dir="${build.classes}"/>
      <zipfileset dir="${conf.dir}" excludes="*.template"/>
      <zipfileset dir="${lib.dir}" prefix="lib"
                  includes="**/*.jar" excludes="hadoop-*.jar"/>
      <zipfileset dir="${build.plugins}" prefix="plugins"/>
    </jar>
  </target>

I've heard of ".jar", ".war", and ".ear" files, but 
not ".job" files.  What is this? What (application servers?) 
are supposed to understand .job files? Is this part of 
the new J2EE spec?
-kuro

Re: .job file?

Posted by Doug Cutting <cu...@apache.org>.
The .job file is a jar file for submission to Hadoop's MapReduce.  It is 
Hadoop-specific, although very similar to war and ear files.

Teruhiko Kurosaka wrote:
> Nutch's top-level bulid.xml file's default target is "job",
> and it build a zip file called nutch-0.8-dev.job.  
> 
> <project name="Nutch" default="job">
> ...
>   <target name="job" depends="compile">
>     <jar jarfile="${build.dir}/${final.name}.job">
>       <zipfileset dir="${build.classes}"/>
>       <zipfileset dir="${conf.dir}" excludes="*.template"/>
>       <zipfileset dir="${lib.dir}" prefix="lib"
>                   includes="**/*.jar" excludes="hadoop-*.jar"/>
>       <zipfileset dir="${build.plugins}" prefix="plugins"/>
>     </jar>
>   </target>
> 
> I've heard of ".jar", ".war", and ".ear" files, but 
> not ".job" files.  What is this? What (application servers?) 
> are supposed to understand .job files? Is this part of 
> the new J2EE spec?
> -kuro