[ http://issues.apache.org/jira/browse/HADOOP-538?page=all ]

Arun C Murthy updated HADOOP-538:
---------------------------------

    Attachment: HADOOP-538_20061114.patch

Here is another patch incorporating Doug's feedback...

a) Custom built libraries in build directory override the ones in lib/native, 
and hence there is no prebuilt/custom distinction

b) I have reworked to account for a 'compile.native' property which controls 
whether the native stuff is built/tested/packaged...
$ ant -Dcompile.native=true package    #compile native-hadoop
$ ant package                                    #no native hadoop

  I have had to define a new target: 'compile-core-classes' which replaces 
existing 'compile-core' and redefined 'compile-core' as:

  <target name="compile-core" 
depends="compile-core-classes,compile-core-native">
   </target>

  The alternative to get 'ant -Dcompile.native=true package' or 'ant 
-Dcompile.native=true test' to work was to add a 'depends="compile-native"' to 
every target which has a 'depends="compile-core"' which I felt was error-prone 
and difficult to maintain...



> Implement a nio's 'direct buffer' based wrapper over zlib to improve 
> performance of java.util.zip.{De|In}flater as a 'custom codec'
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-538
>                 URL: http://issues.apache.org/jira/browse/HADOOP-538
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.6.1
>            Reporter: Arun C Murthy
>         Assigned To: Arun C Murthy
>             Fix For: 0.9.0
>
>         Attachments: HADOOP-538.patch, HADOOP-538_20061005.tgz, 
> HADOOP-538_20061011.tgz, HADOOP-538_20061026.tgz, HADOOP-538_20061030.tgz, 
> HADOOP-538_20061107.tgz, HADOOP-538_20061108.tgz, HADOOP-538_20061114.patch, 
> HADOOP-538_benchmarks.tgz
>
>
> There has been more than one instance where java.util.zip's {De|In}flater 
> classes perform unreliably, a simple wrapper over zlib-1.2.3 (latest stable) 
> using java.nio.ByteBuffer (i.e. direct buffers) should go a long way in 
> alleviating these woes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to