Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1359

Backward compatibility fails with 4.1 client and current 4.0 branch on server

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.2.0, 3.2.0
    • Labels:
      None

      Description

      1. Queries with join fail with Encountered exception in hash plan [0] execution. (state=,code=0) with 4.1 client and 4.2-SNAPSHOT on server

      Query example: select * from LOYALTY_PROGRAM_CONDITION JOIN LOYALTY_PROGRAM on LOYALTY_PROGRAM_CONDITION_c.LOYALTY_PROGRAM_ID = LOYALTY_PROGRAMc.ENTITY_ID where LOYALTY_PROGRAM_c.NAME='Ferrari' AND LOYALTY_PROGRAM_CONDITION.COUNTRY = 'Italy' limit 100;

      2. Sqline fails to start with during list table phase with 4.1 client and 4.2-SNAPSHOT on server.

      Caused by: org.apache.hadoop.hbase.exceptions.DeserializationException: java.io.EOFException
      at org.apache.phoenix.filter.RowKeyComparisonFilter.parseFrom(RowKeyComparisonFilter.java:161)
      ... 18 more
      Caused by: java.io.EOFException
      at java.io.DataInputStream.readFully(DataInputStream.java:180)
      at java.io.DataInputStream.readFully(DataInputStream.java:152)
      at org.apache.hadoop.io.WritableUtils.readCompressedByteArray(WritableUtils.java:39)
      at org.apache.phoenix.filter.RowKeyComparisonFilter.readFields(RowKeyComparisonFilter.java:148)
      at org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:131)
      at org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:101)
      at org.apache.phoenix.filter.RowKeyComparisonFilter.parseFrom(RowKeyComparisonFilter.java:159)
      ... 18 more

        Attachments

        1. PHOENIX-1359.patch
          0.8 kB
          James R. Taylor
        2. PHOENIX-1359.patch
          3 kB
          James R. Taylor
        3. 1359-2.patch
          2 kB
          Wei Xue
        4. PHOENIX-1359-v3.patch
          8 kB
          James R. Taylor
        5. PHOENIX-1359-v4.patch
          10 kB
          James R. Taylor

          Activity

            People

            • Assignee:
              jamestaylor James R. Taylor
              Reporter:
              mujtabachohan Mujtaba Chohan
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: