[ 
https://issues.apache.org/jira/browse/PHOENIX-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ankit Singhal updated PHOENIX-4472:
-----------------------------------
    Attachment: PHOENIX-4472.patch

> Altering properties in the table descriptor is not working properly.
> --------------------------------------------------------------------
>
>                 Key: PHOENIX-4472
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4472
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Ankit Singhal
>            Assignee: Rajeshbabu Chintaguntla
>              Labels: HBase-2.0
>             Fix For: 5.0.0
>
>         Attachments: PHOENIX-4472.patch
>
>
> Seems to be a side effect of PHOENIX-4304.
> {code}
> //unable to alter properties in descriptor
> [ERROR] 
> testAddingPkColAndSettingProperties[AlterTableIT_columnEncoded=false](org.apache.phoenix.end2end.AlterTableIT)
>   Time elapsed: 8.507 s  <<< FAILURE!
> java.lang.AssertionError: expected:<true> but was:<false>
>       at 
> org.apache.phoenix.end2end.AlterTableIT.testAddingPkColAndSettingProperties(AlterTableIT.java:945)
> [ERROR] 
> testAddingPkColAndSettingProperties[AlterTableIT_columnEncoded=true](org.apache.phoenix.end2end.AlterTableIT)
>   Time elapsed: 8.495 s  <<< FAILURE!
> java.lang.AssertionError: expected:<true> but was:<false>
>       at 
> org.apache.phoenix.end2end.AlterTableIT.testAddingPkColAndSettingProperties(AlterTableIT.java:945)
> //PhoenixTransactionalProcessor is not added in the descriptor
> [ERROR] 
> testMakeBaseTableTransactional[AlterTableWithViewsIT_multiTenant=false, 
> columnEncoded=false](org.apache.phoenix.end2end.AlterTableWithViewsIT)  Time 
> elapsed: 4.738 s  <<< FAILURE!
> java.lang.AssertionError
>       at 
> org.apache.phoenix.end2end.AlterTableWithViewsIT.testMakeBaseTableTransactional(AlterTableWithViewsIT.java:760)
> [ERROR] 
> testMakeBaseTableTransactional[AlterTableWithViewsIT_multiTenant=false, 
> columnEncoded=true](org.apache.phoenix.end2end.AlterTableWithViewsIT)  Time 
> elapsed: 3.675 s  <<< FAILURE!
> java.lang.AssertionError
>       at 
> org.apache.phoenix.end2end.AlterTableWithViewsIT.testMakeBaseTableTransactional(AlterTableWithViewsIT.java:760)
> [ERROR] 
> testMakeBaseTableTransactional[AlterTableWithViewsIT_multiTenant=true, 
> columnEncoded=false](org.apache.phoenix.end2end.AlterTableWithViewsIT)  Time 
> elapsed: 4.758 s  <<< ERROR!
> java.lang.IllegalArgumentException: Family '0' already exists so cannot be 
> added
>       at 
> org.apache.phoenix.end2end.AlterTableWithViewsIT.testMakeBaseTableTransactional(AlterTableWithViewsIT.java:756)
> [ERROR] 
> testMakeBaseTableTransactional[AlterTableWithViewsIT_multiTenant=true, 
> columnEncoded=true](org.apache.phoenix.end2end.AlterTableWithViewsIT)  Time 
> elapsed: 4.805 s  <<< ERROR!
> java.lang.IllegalArgumentException: Family '0' already exists so cannot be 
> added
>       at 
> org.apache.phoenix.end2end.AlterTableWithViewsIT.testMakeBaseTableTransactional(AlterTableWithViewsIT.java:756)
>       
> [ERROR] Tests run: 32, Failures: 16, Errors: 0, Skipped: 0, Time elapsed: 
> 195.018 s <<< FAILURE! - in 
> org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT
> [ERROR] 
> testSettingPropertiesWhenTableHasDefaultColFamilySpecified[SetPropertyOnEncodedTableIT](org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT)
>   Time elapsed: 3.574 s  <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<0>
> [ERROR] 
> testSetPropertyAndAddColumnForDefaultColumnFamily[SetPropertyOnEncodedTableIT](org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT)
>   Time elapsed: 8.596 s  <<< FAILURE!
> java.lang.AssertionError
> [ERROR] 
> testSetHColumnPropertyForTableWithOnlyPKCols1[SetPropertyOnEncodedTableIT](org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT)
>   Time elapsed: 9.484 s  <<< FAILURE!
> java.lang.AssertionError: expected:<true> but was:<false>
> [ERROR] 
> testSetHColumnPropertyForTableWithOnlyPKCols2[SetPropertyOnEncodedTableIT](org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT)
>   Time elapsed: 9.494 s  <<< FAILURE!
> java.lang.AssertionError: expected:<true> but was:<false>
> [ERROR] 
> testSetPropertyAndAddColumnForExistingColumnFamily[SetPropertyOnEncodedTableIT](org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT)
>   Time elapsed: 8.592 s  <<< FAILURE!
> java.lang.AssertionError
> [ERROR] 
> testSetHTableAndHColumnProperties[SetPropertyOnEncodedTableIT](org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT)
>   Time elapsed: 3.482 s  <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<0>
> [ERROR] 
> testSetPropertyAndAddColumnUsingDefaultColumnFamilySpecifier[SetPropertyOnEncodedTableIT](org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT)
>   Time elapsed: 15.031 s  <<< FAILURE!
> java.lang.AssertionError
> [ERROR] 
> testTTLAssignmentForNewEmptyCF[SetPropertyOnEncodedTableIT](org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT)
>   Time elapsed: 16.725 s  <<< FAILURE!
> java.lang.AssertionError: expected:<1000> but was:<86400>
> [ERROR] 
> testSetHColumnPropertyAndAddColumnForDefaultCFForTableWithOnlyPKCols[SetPropertyOnEncodedTableIT](org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT)
>   Time elapsed: 9.507 s  <<< FAILURE!
> java.lang.AssertionError: expected:<true> but was:<false>
> [ERROR] 
> testSetPropertyAndAddColumnForNewAndExistingColumnFamily[SetPropertyOnEncodedTableIT](org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT)
>   Time elapsed: 8.583 s  <<< FAILURE!
> java.lang.AssertionError
> [ERROR] 
> testAddProperyToExistingColumnFamily[SetPropertyOnEncodedTableIT](org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT)
>   Time elapsed: 9.48 s  <<< FAILURE!
> java.lang.AssertionError
> [ERROR] 
> testSetHTableHColumnAndPhoenixTableProperties[SetPropertyOnEncodedTableIT](org.apache.phoenix.end2end.SetPropertyOnEncodedTableIT)
>   Time elapsed: 4.915 s  <<< FAI
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to