[ https://issues.apache.org/jira/browse/PHOENIX-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15319178#comment-15319178 ]
Hadoop QA commented on PHOENIX-2901: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12808725/PHOENIX-2901_v2.patch against master branch at commit b2e3018c8799f326f453983f66eaf6c4291acd0f. ATTACHMENT ID: 12808725 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. 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. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 31 warning messages. {color:red}-1 release audit{color}. The applied patch generated 7 release audit warnings (more than the master's current 0 warnings). {color:red}-1 lineLengths{color}. The patch introduces the following lines longer than 100: + conn.createStatement().execute("CREATE SEQUENCE " + sequenceName + " START WITH 2 INCREMENT BY 4"); + conn.createStatement().execute("CREATE SEQUENCE " + sequenceName + " START WITH 2 INCREMENT BY 4"); + conn.createStatement().execute("CREATE SEQUENCE " + sequenceName + " START WITH 2 INCREMENT BY 4"); + String query = "SELECT sequence_schema, sequence_name, current_value, increment_by FROM SYSTEM.\"SEQUENCE\" WHERE sequence_name='" + "CREATE SEQUENCE " + sequenceSchemaName + "." + sequenceName + " START WITH 2 INCREMENT BY 4"); + // if nextConnection() is not used to get to get a connection, make sure you call .close() so that connections are + private void createTableAndValidate(String tableName, boolean isNamespaceEnabled) throws Exception { + conn.createStatement().execute("CREATE SCHEMA " + SchemaUtil.getSchemaNameFromFullName(tableName)); + + "MYCF1.COL1 varchar,MYCF2.COL2 varchar " + "CONSTRAINT pk PRIMARY KEY(PK1,PK2)) MULTI_TENANT=true"; + .executeQuery("select * from " + tableName + " where (pk1,pk2) IN (('a','b'),('b','b'))"); {color:red}-1 core tests{color}. The patch failed these unit tests: ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.CsvBulkLoadToolIT Test results: https://builds.apache.org/job/PreCommit-PHOENIX-Build/386//testReport/ Release audit warnings: https://builds.apache.org/job/PreCommit-PHOENIX-Build/386//artifact/patchprocess/patchReleaseAuditWarnings.txt Javadoc warnings: https://builds.apache.org/job/PreCommit-PHOENIX-Build/386//artifact/patchprocess/patchJavadocWarnings.txt Console output: https://builds.apache.org/job/PreCommit-PHOENIX-Build/386//console This message is automatically generated. > If namespaces are enabled, check for existence of schema when sequence created > ------------------------------------------------------------------------------ > > Key: PHOENIX-2901 > URL: https://issues.apache.org/jira/browse/PHOENIX-2901 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.8.0 > Reporter: James Taylor > Assignee: Ankit Singhal > Fix For: 4.8.0 > > Attachments: PHOENIX-2901.patch, PHOENIX-2901_v2.patch, > PHOENIX-2901_withMoreTestCases.patch > > > If namespaces are enabled, we should check for the existence of the sequence > schema before creating the sequence. There are some sequences that are > generated by Phoenix to manage indexes over views which auto generate a > schema name. Perhaps it'd be better if those used the SYSTEM schema instead > and prepended the sequence name with the previous schema name to ensure > uniqueness. -- This message was sent by Atlassian JIRA (v6.3.4#6332)