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

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

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


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

Apache-Phoenix | Master | Build Successful

2019-09-30 Thread Apache Jenkins Server
Master branch build status Successful
Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/master

Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-master/lastSuccessfulBuild/artifact/

Last Complete Test Report https://builds.apache.org/job/Phoenix-master/lastCompletedBuild/testReport/

Changes
[chinmayskulkarni] PHOENIX-4810: Send parent->child link mutations to SYSTEM.CHILD_LINK



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


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

2019-09-30 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
[chinmayskulkarni] PHOENIX-4810: Send parent->child link mutations to SYSTEM.CHILD_LINK



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


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

2019-09-30 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
[chinmayskulkarni] PHOENIX-4810: Send parent->child link mutations to SYSTEM.CHILD_LINK



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


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

2019-09-30 Thread Apache Jenkins Server
See 


Changes:

[chinmayskulkarni] PHOENIX-4810: Send parent->child link mutations to 
SYSTEM.CHILD_LINK


--
[...truncated 105.26 KB...]
[INFO] Running 
org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT
[INFO] Running org.apache.phoenix.end2end.ConcurrentMutationsExtendedIT
[INFO] Running org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.262 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.536 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: 2.671 s 
- in org.apache.phoenix.end2end.CountDistinctCompressionIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
171.726 s - in 
org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
187.919 s - in 
org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
182.414 s - in 
org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
184.705 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.IndexExtendedIT
[INFO] Running org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.IndexBuildTimestampIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.339 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: 144.833 
s - in org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 90.747 
s - in org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.382 s 
- in org.apache.phoenix.end2end.IndexRebuildTaskIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolForTenantIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 431.906 
s - in org.apache.phoenix.end2end.ConcurrentMutationsExtendedIT
[INFO] Running org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 185.086 
s - in org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 180.771 
s - in org.apache.phoenix.end2end.IndexBuildTimestampIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.876 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Running org.apache.phoenix.end2end.MigrateSystemTablesToSystemNamespaceIT
[INFO] Running 
org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 88.362 s 
- in org.apache.phoenix.end2end.IndexScrutinyToolForTenantIT
[INFO] Running org.apache.phoenix.end2end.IndexToolIT
[INFO] Running org.apache.phoenix.end2end.LocalIndexSplitMergeIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.059 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Running 
org.apache.phoenix.end2end.NonColumnEncodedImmutableNonTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.NonColumnEncodedImmutableTxStatsCollectorIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 198.058 
s - in org.apache.phoenix.end2end.LocalIndexSplitMergeIT
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 644.023 
s - in org.apache.phoenix.end2end.CostBasedDecisionIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
172.775 s - in 
org.apache.phoenix.end2end.NonColumnEncodedImmutableNonTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.OrderByWithServerClientSpoolingDisabledIT
[INFO] Running org.apache.phoenix.end2end.OrderByWithServerMemoryLimitIT
[INFO] Running org.apache.phoenix.end2end.OrderByWithSpillingIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.532 s 
- in 

[phoenix] branch 4.x-HBase-1.5 updated: PHOENIX-4810: Send parent->child link mutations to SYSTEM.CHILD_LINK table in MetdataClient.createTableInternal

2019-09-30 Thread chinmayskulkarni
This is an automated email from the ASF dual-hosted git repository.

chinmayskulkarni 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 0db6313  PHOENIX-4810: Send parent->child link mutations to 
SYSTEM.CHILD_LINK table in MetdataClient.createTableInternal
0db6313 is described below

commit 0db6313987b8473f296a952978697145168356ec
Author: Chinmay Kulkarni 
AuthorDate: Mon Sep 30 18:32:07 2019 -0700

