Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4470 Fix tests of type ParallelStatsDisabledTest
  3. PHOENIX-4472

Altering properties in the table descriptor is not working properly.

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0-alpha
    • None

    Description

      Seems to be a side effect of PHOENIX-4304.

      
      //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
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rajeshbabu Rajeshbabu Chintaguntla
            ankit@apache.org Ankit Singhal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment