phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-4138) Create a hard limit on number of indexes per table
Date Wed, 27 Sep 2017 02:11:00 GMT


Hadoop QA commented on PHOENIX-4138:

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment
  against master branch at commit 5d9572736a991f19121477a0822d4b8bf26b4c69.
  ATTACHMENT ID: 12889178

    {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
                        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: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
    +        assertFalse(MetaDataEndpointImpl.execeededIndexQuota(PTableType.INDEX, parentTable,
+        assertTrue(MetaDataEndpointImpl.execeededIndexQuota(PTableType.INDEX, parentTable,
+            conn.createStatement().execute("CREATE LOCAL INDEX I_" + i + tableName + " ON
" + tableName + "(COL1) INCLUDE (COL2,COL3,COL4)");
+            conn.createStatement().execute("CREATE LOCAL INDEX I_" + maxIndexes + tableName
+ " ON " + tableName + "(COL1) INCLUDE (COL2,COL3,COL4)");
+    static boolean execeededIndexQuota(PTableType tableType, PTable parentTable, Configuration
configuration) {

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

Test results:
Console output:

This message is automatically generated.

> Create a hard limit on number of indexes per table
> --------------------------------------------------
>                 Key: PHOENIX-4138
>                 URL:
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Rahul Shrivastava
>            Assignee: churro morales
>             Fix For: 4.12.0
>         Attachments: PHOENIX-4138.patch, PHOENIX-4138.v1.patch, PHOENIX-4138.v2.patch,
>   Original Estimate: 48h
>  Remaining Estimate: 48h
> There should be a config parameter to impose a hard limit on number of indexes per table.
There is a SQL Exception
, but it gets triggered on the server side  (
> We need a client side limit that can be configured via Phoenix config parameter. Something
like if user create more than lets say 30 indexes per table, it would not allow more index
creation for the that specific table. 

This message was sent by Atlassian JIRA

View raw message