PHOENIX-4810: Send parent->child link mutations to SYSTEM.CHILD_LINK table 
in MetdataClient.createTableInternal
---
 .../apache/phoenix/end2end/BasePermissionsIT.java  | 100 +--
 .../phoenix/end2end/PermissionNSEnabledIT.java |  72 ++
 .../it/java/org/apache/phoenix/end2end/ViewIT.java |  67 +-
 .../coprocessor/BaseMetaDataEndpointObserver.java  |   5 +
 .../coprocessor/ChildLinkMetaDataEndpoint.java | 121 
 .../phoenix/coprocessor/MetaDataEndpointImpl.java  |  74 +-
 .../coprocessor/MetaDataEndpointObserver.java  |   3 +
 .../phoenix/coprocessor/MetaDataProtocol.java  |   3 +
 .../PhoenixMetaDataCoprocessorHost.java|  33 +-
 .../generated/ChildLinkMetaDataProtos.java | 786 +
 .../coprocessor/generated/MetaDataProtos.java  |  60 +-
 .../apache/phoenix/exception/SQLExceptionCode.java |   7 +
 .../org/apache/phoenix/protobuf/ProtobufUtil.java  |   6 +
 .../phoenix/query/ConnectionQueryServicesImpl.java |  88 ++-
 .../org/apache/phoenix/schema/MetaDataClient.java  |  13 +-
 .../java/org/apache/phoenix/util/MetaDataUtil.java |  18 +-
 .../src/main/ChildLinkMetaDataService.proto|  36 +
 phoenix-protocol/src/main/MetaDataService.proto|   1 +
 18 files changed, 1350 insertions(+), 143 deletions(-)

diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
index c4e3907..4301ec8 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
@@ -76,26 +76,26 @@ public abstract class BasePermissionsIT extends BaseTest {
 
 private static final Logger LOGGER = 
LoggerFactory.getLogger(BasePermissionsIT.class);
 
-static String SUPER_USER = System.getProperty("user.name");
+private static String SUPER_USER = System.getProperty("user.name");
 
-static HBaseTestingUtility testUtil;
-static final Set PHOENIX_SYSTEM_TABLES =
+private static HBaseTestingUtility testUtil;
+private static final Set PHOENIX_SYSTEM_TABLES =
 new HashSet<>(Arrays.asList("SYSTEM.CATALOG", "SYSTEM.SEQUENCE", 
"SYSTEM.STATS",
-"SYSTEM.FUNCTION", "SYSTEM.MUTEX"));
+"SYSTEM.FUNCTION", "SYSTEM.MUTEX", "SYSTEM.CHILD_LINK"));
 
-static final Set PHOENIX_SYSTEM_TABLES_IDENTIFIERS =
+private static final Set PHOENIX_SYSTEM_TABLES_IDENTIFIERS =
 new HashSet<>(Arrays.asList("SYSTEM.\"CATALOG\"", 
"SYSTEM.\"SEQUENCE\"",
-"SYSTEM.\"STATS\"", "SYSTEM.\"FUNCTION\"", 
"SYSTEM.\"MUTEX\""));
+"SYSTEM.\"STATS\"", "SYSTEM.\"FUNCTION\"", "SYSTEM.\"MUTEX\"", 
"SYSTEM.\"CHILD_LINK\""));
 
-static final String SYSTEM_SEQUENCE_IDENTIFIER =
+private static final String SYSTEM_SEQUENCE_IDENTIFIER =
 QueryConstants.SYSTEM_SCHEMA_NAME + "." + "\"" + 
PhoenixDatabaseMetaData.SYSTEM_SEQUENCE_TABLE+ "\"";
 
-static final String SYSTEM_MUTEX_IDENTIFIER =
+private static final String SYSTEM_MUTEX_IDENTIFIER =
 QueryConstants.SYSTEM_SCHEMA_NAME + "." + "\""
 + PhoenixDatabaseMetaData.SYSTEM_MUTEX_TABLE_NAME + "\"";
 
 static final Set PHOENIX_NAMESPACE_MAPPED_SYSTEM_TABLES = new 
HashSet<>(Arrays.asList(
-"SYSTEM:CATALOG", "SYSTEM:SEQUENCE", "SYSTEM:STATS", 
"SYSTEM:FUNCTION", "SYSTEM:MUTEX"));
+"SYSTEM:CATALOG", "SYSTEM:SEQUENCE", "SYSTEM:STATS", 
"SYSTEM:FUNCTION", "SYSTEM:MUTEX", "SYSTEM:CHILD_LINK"));
 
 // Create Multiple users so that we can use Hadoop UGI to run tasks as 
