[phoenix] branch 4.x-HBase-1.5 updated: PHOENIX-5096 Local index region pruning is not working as expected.

2019-12-24 Thread larsh
This is an automated email from the ASF dual-hosted git repository.

larsh pushed a commit to branch 4.x-HBase-1.5
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.5 by this push:
 new 1620c7d  PHOENIX-5096 Local index region pruning is not working as 
expected.
1620c7d is described below

commit 1620c7d7f6b8ce8ccf38e27e6bff1182ec6f7985
Author: Lars Hofhansl 
AuthorDate: Tue Dec 24 06:26:39 2019 -0800

PHOENIX-5096 Local index region pruning is not working as expected.
---
 .../phoenix/iterate/BaseResultIterators.java   |  9 
 .../apache/phoenix/compile/QueryCompilerTest.java  | 60 ++
 2 files changed, 69 insertions(+)

diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
index 45b4d4d..2dcc88b 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
@@ -1023,6 +1023,15 @@ public abstract class BaseResultIterators extends 
ExplainTable implements Result
 endKey = regionBoundaries.get(regionIndex);
 }
 if (isLocalIndex) {
+if (dataPlan != null && 
dataPlan.getTableRef().getTable().getType() != PTableType.INDEX) { // Sanity 
check
+ScanRanges dataScanRanges = 
dataPlan.getContext().getScanRanges();
+// we can skip a region completely for local indexes 
if the data plan does not intersect
+if 
(!dataScanRanges.intersectRegion(regionInfo.getStartKey(), 
regionInfo.getEndKey(), false)) {
+currentKeyBytes = endKey;
+regionIndex++;
+continue;
+}
+}
 // Only attempt further pruning if the prefix range is 
using
 // a skip scan since we've already pruned the range of 
regions
 // based on the start/stop key.
diff --git 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
index e6337fa..b49aaf8 100644
--- 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
+++ 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
@@ -4870,6 +4870,66 @@ public class QueryCompilerTest extends 
BaseConnectionlessQueryTest {
 }
 
 @Test
+public void testLocalIndexRegionPruning() throws SQLException {
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
+try (Connection conn = DriverManager.getConnection(getUrl(), props)) {
+conn.createStatement().execute("CREATE TABLE T (\n" + 
+"A CHAR(1) NOT NULL,\n" + 
+"B CHAR(1) NOT NULL,\n" + 
+"C CHAR(1) NOT NULL,\n" + 
+"D CHAR(1),\n" + 
+"CONSTRAINT PK PRIMARY KEY (\n" + 
+"A,\n" + 
+"B,\n" + 
+"C\n" + 
+")\n" + 
+") SPLIT ON ('A','C','E','G','I')");
+
+conn.createStatement().execute("CREATE LOCAL INDEX IDX ON T(D)");
+
+// un-pruned, need to scan all six regions
+String query = "SELECT * FROM T WHERE D = 'C'";
+PhoenixStatement statement = 
conn.createStatement().unwrap(PhoenixStatement.class);
+QueryPlan plan = statement.optimizeQuery(query);
+assertEquals("IDX", 
plan.getContext().getCurrentTable().getTable().getName().getString());
+plan.iterator();
+assertEquals(6, plan.getScans().size());
+
+// fixing first part of the key, can limit scanning to two regions
+query = "SELECT * FROM T WHERE A = 'A' AND D = 'C'";
+statement = conn.createStatement().unwrap(PhoenixStatement.class);
+plan = statement.optimizeQuery(query);
+assertEquals("IDX", 
plan.getContext().getCurrentTable().getTable().getName().getString());
+plan.iterator();
+assertEquals(2, plan.getScans().size());
+
+// same with skipscan filter
+query = "SELECT * FROM T WHERE A IN ('A', 'C') AND D = 'C'";
+statement = conn.createStatement().unwrap(PhoenixStatement.class);
+plan = statement.optimizeQuery(query);
+assertEquals("IDX", 
plan.getContext().getCurrentTable().getTable().getName().getString());
+plan.iterator();
+assertEquals(3, plan.getScans().size());
+
+// two parts of key fixed, need to scan a single region only
+

Build failed in Jenkins: Phoenix Compile Compatibility with HBase #1220

2019-12-24 Thread Apache Jenkins Server
See 


Changes:


--
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H35 (ubuntu) in workspace 

[Phoenix_Compile_Compat_wHBase] $ /bin/bash /tmp/jenkins5674167576971143516.sh
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 386461
max locked memory   (kbytes, -l) 16384
max memory size (kbytes, -m) unlimited
open files  (-n) 6
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
core id : 0
core id : 1
core id : 2
core id : 3
core id : 4
core id : 5
physical id : 0
physical id : 1
MemTotal:   98978412 kB
MemFree:34456536 kB
Filesystem  Size  Used Avail Use% Mounted on
udev 48G 0   48G   0% /dev
tmpfs   9.5G  1.6M  9.5G   1% /run
/dev/sda3   3.6T  383G  3.1T  12% /
tmpfs48G  4.0K   48G   1% /dev/shm
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs48G 0   48G   0% /sys/fs/cgroup
/dev/loop3   58M   58M 0 100% /snap/snapcraft/3440
/dev/sda2   473M  159M  290M  36% /boot
tmpfs   9.5G  4.0K  9.5G   1% /run/user/910
/dev/loop5   55M   55M 0 100% /snap/lxd/12317
/dev/loop6   59M   59M 0 100% /snap/snapcraft/3720
/dev/loop7   55M   55M 0 100% /snap/lxd/12631
/dev/loop4   55M   55M 0 100% /snap/core18/1279
/dev/loop8   90M   90M 0 100% /snap/core/8213
/dev/loop0   90M   90M 0 100% /snap/core/8268
/dev/loop9   55M   55M 0 100% /snap/core18/1288
apache-maven-2.2.1
apache-maven-3.0.5
apache-maven-3.1.1
apache-maven-3.2.5
apache-maven-3.3.9
apache-maven-3.5.2
apache-maven-3.5.4
apache-maven-3.6.0
apache-maven-3.6.2
latest
latest2
latest3


===
Verifying compile level compatibility with HBase 0.98 with Phoenix 
4.x-HBase-0.98
===

Cloning into 'hbase'...
Checking out files:  75% (3722/4955)   Checking out files:  76% (3766/4955)   
Checking out files:  77% (3816/4955)   Checking out files:  78% (3865/4955)   
Checking out files:  79% (3915/4955)   Checking out files:  80% (3964/4955)   
Checking out files:  81% (4014/4955)   Checking out files:  82% (4064/4955)   
Checking out files:  83% (4113/4955)   Checking out files:  84% (4163/4955)   
Checking out files:  85% (4212/4955)   Checking out files:  86% (4262/4955)   
Checking out files:  87% (4311/4955)   Checking out files:  88% (4361/4955)   
Checking out files:  89% (4410/4955)   Checking out files:  90% (4460/4955)   
Checking out files:  91% (4510/4955)   Checking out files:  92% (4559/4955)   
Checking out files:  93% (4609/4955)   Checking out files:  94% (4658/4955)   
Checking out files:  95% (4708/4955)   Checking out files:  96% (4757/4955)   
Checking out files:  97% (4807/4955)   Checking out files:  98% (4856/4955)   
Checking out files:  99% (4906/4955)   Checking out files: 100% (4955/4955)   
Checking out files: 100% (4955/4955), done.
Switched to a new branch '0.98'
Branch '0.98' set up to track remote branch '0.98' from 'origin'.
[ERROR] Plugin org.codehaus.mojo:findbugs-maven-plugin:2.5.2 or one of its 
dependencies could not be resolved: Failed to read artifact descriptor for 
org.codehaus.mojo:findbugs-maven-plugin:jar:2.5.2: Could not transfer artifact 
org.codehaus.mojo:findbugs-maven-plugin:pom:2.5.2 from/to central 
(https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version 
-> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Build step 'Execute shell' marked build as failure


Build failed in Jenkins: Phoenix-4.x-HBase-1.4 #349

2019-12-24 Thread Apache Jenkins Server
See 

Changes:


--
Started by an SCM change
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H26 (ubuntu) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git --version # timeout=10
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://gitbox.apache.org/repos/asf/phoenix.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1815)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags 
--progress -- https://gitbox.apache.org/repos/asf/phoenix.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: remote: Counting objects: 1550, done.
remote: Compressing objects:   0% (1/1181)   remote: Compressing 
objects:   1% (12/1181)   remote: Compressing objects:   2% (24/1181)   
remote: Compressing objects:   3% (36/1181)   remote: 
Compressing objects:   4% (48/1181)   remote: Compressing objects:   5% 
(60/1181)   remote: Compressing objects:   6% (71/1181)   
remote: Compressing objects:   7% (83/1181)   remote: Compressing 
objects:   8% (95/1181)   remote: Compressing objects:   9% (107/1181)  
 remote: Compressing objects:  10% (119/1181)   remote: 
Compressing objects:  11% (130/1181)   remote: Compressing objects:  
12% (142/1181)   remote: Compressing objects:  13% (154/1181)   
remote: Compressing objects:  14% (166/1181)   remote: Compressing 
objects:  15% (178/1181)   remote: Compressing objects:  16% (189/1181) 
  remote: Compressing objects:  17% (201/1181)   remote: 
Compressing objects:  18% (213/1181)   remote: Compressing objects:  
19% (225/1181)   remote: Compressing objects:  20% (237/1181)   
remote: Compressing objects:  21% (249/1181)   remote: Compressing 
objects:  22% (260/1181)   remote: Compressing objects:  23% (272/1181) 
  remote: Compressing objects:  24% (284/1181)   remote: 
Compressing objects:  25% (296/1181)   remote: Compressing objects:  
26% (308/1181)   remote: Compressing objects:  27% (319/1181)   
remote: Compressing objects:  28% (331/1181)   remote: Compressing 
objects:  29% (343/1181)   remote: Compressing objects:  30% (355/1181) 
  remote: Compressing objects:  31% (367/1181)   remote: 
Compressing objects:  32% (378/1181)   remote: Compressing objects:  
33% (390/1181)   remote: Compressing objects:  34% (402/1181)   
remote: Compressing objects:  35% (414/1181)   remote: Compressing 
objects:  36% (426/1181)   remote: Compressing objects:  37% (437/1181) 
  remote: Compressing objects:  38% (449/1181)   remote: 
Compressing objects:  39% (461/1181)   remote: Compressing objects:  
40% (473/1181)   remote: Compressing objects:  41% (485/1181)   
remote: Compressing objects:  42% (497/1181)   remote: Compressing 
objects:  43% (508/1181)   remote: Compressing objects:  44% (520/1181) 
  remote: Compressing objects:  45% (532/1181)   remote: 
Compressing objects:  46% (544/1181)   remote: Compressing objects:  
47% (556/1181)   remote: Compressing objects:  48% (567/1181)   
remote: Compressing objects:  49% (579/1181)   remote: Compressing 
objects:  50% (591/1181)   remote: Compressing objects:  51% (603/1181) 
  remote: Compressing objects:  52% 

Build failed in Jenkins: Phoenix-4.x-HBase-1.4 #348

2019-12-24 Thread Apache Jenkins Server
See 

Changes:


--
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H26 (ubuntu) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git --version # timeout=10
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://gitbox.apache.org/repos/asf/phoenix.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1815)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags 
--progress -- https://gitbox.apache.org/repos/asf/phoenix.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: cannot create thread: Resource temporarily unavailable
fatal: fetch-pack: unable to fork off sideband demultiplexer

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
H26
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:957)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
at sun.reflect.GeneratedMethodAccessor989.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
at com.sun.proxy.$Proxy142.execute(Unknown Source)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at 
hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at 
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1815)
at 

[phoenix] branch 4.x-HBase-1.3 updated: PHOENIX-5096 Local index region pruning is not working as expected.

2019-12-24 Thread larsh
This is an automated email from the ASF dual-hosted git repository.

larsh pushed a commit to branch 4.x-HBase-1.3
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.3 by this push:
 new 214b487  PHOENIX-5096 Local index region pruning is not working as 
expected.
214b487 is described below

commit 214b487cbe87ab8571b4a310953799e25568f1d5
Author: Lars Hofhansl 
AuthorDate: Tue Dec 24 06:26:39 2019 -0800

PHOENIX-5096 Local index region pruning is not working as expected.
---
 .../phoenix/iterate/BaseResultIterators.java   |  9 
 .../apache/phoenix/compile/QueryCompilerTest.java  | 60 ++
 2 files changed, 69 insertions(+)

diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
index 45b4d4d..2dcc88b 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
@@ -1023,6 +1023,15 @@ public abstract class BaseResultIterators extends 
ExplainTable implements Result
 endKey = regionBoundaries.get(regionIndex);
 }
 if (isLocalIndex) {
+if (dataPlan != null && 
dataPlan.getTableRef().getTable().getType() != PTableType.INDEX) { // Sanity 
check
+ScanRanges dataScanRanges = 
dataPlan.getContext().getScanRanges();
+// we can skip a region completely for local indexes 
if the data plan does not intersect
+if 
(!dataScanRanges.intersectRegion(regionInfo.getStartKey(), 
regionInfo.getEndKey(), false)) {
+currentKeyBytes = endKey;
+regionIndex++;
+continue;
+}
+}
 // Only attempt further pruning if the prefix range is 
using
 // a skip scan since we've already pruned the range of 
regions
 // based on the start/stop key.
diff --git 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
index 3dca5b6..f72c3f6 100644
--- 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
+++ 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
@@ -4877,6 +4877,66 @@ public class QueryCompilerTest extends 
BaseConnectionlessQueryTest {
 }
 
 @Test
+public void testLocalIndexRegionPruning() throws SQLException {
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
+try (Connection conn = DriverManager.getConnection(getUrl(), props)) {
+conn.createStatement().execute("CREATE TABLE T (\n" + 
+"A CHAR(1) NOT NULL,\n" + 
+"B CHAR(1) NOT NULL,\n" + 
+"C CHAR(1) NOT NULL,\n" + 
+"D CHAR(1),\n" + 
+"CONSTRAINT PK PRIMARY KEY (\n" + 
+"A,\n" + 
+"B,\n" + 
+"C\n" + 
+")\n" + 
+") SPLIT ON ('A','C','E','G','I')");
+
+conn.createStatement().execute("CREATE LOCAL INDEX IDX ON T(D)");
+
+// un-pruned, need to scan all six regions
+String query = "SELECT * FROM T WHERE D = 'C'";
+PhoenixStatement statement = 
conn.createStatement().unwrap(PhoenixStatement.class);
+QueryPlan plan = statement.optimizeQuery(query);
+assertEquals("IDX", 
plan.getContext().getCurrentTable().getTable().getName().getString());
+plan.iterator();
+assertEquals(6, plan.getScans().size());
+
+// fixing first part of the key, can limit scanning to two regions
+query = "SELECT * FROM T WHERE A = 'A' AND D = 'C'";
+statement = conn.createStatement().unwrap(PhoenixStatement.class);
+plan = statement.optimizeQuery(query);
+assertEquals("IDX", 
plan.getContext().getCurrentTable().getTable().getName().getString());
+plan.iterator();
+assertEquals(2, plan.getScans().size());
+
+// same with skipscan filter
+query = "SELECT * FROM T WHERE A IN ('A', 'C') AND D = 'C'";
+statement = conn.createStatement().unwrap(PhoenixStatement.class);
+plan = statement.optimizeQuery(query);
+assertEquals("IDX", 
plan.getContext().getCurrentTable().getTable().getName().getString());
+plan.iterator();
+assertEquals(3, plan.getScans().size());
+
+// two parts of key fixed, need to scan a single region only
+

[phoenix] branch 4.x-HBase-1.4 updated: PHOENIX-5096 Local index region pruning is not working as expected.

2019-12-24 Thread larsh
This is an automated email from the ASF dual-hosted git repository.

larsh pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.4 by this push:
 new 2f9ad87  PHOENIX-5096 Local index region pruning is not working as 
expected.
2f9ad87 is described below

commit 2f9ad87e1c7d3ad879af490f2546a596516d2ccb
Author: Lars Hofhansl 
AuthorDate: Tue Dec 24 06:26:39 2019 -0800

PHOENIX-5096 Local index region pruning is not working as expected.
---
 .../phoenix/iterate/BaseResultIterators.java   |  9 
 .../apache/phoenix/compile/QueryCompilerTest.java  | 60 ++
 2 files changed, 69 insertions(+)

diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
index 45b4d4d..2dcc88b 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
@@ -1023,6 +1023,15 @@ public abstract class BaseResultIterators extends 
ExplainTable implements Result
 endKey = regionBoundaries.get(regionIndex);
 }
 if (isLocalIndex) {
+if (dataPlan != null && 
dataPlan.getTableRef().getTable().getType() != PTableType.INDEX) { // Sanity 
check
+ScanRanges dataScanRanges = 
dataPlan.getContext().getScanRanges();
+// we can skip a region completely for local indexes 
if the data plan does not intersect
+if 
(!dataScanRanges.intersectRegion(regionInfo.getStartKey(), 
regionInfo.getEndKey(), false)) {
+currentKeyBytes = endKey;
+regionIndex++;
+continue;
+}
+}
 // Only attempt further pruning if the prefix range is 
using
 // a skip scan since we've already pruned the range of 
regions
 // based on the start/stop key.
diff --git 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
index e6337fa..b49aaf8 100644
--- 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
+++ 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
@@ -4870,6 +4870,66 @@ public class QueryCompilerTest extends 
BaseConnectionlessQueryTest {
 }
 
 @Test
+public void testLocalIndexRegionPruning() throws SQLException {
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
+try (Connection conn = DriverManager.getConnection(getUrl(), props)) {
+conn.createStatement().execute("CREATE TABLE T (\n" + 
+"A CHAR(1) NOT NULL,\n" + 
+"B CHAR(1) NOT NULL,\n" + 
+"C CHAR(1) NOT NULL,\n" + 
+"D CHAR(1),\n" + 
+"CONSTRAINT PK PRIMARY KEY (\n" + 
+"A,\n" + 
+"B,\n" + 
+"C\n" + 
+")\n" + 
+") SPLIT ON ('A','C','E','G','I')");
+
+conn.createStatement().execute("CREATE LOCAL INDEX IDX ON T(D)");
+
+// un-pruned, need to scan all six regions
+String query = "SELECT * FROM T WHERE D = 'C'";
+PhoenixStatement statement = 
conn.createStatement().unwrap(PhoenixStatement.class);
+QueryPlan plan = statement.optimizeQuery(query);
+assertEquals("IDX", 
plan.getContext().getCurrentTable().getTable().getName().getString());
+plan.iterator();
+assertEquals(6, plan.getScans().size());
+
+// fixing first part of the key, can limit scanning to two regions
+query = "SELECT * FROM T WHERE A = 'A' AND D = 'C'";
+statement = conn.createStatement().unwrap(PhoenixStatement.class);
+plan = statement.optimizeQuery(query);
+assertEquals("IDX", 
plan.getContext().getCurrentTable().getTable().getName().getString());
+plan.iterator();
+assertEquals(2, plan.getScans().size());
+
+// same with skipscan filter
+query = "SELECT * FROM T WHERE A IN ('A', 'C') AND D = 'C'";
+statement = conn.createStatement().unwrap(PhoenixStatement.class);
+plan = statement.optimizeQuery(query);
+assertEquals("IDX", 
plan.getContext().getCurrentTable().getTable().getName().getString());
+plan.iterator();
+assertEquals(3, plan.getScans().size());
+
+// two parts of key fixed, need to scan a single region only
+

Build failed in Jenkins: Phoenix-4.x-HBase-1.4 #350

2019-12-24 Thread Apache Jenkins Server
See 

Changes:


--
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H26 (ubuntu) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git --version # timeout=10
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://gitbox.apache.org/repos/asf/phoenix.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1815)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags 
--progress -- https://gitbox.apache.org/repos/asf/phoenix.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: remote: Counting objects: 1568, done.
remote: Compressing objects:   0% (1/1197)   remote: Compressing 
objects:   1% (12/1197)   remote: Compressing objects:   2% (24/1197)   
remote: Compressing objects:   3% (36/1197)   remote: 
Compressing objects:   4% (48/1197)   remote: Compressing objects:   5% 
(60/1197)   remote: Compressing objects:   6% (72/1197)   
remote: Compressing objects:   7% (84/1197)   remote: Compressing 
objects:   8% (96/1197)   remote: Compressing objects:   9% (108/1197)  
 remote: Compressing objects:  10% (120/1197)   remote: 
Compressing objects:  11% (132/1197)   remote: Compressing objects:  
12% (144/1197)   remote: Compressing objects:  13% (156/1197)   
remote: Compressing objects:  14% (168/1197)   remote: Compressing 
objects:  15% (180/1197)   remote: Compressing objects:  16% (192/1197) 
  remote: Compressing objects:  17% (204/1197)   remote: 
Compressing objects:  18% (216/1197)   remote: Compressing objects:  
19% (228/1197)   remote: Compressing objects:  20% (240/1197)   
remote: Compressing objects:  21% (252/1197)   remote: Compressing 
objects:  22% (264/1197)   remote: Compressing objects:  23% (276/1197) 
  remote: Compressing objects:  24% (288/1197)   remote: 
Compressing objects:  25% (300/1197)   remote: Compressing objects:  
26% (312/1197)   remote: Compressing objects:  27% (324/1197)   
remote: Compressing objects:  28% (336/1197)   remote: Compressing 
objects:  29% (348/1197)   remote: Compressing objects:  30% (360/1197) 
  remote: Compressing objects:  31% (372/1197)   remote: 
Compressing objects:  32% (384/1197)   remote: Compressing objects:  
33% (396/1197)   remote: Compressing objects:  34% (407/1197)   
remote: Compressing objects:  35% (419/1197)   remote: Compressing 
objects:  36% (431/1197)   remote: Compressing objects:  37% (443/1197) 
  remote: Compressing objects:  38% (455/1197)   remote: 
Compressing objects:  39% (467/1197)   remote: Compressing objects:  
40% (479/1197)   remote: Compressing objects:  41% (491/1197)   
remote: Compressing objects:  42% (503/1197)   remote: Compressing 
objects:  43% (515/1197)   remote: Compressing objects:  44% (527/1197) 
  remote: Compressing objects:  45% (539/1197)   remote: 
Compressing objects:  46% (551/1197)   remote: Compressing objects:  
47% (563/1197)   remote: Compressing objects:  48% (575/1197)   
remote: Compressing objects:  49% (587/1197)   remote: Compressing 
objects:  50% (599/1197)   remote: Compressing objects:  51% (611/1197) 
  remote: Compressing objects:  52% (623/1197)   remote: 

Jenkins build is back to normal : Phoenix | Master #2609

2019-12-24 Thread Apache Jenkins Server
See 




Apache Phoenix - Timeout crawler - Build https://builds.apache.org/job/Phoenix-master/2609/

2019-12-24 Thread Apache Jenkins Server
[...truncated 27 lines...]
Looking at the log, list of test(s) that timed-out:

Build:
https://builds.apache.org/job/Phoenix-master/2609/


Affected test class(es):
Set(['as SYSTEM'])


Build step 'Execute shell' marked build as failure
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any

Build failed in Jenkins: Phoenix-4.x-HBase-1.3 #633

2019-12-24 Thread Apache Jenkins Server
See 


Changes:

[larsh] PHOENIX-5096 Local index region pruning is not working as expected.


--
[...truncated 104.52 KB...]
[INFO] Running 
org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.055 s 
- in org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Running 
org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT
[INFO] Running org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT
[INFO] Running org.apache.phoenix.end2end.ConcurrentMutationsExtendedIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.814 s 
- in org.apache.phoenix.end2end.ConnectionUtilIT
[INFO] Running org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.622 s 
- in org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Running org.apache.phoenix.end2end.CostBasedDecisionIT
[INFO] Running org.apache.phoenix.end2end.CountDistinctCompressionIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.725 s 
- in org.apache.phoenix.end2end.CountDistinctCompressionIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
174.533 s - in 
org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
180.165 s - in 
org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
182.01 s - in 
org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
182.662 s - in org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT
[INFO] Running org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.DropSchemaIT
[INFO] Running org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.IndexBuildTimestampIT
[INFO] Running org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 270.905 
s - in org.apache.phoenix.end2end.ConcurrentMutationsExtendedIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.928 s 
- in org.apache.phoenix.end2end.DropSchemaIT
[INFO] Running org.apache.phoenix.end2end.IndexRebuildTaskIT
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 146.948 
s - in org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolForTenantIT
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.683 
s - in org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.13 s 
- in org.apache.phoenix.end2end.IndexRebuildTaskIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Running org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Running 
org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.049 s 
- in org.apache.phoenix.end2end.IndexScrutinyToolForTenantIT
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 188.589 
s - in org.apache.phoenix.end2end.IndexBuildTimestampIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.993 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 197.829 
s - in org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.MigrateSystemTablesToSystemNamespaceIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.707 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Running org.apache.phoenix.end2end.IndexToolIT
[INFO] Running org.apache.phoenix.end2end.LocalIndexSplitMergeIT
[INFO] Running 
org.apache.phoenix.end2end.NonColumnEncodedImmutableNonTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.NonColumnEncodedImmutableTxStatsCollectorIT
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 570.628 
s - in org.apache.phoenix.end2end.CostBasedDecisionIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 188.559 
s - in org.apache.phoenix.end2end.LocalIndexSplitMergeIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
179.884 s - in 
org.apache.phoenix.end2end.NonColumnEncodedImmutableNonTxStatsCollectorIT
[INFO] 

[phoenix] branch master updated: PHOENIX-5096 Local index region pruning is not working as expected.

2019-12-24 Thread larsh
This is an automated email from the ASF dual-hosted git repository.

larsh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/master by this push:
 new 356f4cd  PHOENIX-5096 Local index region pruning is not working as 
expected.
356f4cd is described below

commit 356f4cd7d43bccb9538a5a2b94863b1c52cd9aad
Author: Lars Hofhansl 
AuthorDate: Tue Dec 24 06:26:39 2019 -0800

PHOENIX-5096 Local index region pruning is not working as expected.
---
 .../phoenix/iterate/BaseResultIterators.java   |  9 
 .../apache/phoenix/compile/QueryCompilerTest.java  | 60 ++
 2 files changed, 69 insertions(+)

diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
index 8fd368a..12a6b3a 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
@@ -1023,6 +1023,15 @@ public abstract class BaseResultIterators extends 
ExplainTable implements Result
 endKey = regionBoundaries.get(regionIndex);
 }
 if (isLocalIndex) {
+if (dataPlan != null && 
dataPlan.getTableRef().getTable().getType() != PTableType.INDEX) { // Sanity 
check
+ScanRanges dataScanRanges = 
dataPlan.getContext().getScanRanges();
+// we can skip a region completely for local indexes 
if the data plan does not intersect
+if 
(!dataScanRanges.intersectRegion(regionInfo.getStartKey(), 
regionInfo.getEndKey(), false)) {
+currentKeyBytes = endKey;
+regionIndex++;
+continue;
+}
+}
 // Only attempt further pruning if the prefix range is 
using
 // a skip scan since we've already pruned the range of 
regions
 // based on the start/stop key.
diff --git 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
index 31369be..c4c47e7 100644
--- 
a/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
+++ 
b/phoenix-core/src/test/java/org/apache/phoenix/compile/QueryCompilerTest.java
@@ -4877,6 +4877,66 @@ public class QueryCompilerTest extends 
BaseConnectionlessQueryTest {
 }
 
 @Test
+public void testLocalIndexRegionPruning() throws SQLException {
+Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
+try (Connection conn = DriverManager.getConnection(getUrl(), props)) {
+conn.createStatement().execute("CREATE TABLE T (\n" + 
+"A CHAR(1) NOT NULL,\n" + 
+"B CHAR(1) NOT NULL,\n" + 
+"C CHAR(1) NOT NULL,\n" + 
+"D CHAR(1),\n" + 
+"CONSTRAINT PK PRIMARY KEY (\n" + 
+"A,\n" + 
+"B,\n" + 
+"C\n" + 
+")\n" + 
+") SPLIT ON ('A','C','E','G','I')");
+
+conn.createStatement().execute("CREATE LOCAL INDEX IDX ON T(D)");
+
+// un-pruned, need to scan all six regions
+String query = "SELECT * FROM T WHERE D = 'C'";
+PhoenixStatement statement = 
conn.createStatement().unwrap(PhoenixStatement.class);
+QueryPlan plan = statement.optimizeQuery(query);
+assertEquals("IDX", 
plan.getContext().getCurrentTable().getTable().getName().getString());
+plan.iterator();
+assertEquals(6, plan.getScans().size());
+
+// fixing first part of the key, can limit scanning to two regions
+query = "SELECT * FROM T WHERE A = 'A' AND D = 'C'";
+statement = conn.createStatement().unwrap(PhoenixStatement.class);
+plan = statement.optimizeQuery(query);
+assertEquals("IDX", 
plan.getContext().getCurrentTable().getTable().getName().getString());
+plan.iterator();
+assertEquals(2, plan.getScans().size());
+
+// same with skipscan filter
+query = "SELECT * FROM T WHERE A IN ('A', 'C') AND D = 'C'";
+statement = conn.createStatement().unwrap(PhoenixStatement.class);
+plan = statement.optimizeQuery(query);
+assertEquals("IDX", 
plan.getContext().getCurrentTable().getTable().getName().getString());
+plan.iterator();
+assertEquals(3, plan.getScans().size());
+
+// two parts of key fixed, need to scan a single region only
+query = "SELECT 

Build failed in Jenkins: Phoenix-4.x-HBase-1.4 #351

2019-12-24 Thread Apache Jenkins Server
See 

Changes:


--
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H26 (ubuntu) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git --version # timeout=10
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://gitbox.apache.org/repos/asf/phoenix.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1815)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags 
--progress -- https://gitbox.apache.org/repos/asf/phoenix.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: cannot fork() for rev-list: Resource temporarily unavailable
error: Could not run 'git rev-list'
error: cannot fork() for fetch-pack: Resource temporarily unavailable

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2172)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1864)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:78)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:545)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
H26
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:957)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
at sun.reflect.GeneratedMethodAccessor989.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
at com.sun.proxy.$Proxy142.execute(Unknown Source)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at 
hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at 
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at 

Apache-Phoenix | 4.x-HBase-1.3 | Build Successful

2019-12-24 Thread Apache Jenkins Server
4.x-HBase-1.3 branch build status Successful

Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.x-HBase-1.3

Compiled Artifacts https://builds.apache.org/job/Phoenix-4.x-HBase-1.3/lastSuccessfulBuild/artifact/

Test Report https://builds.apache.org/job/Phoenix-4.x-HBase-1.3/lastCompletedBuild/testReport/

Changes
[larsh] PHOENIX-5096 Local index region pruning is not working as expected.



Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout


Jenkins build is back to normal : Phoenix-4.x-HBase-1.4 #352

2019-12-24 Thread Apache Jenkins Server
See