[jira] [Commented] (DRILL-6470) http://repo.dremio.com/release/ can not open

2019-06-20 Thread zhoukang (JIRA)


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

zhoukang commented on DRILL-6470:
-

Thnaks [~kkhatua][~priteshm]

> http://repo.dremio.com/release/ can not open
> 
>
> Key: DRILL-6470
> URL: https://issues.apache.org/jira/browse/DRILL-6470
> Project: Apache Drill
>  Issue Type: Bug
>Reporter: zhoukang
>Assignee: Kunal Khatua
>Priority: Major
>  Labels: ready-to-commit
> Fix For: 1.14.0
>
>
> when build source code.
> Jars from below repository will missing:
> {code}
> 
>  dremio-releases
>  Dremio Drill Third Party Artifacts
>  http://repo.dremio.com/release/
>  
>  true
>  
>  
>  false
>  
> 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (DRILL-6482) Fast clean unused direct memory when decompress

2018-06-08 Thread zhoukang (JIRA)


 [ 
https://issues.apache.org/jira/browse/DRILL-6482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhoukang closed DRILL-6482.
---
Resolution: Invalid

> Fast clean unused direct memory when decompress
> ---
>
> Key: DRILL-6482
> URL: https://issues.apache.org/jira/browse/DRILL-6482
> Project: Apache Drill
>  Issue Type: Improvement
>Reporter: zhoukang
>Priority: Major
>
> When use *NonBlockedDecompressorStream* which call:
> *SnappyDecompressor.setInput*
> {code}
> public synchronized void setInput(byte[] buffer, int off, int len) {
>  SnappyUtil
> public synchronized void setInput(byte[] buffer, int off, int len) {
>  SnappyUtil.validateBuffer(buffer, off, len);
>  if (inputBuffer.capacity() - inputBuffer.position() < len) {
>  ByteBuffer newBuffer = ByteBuffer.allocateDirect(inputBuffer.position() + 
> len);
>  inputBuffer.rewind();
>  newBuffer.put(inputBuffer);
>  inputBuffer = newBuffer; 
>  } else {
>  inputBuffer.limit(inputBuffer.position() + len);
>  }
>  inputBuffer.put(buffer, off, len);
> }
> .validateBuffer(buffer, off, len);
>  if (inputBuffer.capacity() - inputBuffer.position() < len) {
>  ByteBuffer newBuffer = ByteBuffer.allocateDirect(inputBuffer.position() + 
> len);
>  inputBuffer.rewind();
>  newBuffer.put(inputBuffer);
>  inputBuffer = newBuffer; 
>  } else {
>  inputBuffer.limit(inputBuffer.position() + len);
>  }
>  inputBuffer.put(buffer, off, len);
> }
> {code}
> If we do not get any full gc for old gen.we may failed by off-heap memory leak



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (DRILL-6482) Fast clean unused direct memory when decompress

2018-06-08 Thread zhoukang (JIRA)
zhoukang created DRILL-6482:
---

 Summary: Fast clean unused direct memory when decompress
 Key: DRILL-6482
 URL: https://issues.apache.org/jira/browse/DRILL-6482
 Project: Apache Drill
  Issue Type: Improvement
Reporter: zhoukang


When use *NonBlockedDecompressorStream* which call:

*SnappyDecompressor.setInput*

{code}

public synchronized void setInput(byte[] buffer, int off, int len) {
 SnappyUtil

public synchronized void setInput(byte[] buffer, int off, int len) {
 SnappyUtil.validateBuffer(buffer, off, len);

 if (inputBuffer.capacity() - inputBuffer.position() < len) {
 ByteBuffer newBuffer = ByteBuffer.allocateDirect(inputBuffer.position() + len);
 inputBuffer.rewind();
 newBuffer.put(inputBuffer);
 inputBuffer = newBuffer; 
 } else {
 inputBuffer.limit(inputBuffer.position() + len);
 }
 inputBuffer.put(buffer, off, len);
}

.validateBuffer(buffer, off, len);

 if (inputBuffer.capacity() - inputBuffer.position() < len) {
 ByteBuffer newBuffer = ByteBuffer.allocateDirect(inputBuffer.position() + len);
 inputBuffer.rewind();
 newBuffer.put(inputBuffer);
 inputBuffer = newBuffer; 
 } else {
 inputBuffer.limit(inputBuffer.position() + len);
 }
 inputBuffer.put(buffer, off, len);
}

{code}

If we do not get any full gc for old gen.we may failed by off-heap memory leak



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (DRILL-6470) http://repo.dremio.com/release/ can not open

2018-06-06 Thread zhoukang (JIRA)
zhoukang created DRILL-6470:
---

 Summary: http://repo.dremio.com/release/ can not open
 Key: DRILL-6470
 URL: https://issues.apache.org/jira/browse/DRILL-6470
 Project: Apache Drill
  Issue Type: Bug
Reporter: zhoukang


when build source code.

Jars from below repository will missing:

{code}


 dremio-releases
 Dremio Drill Third Party Artifacts
 http://repo.dremio.com/release/
 
 true
 
 
 false
 


{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)