various users
 // Permissions can be granted or revoke by superusers and admins only
@@ -104,23 +104,23 @@ public abstract class BasePermissionsIT extends BaseTest {
 
 // Super User has all the access
 static User superUser1 = null;
-static User superUser2 = null;
+private static User superUser2 = null;
 
 // Regular users are granted and revoked permissions as needed
 User regularUser1 = null;
-User regularUser2 = null;
-User regularUser3 = null;
-User regularUser4 = null;
+private User regularUser2 = null;
+private User regularUser3 = null;
+private User regularUser4 = null;
 
 // Group User is equivalent of regular user but inside a group
 // Permissions can be granted to group should affect this user
 

[phoenix] branch master updated: PHOENIX-4810: Send parent->child link mutations to SYSTEM.CHILD_LINK table in MetdataClient.createTableInternal

2019-09-30 Thread chinmayskulkarni
This is an automated email from the ASF dual-hosted git repository.

chinmayskulkarni 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 8d41615  PHOENIX-4810: Send parent->child link mutations to 
SYSTEM.CHILD_LINK table in MetdataClient.createTableInternal
8d41615 is described below

commit 8d4161553435975bc0308e6208358552ba897b59
Author: Chinmay Kulkarni 
AuthorDate: Thu Sep 26 15:01:16 2019 -0700

PHOENIX-4810: Send parent->child link mutations to SYSTEM.CHILD_LINK table 
in MetdataClient.createTableInternal
---
 .../apache/phoenix/end2end/BasePermissionsIT.java  | 100 +--
 .../phoenix/end2end/PermissionNSEnabledIT.java |  72 ++
 .../it/java/org/apache/phoenix/end2end/ViewIT.java |  67 +-
 .../coprocessor/BaseMetaDataEndpointObserver.java  |   5 +
 .../coprocessor/ChildLinkMetaDataEndpoint.java | 114 +++
 .../phoenix/coprocessor/MetaDataEndpointImpl.java  |  74 +-
 .../coprocessor/MetaDataEndpointObserver.java  |   3 +
 .../phoenix/coprocessor/MetaDataProtocol.java  |   3 +
 .../PhoenixMetaDataCoprocessorHost.java|  40 +-
 .../generated/ChildLinkMetaDataProtos.java | 786 +
 .../coprocessor/generated/MetaDataProtos.java  |  60 +-
 .../apache/phoenix/exception/SQLExceptionCode.java |   7 +
 .../org/apache/phoenix/protobuf/ProtobufUtil.java  |   6 +
 .../phoenix/query/ConnectionQueryServicesImpl.java |  87 ++-
 .../org/apache/phoenix/schema/MetaDataClient.java  |  13 +-
 .../java/org/apache/phoenix/util/MetaDataUtil.java |  18 +-
 .../src/main/ChildLinkMetaDataService.proto|  36 +
 phoenix-protocol/src/main/MetaDataService.proto|   1 +
 18 files changed, 1343 insertions(+), 149 deletions(-)

diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
index 5095d8a..382cacc 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
@@ -77,26 +77,26 @@ public abstract class BasePermissionsIT extends BaseTest {
 
 private static final Logger LOGGER = 
LoggerFactory.getLogger(BasePermissionsIT.class);
 
-static String SUPER_USER = System.getProperty("user.name");
+private static String SUPER_USER = System.getProperty("user.name");
 
-static HBaseTestingUtility testUtil;
-static final Set PHOENIX_SYSTEM_TABLES =
+private static HBaseTestingUtility testUtil;
+private static final Set PHOENIX_SYSTEM_TABLES =
 new HashSet<>(Arrays.asList("SYSTEM.CATALOG", "SYSTEM.SEQUENCE", 
"SYSTEM.STATS",
-"SYSTEM.FUNCTION", "SYSTEM.MUTEX"));
+"SYSTEM.FUNCTION", "SYSTEM.MUTEX", "SYSTEM.CHILD_LINK"));
 
