Skip to content

PHOENIX-6339 Older client using aggregate queries shows incorrect res… - #1111

Merged
kadirozde merged 1 commit into
apache:4.xfrom
kadirozde:6339
Jan 27, 2021
Merged

PHOENIX-6339 Older client using aggregate queries shows incorrect res…#1111
kadirozde merged 1 commit into
apache:4.xfrom
kadirozde:6339

Conversation

@kadirozde

Copy link
Copy Markdown
Contributor

…ults

@stoty

Copy link
Copy Markdown
Contributor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 32sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 1sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe 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.
_ 4.x Compile Tests _
+1 💚mvninstall14m 42s4.x passed
+1 💚compile1m 3s4.x passed
+1 💚checkstyle1m 25s4.x passed
+1 💚javadoc0m 45s4.x passed
+0 🆗spotbugs3m 0sphoenix-core in 4.x has 945 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall5m 56sthe patch passed
+1 💚compile1m 4sthe patch passed
+1 💚javac1m 4sthe patch passed
-1 ❌checkstyle1m 30sphoenix-core: The patch generated 40 new + 2377 unchanged - 29 fixed = 2417 total (was 2406)
+1 💚whitespace0m 1sThe patch has no whitespace issues.
+1 💚javadoc0m 43sthe patch passed
+1 💚spotbugs3m 14sthe patch passed
_ Other Tests _
+1 💚unit128m 43sphoenix-core in the patch passed.
+1 💚asflicense0m 14sThe patch does not generate ASF License warnings.
163m 51s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1111/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1111
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile
unameLinux e3727bcf4df8 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revision4.x / 51715b3
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1111/1/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1111/1/testReport/
Max. process+thread count5655 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1111/1/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@jpisaacjpisaac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some request for comments, otherwise LGTM.

public static long getPageSizeMsForRegionScanner(Scan scan) {
return (long) (getPageSizeMs(scan) * 0.6);
}
public static long getPageSizeMsForRegionScanner(Scan scan) { return getPageSizeMs(scan, 0.6); }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is/should be the thought process in choosing the factor? May be good to add some comments around it?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comments are just right there before getPageSizeMs()

@yanxinyiyanxinyi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

downloaded the patch and built/tested it locally against the 4.15 client.
LGTM +1

@gjacoby126gjacoby126 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thanks @kadirozde

@ChinmaySKulkarniChinmaySKulkarni left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thanks @kadirozde

@kadirozde
kadirozde merged commit 44d4402 into apache:4.xJan 27, 2021
@kadirozde
kadirozde deleted the 6339 branch January 27, 2021 19:04
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@kadirozde@stoty@jpisaac@ChinmaySKulkarni@gjacoby126@abhishek-chouhan@yanxinyi