[ 
https://issues.apache.org/jira/browse/HAMA-955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14533836#comment-14533836
 ] 

Edward J. Yoon commented on HAMA-955:
-------------------------------------

I just found this: 
https://apache.googlesource.com/lucene-solr/+/16963da20f56e3bff40ef08ff37dcb50cb7fcff8/lucene/facet/src/java/org/apache/lucene/util/UnsafeByteArrayInputStream.java

What if we use this?

> Support UnsafeByteArrayInputStream and UnSafeByteArrayOutputStream
> ------------------------------------------------------------------
>
>                 Key: HAMA-955
>                 URL: https://issues.apache.org/jira/browse/HAMA-955
>             Project: Hama
>          Issue Type: Task
>          Components: bsp core
>    Affects Versions: 0.7.0
>            Reporter: Minho Kim
>         Attachments: HAMA-955.patch, HAMA-955_v1.patch
>
>
> You'll be able to use UnsafeByteArrayInput and Output Stream.
> Although it is not safe, it can give you more faster performance than 
> java.io.ByteArrayInput(Output)Stream.
> If you need to run more faster job, you can use this through setting Hama 
> configuration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to