-static final Set PHOENIX_SYSTEM_TABLES_IDENTIFIERS =
+private static final Set PHOENIX_SYSTEM_TABLES_IDENTIFIERS =
 new HashSet<>(Arrays.asList("SYSTEM.\"CATALOG\"", 
"SYSTEM.\"SEQUENCE\"",
-"SYSTEM.\"STATS\"", "SYSTEM.\"FUNCTION\"", 
"SYSTEM.\"MUTEX\""));
+"SYSTEM.\"STATS\"", "SYSTEM.\"FUNCTION\"", "SYSTEM.\"MUTEX\"", 
"SYSTEM.\"CHILD_LINK\""));
 
-static final String SYSTEM_SEQUENCE_IDENTIFIER =
+private static final String SYSTEM_SEQUENCE_IDENTIFIER =
 QueryConstants.SYSTEM_SCHEMA_NAME + "." + "\"" + 
PhoenixDatabaseMetaData.SYSTEM_SEQUENCE_TABLE+ "\"";
 
-static final String SYSTEM_MUTEX_IDENTIFIER =
+private static final String SYSTEM_MUTEX_IDENTIFIER =
 QueryConstants.SYSTEM_SCHEMA_NAME + "." + "\""
 + PhoenixDatabaseMetaData.SYSTEM_MUTEX_TABLE_NAME + "\"";
 
 static final Set PHOENIX_NAMESPACE_MAPPED_SYSTEM_TABLES = new 
HashSet<>(Arrays.asList(
-"SYSTEM:CATALOG", "SYSTEM:SEQUENCE", "SYSTEM:STATS", 
"SYSTEM:FUNCTION", "SYSTEM:MUTEX"));
+"SYSTEM:CATALOG", "SYSTEM:SEQUENCE", "SYSTEM:STATS", 
"SYSTEM:FUNCTION", "SYSTEM:MUTEX", "SYSTEM:CHILD_LINK"));
 
 // Create Multiple users so that we can use Hadoop UGI to run tasks as 
various users
 // Permissions can be granted or revoke by superusers and admins only
@@ -105,23 +105,23 @@ public abstract class BasePermissionsIT extends BaseTest {
 
 // Super User has all the access
 static User superUser1 = null;
-static User superUser2 = null;
+private static User superUser2 = null;
 
 // Regular users are granted and revoked permissions as needed
 User regularUser1 = null;
-User regularUser2 = null;
-User regularUser3 = null;
-User regularUser4 = null;
+private User regularUser2 = null;
+private User regularUser3 = null;
+private User regularUser4 = null;
 
 // Group User is equivalent of regular user but inside a group
 // Permissions can be granted to group should affect this user
 static final 

[phoenix] branch 4.x-HBase-1.4 updated: PHOENIX-4810: Send parent->child link mutations to SYSTEM.CHILD_LINK table in MetdataClient.createTableInternal

2019-09-30 Thread chinmayskulkarni
This is an automated email from the ASF dual-hosted git repository.

chinmayskulkarni 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 4b08a21  PHOENIX-4810: Send parent->child link mutations to 
SYSTEM.CHILD_LINK table in MetdataClient.createTableInternal
4b08a21 is described below

commit 4b08a2124a93ea7524771850e94c90a66c763554
Author: Chinmay Kulkarni 
AuthorDate: Thu Sep 26 15:01:16 2019 -0700

PHOENIX-4810: Send parent->child link mutations to SYSTEM.CHILD_LINK table 
in MetdataClient.createTableInternal
---
 .../apache/phoenix/end2end/BasePermissionsIT.java  | 100 +--
 .../phoenix/end2end/PermissionNSEnabledIT.java |  72 ++
 .../it/java/org/apache/phoenix/end2end/ViewIT.java |  67 +-
 .../coprocessor/BaseMetaDataEndpointObserver.java  |   5 +
 .../coprocessor/ChildLinkMetaDataEndpoint.java | 121 
 .../phoenix/coprocessor/MetaDataEndpointImpl.java  |  74 +-
 .../coprocessor/MetaDataEndpointObserver.java  |   3 +
 .../phoenix/coprocessor/MetaDataProtocol.java  |   3 +
 .../PhoenixMetaDataCoprocessorHost.java|  33 +-
 .../generated/ChildLinkMetaDataProtos.java | 786 +
 .../coprocessor/generated/MetaDataProtos.java  |  60 +-
 .../apache/phoenix/exception/SQLExceptionCode.java |   7 +
 .../org/apache/phoenix/protobuf/ProtobufUtil.java  |   6 +
 .../phoenix/query/ConnectionQueryServicesImpl.java |  88 ++-
 .../org/apache/phoenix/schema/MetaDataClient.java  |  13 +-
 .../java/org/apache/phoenix/util/MetaDataUtil.java |  18 +-
 .../src/main/ChildLinkMetaDataService.proto|  36 +
 phoenix-protocol/src/main/MetaDataService.proto|   1 +
 18 files changed, 1350 insertions(+), 143 deletions(-)

diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
index f13cf19..ad473ba 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
@@ -77,26 +77,26 @@ public abstract class BasePermissionsIT extends BaseTest {
 
 private static final Logger LOGGER = 
LoggerFactory.getLogger(BasePermissionsIT.class);
 
-static String SUPER_USER = System.getProperty("user.name");
+private static String SUPER_USER = System.getProperty("user.name");
 
-static HBaseTestingUtility testUtil;
-static final Set PHOENIX_SYSTEM_TABLES =
+private static HBaseTestingUtility testUtil;
+private static final Set PHOENIX_SYSTEM_TABLES =
 new HashSet<>(Arrays.asList("SYSTEM.CATALOG", "SYSTEM.SEQUENCE", 
"SYSTEM.STATS",
-"SYSTEM.FUNCTION", "SYSTEM.MUTEX"));
+"SYSTEM.FUNCTION", "SYSTEM.MUTEX", "SYSTEM.CHILD_LINK"));
 
