[jira] [Commented] (MNEMONIC-289) Allow creating ByteBuffers from a DurableChunk

2017-06-28 Thread Wang, Gang (JIRA)

[ 
https://issues.apache.org/jira/browse/MNEMONIC-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16067762#comment-16067762
 ] 

Wang, Gang commented on MNEMONIC-289:
-

[~anoop.hbase] Sure, Please check the following link to get the patch.
[Mnemonic-289 
Patch|https://github.com/apache/incubator-mnemonic/commit/96dbdc13e8b300efa862ca6f16d59a15062ca30e.patch]


> Allow creating ByteBuffers from a DurableChunk
> --
>
> Key: MNEMONIC-289
> URL: https://issues.apache.org/jira/browse/MNEMONIC-289
> Project: Mnemonic
>  Issue Type: New Feature
>  Components: Core
>Affects Versions: 0.9.0-incubating
>Reporter: ramkrishna.s.vasudevan
>Assignee: Wang, Gang
> Fix For: 0.9.0-incubating
>
>
> We have the provision to create DurableChunks now in Mnemonic. So with that 
> we can reserve a bigger chunk space and from that space we should be allowed 
> to create Bytebuffers of the specified size that we require. This way the 
> control of creating ByteBuffers is in the hand of the application that needs 
> those ByteBuffers.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (MNEMONIC-289) Allow creating ByteBuffers from a DurableChunk

2017-06-28 Thread Anoop Sam John (JIRA)

[ 
https://issues.apache.org/jira/browse/MNEMONIC-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16067742#comment-16067742
 ] 

Anoop Sam John commented on MNEMONIC-289:
-

Pls can we put the .patch files associated with every jira? It will be very 
easy to read that code change directly from here (Than going to repo and 
guessing what all files changed)

> Allow creating ByteBuffers from a DurableChunk
> --
>
> Key: MNEMONIC-289
> URL: https://issues.apache.org/jira/browse/MNEMONIC-289
> Project: Mnemonic
>  Issue Type: New Feature
>  Components: Core
>Affects Versions: 0.9.0-incubating
>Reporter: ramkrishna.s.vasudevan
>Assignee: Wang, Gang
> Fix For: 0.9.0-incubating
>
>
> We have the provision to create DurableChunks now in Mnemonic. So with that 
> we can reserve a bigger chunk space and from that space we should be allowed 
> to create Bytebuffers of the specified size that we require. This way the 
> control of creating ByteBuffers is in the hand of the application that needs 
> those ByteBuffers.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (MNEMONIC-289) Allow creating ByteBuffers from a DurableChunk

2017-06-28 Thread Wang, Gang (JIRA)

[ 
https://issues.apache.org/jira/browse/MNEMONIC-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16067326#comment-16067326
 ] 

Wang, Gang commented on MNEMONIC-289:
-

Add a method getChunkBuffer() to DurableChunk. Please check the following 
testcase file for the usage, Thanks
incubator-mnemonic/mnemonic-core/src/test/java/org/apache/mnemonic/ChunkBufferNGTest.java


> Allow creating ByteBuffers from a DurableChunk
> --
>
> Key: MNEMONIC-289
> URL: https://issues.apache.org/jira/browse/MNEMONIC-289
> Project: Mnemonic
>  Issue Type: New Feature
>  Components: Core
>Affects Versions: 0.9.0-incubating
>Reporter: ramkrishna.s.vasudevan
>Assignee: Wang, Gang
>
> We have the provision to create DurableChunks now in Mnemonic. So with that 
> we can reserve a bigger chunk space and from that space we should be allowed 
> to create Bytebuffers of the specified size that we require. This way the 
> control of creating ByteBuffers is in the hand of the application that needs 
> those ByteBuffers.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)