You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Hadoop QA (Jira)" <ji...@apache.org> on 2019/12/10 01:14:00 UTC

[jira] [Commented] (PHOENIX-5578) "CREATE TABLE IF NOT EXISTS " loads IndexRegionObserver on an existing table

    [ https://issues.apache.org/jira/browse/PHOENIX-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16992074#comment-16992074 ] 

Hadoop QA commented on PHOENIX-5578:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12988376/PHOENIX-5578-4.x-HBase-1.5.patch
  against 4.x-HBase-1.5 branch at commit 964dd80f20ab8649af7672314f4127b73c0280b7.
  ATTACHMENT ID: 12988376

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified tests.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:red}-1 lineLengths{color}.  The patch introduces the following lines longer than 100:
    +        HTableDescriptor baseDescriptor = admin.getTableDescriptor(TableName.valueOf(physicalTableName));
+        HTableDescriptor indexDescriptor = admin.getTableDescriptor(TableName.valueOf(physicalIndexName));
+            TableName indexTable = TableName.valueOf(SchemaUtil.getPhysicalHBaseTableName(schemaName,
+        HTableDescriptor baseDescriptor = admin.getTableDescriptor(TableName.valueOf(physicalTableName));
+        HTableDescriptor indexDescriptor = admin.getTableDescriptor(TableName.valueOf(physicalIndexName));
+    private void removeCoproc(Class clazz, HTableDescriptor descriptor, Admin admin) throws Exception {
+        conn.createStatement().execute("CREATE INDEX " + indexName + " ON " + fullTableName + "(v1)");
+    private void addColumnToBaseTable(String schemaName, String tableName, String columnName) throws Exception{
+    private void dropColumnToBaseTable(String schemaName, String tableName, String columnName) throws Exception{
+    private void createBaseTable(String schemaName, String tableName, boolean multiTenant, Integer saltBuckets, String splits)

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
     

Test results: https://builds.apache.org/job/PreCommit-PHOENIX-Build/3175//testReport/
Console output: https://builds.apache.org/job/PreCommit-PHOENIX-Build/3175//console

This message is automatically generated.

> "CREATE TABLE IF NOT EXISTS " loads IndexRegionObserver on an existing table
> ----------------------------------------------------------------------------
>
>                 Key: PHOENIX-5578
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5578
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Swaroopa Kadam
>            Assignee: Geoffrey Jacoby
>            Priority: Major
>         Attachments: PHOENIX-5578-4.14-HBase-1.3.patch, PHOENIX-5578-4.14-HBase-1.3.v2.patch, PHOENIX-5578-4.x-HBase-1.5.patch
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> # Table is already created with old design
>  # new design is enabled
>  # Execute "CREATE TABLE IF NOT EXISTS" for the same table
>  # See that it loads IRO which shouldnt happen. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)