-static final Set PHOENIX_SYSTEM_TABLES_IDENTIFIERS =
+private static final Set PHOENIX_SYSTEM_TABLES_IDENTIFIERS =
 new HashSet<>(Arrays.asList("SYSTEM.\"CATALOG\"", 
"SYSTEM.\"SEQUENCE\"",
-"SYSTEM.\"STATS\"", "SYSTEM.\"FUNCTION\"", 
"SYSTEM.\"MUTEX\""));
+"SYSTEM.\"STATS\"", "SYSTEM.\"FUNCTION\"", "SYSTEM.\"MUTEX\"", 
"SYSTEM.\"CHILD_LINK\""));
 
-static final String SYSTEM_SEQUENCE_IDENTIFIER =
+private static final String SYSTEM_SEQUENCE_IDENTIFIER =
 QueryConstants.SYSTEM_SCHEMA_NAME + "." + "\"" + 
PhoenixDatabaseMetaData.SYSTEM_SEQUENCE_TABLE+ "\"";
 
-static final String SYSTEM_MUTEX_IDENTIFIER =
+private static final String SYSTEM_MUTEX_IDENTIFIER =
 QueryConstants.SYSTEM_SCHEMA_NAME + "." + "\""
 + PhoenixDatabaseMetaData.SYSTEM_MUTEX_TABLE_NAME + "\"";
 
 static final Set PHOENIX_NAMESPACE_MAPPED_SYSTEM_TABLES = new 
HashSet<>(Arrays.asList(
-"SYSTEM:CATALOG", "SYSTEM:SEQUENCE", "SYSTEM:STATS", 
"SYSTEM:FUNCTION", "SYSTEM:MUTEX"));
+"SYSTEM:CATALOG", "SYSTEM:SEQUENCE", "SYSTEM:STATS", 
"SYSTEM:FUNCTION", "SYSTEM:MUTEX", "SYSTEM:CHILD_LINK"));
 
 // Create Multiple users so that we can use Hadoop UGI to run tasks as 
various users
 // Permissions can be granted or revoke by superusers and admins only
