[
https://issues.apache.org/jira/browse/PHOENIX-4902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390307#comment-17390307
]
ASF GitHub Bot commented on PHOENIX-4902:
-----------------------------------------
stoty commented on pull request #349:
URL: https://github.com/apache/phoenix/pull/349#issuecomment-889656366
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Comment |
|:----:|----------:|--------:|:--------|
| +0 :ok: | reexec | 5m 29s | Docker mode activated. |
||| _ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | No case conflicting files
found. |
| +1 :green_heart: | hbaseanti | 0m 0s | Patch does not have any
anti-patterns. |
| +1 :green_heart: | @author | 0m 1s | The patch does not contain any
@author tags. |
| -1 :x: | test4tests | 0m 0s | The patch doesn't appear to include
any new or modified tests. Please justify why no new tests are needed for this
patch. Also please list what manual steps were performed to verify this patch.
|
||| _ master Compile Tests _ |
| +1 :green_heart: | mvninstall | 27m 11s | master passed |
| +0 | hbaserecompile | 35m 48s | HBase recompiled. |
| +1 :green_heart: | compile | 1m 20s | master passed |
| +1 :green_heart: | checkstyle | 1m 9s | master passed |
| +1 :green_heart: | javadoc | 1m 0s | master passed |
| +0 :ok: | spotbugs | 3m 54s | phoenix-core in master has 970 extant
spotbugs warnings. |
||| _ Patch Compile Tests _ |
| +1 :green_heart: | mvninstall | 18m 49s | the patch passed |
| +0 | hbaserecompile | 31m 28s | HBase recompiled. |
| +1 :green_heart: | compile | 1m 13s | the patch passed |
| +1 :green_heart: | javac | 1m 13s | the patch passed |
| +1 :green_heart: | checkstyle | 0m 59s | phoenix-core: The patch
generated 0 new + 44 unchanged - 2 fixed = 44 total (was 46) |
| +1 :green_heart: | whitespace | 0m 0s | The patch has no whitespace
issues. |
| +1 :green_heart: | javadoc | 0m 56s | the patch passed |
| +1 :green_heart: | spotbugs | 3m 35s | the patch passed |
||| _ Other Tests _ |
| -1 :x: | unit | 114m 4s | phoenix-core in the patch failed. |
| +1 :green_heart: | asflicense | 0m 49s | The patch does not generate
ASF License warnings. |
| | | 201m 10s | |
| Subsystem | Report/Notes |
|----------:|:-------------|
| Docker | ClientAPI=1.41 ServerAPI=1.41 base:
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-349/1/artifact/yetus-general-check/output/Dockerfile
|
| GITHUB PR | https://github.com/apache/phoenix/pull/349 |
| Optional Tests | dupname asflicense javac javadoc unit spotbugs
hbaserebuild hbaseanti checkstyle compile |
| uname | Linux 65a28e9d6a07 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6
11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | dev/phoenix-personality.sh |
| git revision | master / a4f0304 |
| Default Java | Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08 |
| unit |
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-349/1/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
|
| Test Results |
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-349/1/testReport/
|
| Max. process+thread count | 14741 (vs. ulimit of 30000) |
| modules | C: phoenix-core U: phoenix-core |
| Console output |
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-349/1/console
|
| versions | git=2.7.4 maven=3.3.9 spotbugs=4.1.3 |
| Powered by | Apache Yetus 0.12.0 https://yetus.apache.org |
This message was automatically generated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> Snappy compression benefit is lost when generate hash cache RPC
> ---------------------------------------------------------------
>
> Key: PHOENIX-4902
> URL: https://issues.apache.org/jira/browse/PHOENIX-4902
> Project: Phoenix
> Issue Type: Bug
> Reporter: Marcell Ortutay
> Assignee: Marcell Ortutay
> Priority: Minor
>
> Phoenix uses snappy compression on hash caches before it sends them to region
> server:
> {code}
> int maxCompressedSize =
> Snappy.maxCompressedLength(baOut.size());
> byte[] compressed = new byte[maxCompressedSize]; // size for
> worst case
> int compressedSize = Snappy.compress(baOut.getBuffer(), 0,
> baOut.size(), compressed, 0);
> // Last realloc to size of compressed buffer.
> ptr.set(compressed,0,compressedSize);
> {code}
> However, looking at debug output, it seems like the serialized protobuf that
> it sends to region servers does not have the benefits of snappy compression.
> Below is an excerpt of some debug output I put in:
> {code}
> Building an RPC with a cache ptr of size: 39MB // The compressed size is 39MB
> Done serializing the AddServerCacheRequest RPC, size is 206MB // However the
> serialized RPC is 206MB
> And the cache ptr size is: 206MB // And specifically, the byte array that
> contains the serialized hash cache is 206MB
> {code}
> I've made a simple test codebase to attempt to reproduce this bug. It shows
> similar behavior:
> {code}
> bytes size: 10000 bytes
> compressed bytes size: 721 bytes
> message size: 10003 bytes
> compressed message size: 11701 bytes
> {code}
> The code for the simplified example is here:
> https://github.com/ortutay/snappy-bytes-buffer/blob/master/src/main/java/testprotobuf/Main.java
> I observed this behavior in Phoenix 4.14.1
--
This message was sent by Atlassian Jira
(v8.3.4#803005)