@@ -105,23 +105,23 @@ public abstract class BasePermissionsIT extends BaseTest {
 
 // Super User has all the access
 static User superUser1 = null;
-static User superUser2 = null;
+private static User superUser2 = null;
 
 // Regular users are granted and revoked permissions as needed
 User regularUser1 = null;
-User regularUser2 = null;
-User regularUser3 = null;
-User regularUser4 = null;
+private User regularUser2 = null;
+private User regularUser3 = null;
+private User regularUser4 = null;
 
 // Group User is equivalent of regular user but inside a group
 // Permissions can be granted to group should affect this user
 

[phoenix] branch 4.x-HBase-1.3 updated: PHOENIX-4810: Send parent->child link mutations to SYSTEM.CHILD_LINK table in MetdataClient.createTableInternal

2019-09-30 Thread chinmayskulkarni
This is an automated email from the ASF dual-hosted git repository.

chinmayskulkarni 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 40712b3  PHOENIX-4810: Send parent->child link mutations to 
SYSTEM.CHILD_LINK table in MetdataClient.createTableInternal
40712b3 is described below

commit 40712b386ba719de741692dfbcdad705f2136aa2
Author: Chinmay Kulkarni 
AuthorDate: Thu Sep 26 15:01:16 2019 -0700

PHOENIX-4810: Send parent->child link mutations to SYSTEM.CHILD_LINK table 
in MetdataClient.createTableInternal
---
 .../apache/phoenix/end2end/BasePermissionsIT.java  | 100 +--
 .../phoenix/end2end/PermissionNSEnabledIT.java |  72 ++
 .../it/java/org/apache/phoenix/end2end/ViewIT.java |  67 +-
 .../coprocessor/BaseMetaDataEndpointObserver.java  |   5 +
 .../coprocessor/ChildLinkMetaDataEndpoint.java | 121 
 .../phoenix/coprocessor/MetaDataEndpointImpl.java  |  74 +-
 .../coprocessor/MetaDataEndpointObserver.java  |   3 +
 .../phoenix/coprocessor/MetaDataProtocol.java  |   3 +
 .../PhoenixMetaDataCoprocessorHost.java|  33 +-
 .../generated/ChildLinkMetaDataProtos.java | 786 +
 .../coprocessor/generated/MetaDataProtos.java  |  60 +-
 .../apache/phoenix/exception/SQLExceptionCode.java |   7 +
 .../org/apache/phoenix/protobuf/ProtobufUtil.java  |   6 +
 .../phoenix/query/ConnectionQueryServicesImpl.java |  88 ++-
 .../org/apache/phoenix/schema/MetaDataClient.java  |  13 +-
 .../java/org/apache/phoenix/util/MetaDataUtil.java |  18 +-
 .../src/main/ChildLinkMetaDataService.proto|  36 +
 phoenix-protocol/src/main/MetaDataService.proto|   1 +
 18 files changed, 1350 insertions(+), 143 deletions(-)

diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
index c4e3907..4301ec8 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BasePermissionsIT.java
@@ -76,26 +76,26 @@ public abstract class BasePermissionsIT extends BaseTest {
 
 private static final Logger LOGGER = 
LoggerFactory.getLogger(BasePermissionsIT.class);
 
-static String SUPER_USER = System.getProperty("user.name");
+private static String SUPER_USER = System.getProperty("user.name");
 
-static HBaseTestingUtility testUtil;
-static final Set PHOENIX_SYSTEM_TABLES =
+private static HBaseTestingUtility testUtil;
+private static final Set PHOENIX_SYSTEM_TABLES =
 new HashSet<>(Arrays.asList("SYSTEM.CATALOG", "SYSTEM.SEQUENCE", 
"SYSTEM.STATS",
-"SYSTEM.FUNCTION", "SYSTEM.MUTEX"));
+"SYSTEM.FUNCTION", "SYSTEM.MUTEX", "SYSTEM.CHILD_LINK"));
 
-static final Set PHOENIX_SYSTEM_TABLES_IDENTIFIERS =
+private static final Set PHOENIX_SYSTEM_TABLES_IDENTIFIERS =
 new HashSet<>(Arrays.asList("SYSTEM.\"CATALOG\"", 
"SYSTEM.\"SEQUENCE\"",
-"SYSTEM.\"STATS\"", "SYSTEM.\"FUNCTION\"", 
"SYSTEM.\"MUTEX\""));
+"SYSTEM.\"STATS\"", "SYSTEM.\"FUNCTION\"", "SYSTEM.\"MUTEX\"", 
"SYSTEM.\"CHILD_LINK\""));
 
-static final String SYSTEM_SEQUENCE_IDENTIFIER =
+private static final String SYSTEM_SEQUENCE_IDENTIFIER =
 QueryConstants.SYSTEM_SCHEMA_NAME + "." + "\"" + 
PhoenixDatabaseMetaData.SYSTEM_SEQUENCE_TABLE+ "\"";
 
-static final String SYSTEM_MUTEX_IDENTIFIER =
+private static final String SYSTEM_MUTEX_IDENTIFIER =
 QueryConstants.SYSTEM_SCHEMA_NAME + "." + "\""
 + PhoenixDatabaseMetaData.SYSTEM_MUTEX_TABLE_NAME + "\"";
 
 static final Set PHOENIX_NAMESPACE_MAPPED_SYSTEM_TABLES = new 
HashSet<>(Arrays.asList(
-"SYSTEM:CATALOG", "SYSTEM:SEQUENCE", "SYSTEM:STATS", 
"SYSTEM:FUNCTION", "SYSTEM:MUTEX"));
+"SYSTEM:CATALOG", "SYSTEM:SEQUENCE", "SYSTEM:STATS", 
"SYSTEM:FUNCTION", "SYSTEM:MUTEX", "SYSTEM:CHILD_LINK"));
 
 // Create Multiple users so that we can use Hadoop UGI to run tasks as 
various users
 // Permissions can be granted or revoke by superusers and admins only
@@ -104,23 +104,23 @@ public abstract class BasePermissionsIT extends BaseTest {
 
 // Super User has all the access
 static User superUser1 = null;
-static User superUser2 = null;
+private static User superUser2 = null;
 
 // Regular users are granted and revoked permissions as needed
 User regularUser1 = null;
-User regularUser2 = null;
-User regularUser3 = null;
-User regularUser4 = null;
+private User regularUser2 = null;
+private User regularUser3 = null;
+private User regularUser4 = null;
 
 // Group User is equivalent of regular user but inside a group
 // Permissions can be granted to group should affect this user
 

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

2019-09-30 Thread Apache Jenkins Server
See 


Changes:


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

[Phoenix_Compile_Compat_wHBase] $ /bin/bash /tmp/jenkins3298385485724141742.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) 386431
max locked memory   (kbytes, -l) 64
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:   98963736 kB
MemFree:15964712 kB
Filesystem  Size  Used Avail Use% Mounted on
udev 48G 0   48G   0% /dev
tmpfs   9.5G  994M  8.5G  11% /run
/dev/sda3   3.6T  512G  2.9T  15% /
tmpfs48G 0   48G   0% /dev/shm
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs48G 0   48G   0% /sys/fs/cgroup
/dev/sda2   473M  238M  211M  54% /boot
tmpfs   9.5G 0  9.5G   0% /run/user/1000
tmpfs   9.5G  4.0K  9.5G   1% /run/user/910
/dev/loop0   89M   89M 0 100% /snap/core/7396
/dev/loop5   58M   58M 0 100% /snap/snapcraft/3308
/dev/loop7   90M   90M 0 100% /snap/core/7713
/dev/loop1   58M   58M 0 100% /snap/snapcraft/3440
/dev/loop8   55M   55M 0 100% /snap/lxd/11964
/dev/loop4   55M   55M 0 100% /snap/lxd/11985
apache-maven-2.2.1
apache-maven-3.0.4
apache-maven-3.0.5
apache-maven-3.1.1
apache-maven-3.2.1
apache-maven-3.2.5
apache-maven-3.3.3
apache-maven-3.3.9
apache-maven-3.5.0
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'...
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