Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 1.2.11, 2.0.2
    • Component/s: Hadoop
    • Labels:
      None

      Description

        Activity

        Jeremiah Jordan created issue -
        Jeremiah Jordan made changes -
        Field Original Value New Value
        Summary key_alias can be null for tables created from thrift. NPE in Pig CassandraStorage
        Jeremiah Jordan made changes -
        Assignee Alex Liu [ alexliu68 ]
        Alex Liu made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Alex Liu added a comment -

        It's the issue when upgrade from 1.1 to 1.2.6, but the issue has been fixed by CASSANDRA-5800, so I use this ticket to clean up the code. We don't need check key_alias any more.

        Show
        Alex Liu added a comment - It's the issue when upgrade from 1.1 to 1.2.6, but the issue has been fixed by CASSANDRA-5800 , so I use this ticket to clean up the code. We don't need check key_alias any more.
        Alex Liu made changes -
        Attachment 6072-1.2-branch.txt [ 12604655 ]
        Alex Liu made changes -
        Reviewer brandon.williams
        Alex Liu made changes -
        Status In Progress [ 3 ] Patch Available [ 10002 ]
        Hide
        Aleksey Yeschenko added a comment -

        Alex Liu 5800 migrates the key_alias to key_aliases. The issue here is that there might not be a key_alias in the first place, so there is nothing to migrate.

        Basically, the code should handle tables without a key alias, and it doesn't. 5800 wasn't covering that.

        Show
        Aleksey Yeschenko added a comment - Alex Liu 5800 migrates the key_alias to key_aliases. The issue here is that there might not be a key_alias in the first place, so there is nothing to migrate. Basically, the code should handle tables without a key alias, and it doesn't. 5800 wasn't covering that.
        Hide
        Alex Liu added a comment -

        The clean up patch just removes key_alias which should fix NPE as well.

        Show
        Alex Liu added a comment - The clean up patch just removes key_alias which should fix NPE as well.
        Hide
        Brandon Williams added a comment -

        Committed.

        Show
        Brandon Williams added a comment - Committed.
        Brandon Williams made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 1.2.11 [ 12325022 ]
        Fix Version/s 2.0.2 [ 12325023 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2d 19h 13m 1 Alex Liu 23/Sep/13 18:48
        In Progress In Progress Patch Available Patch Available
        1h 53m 1 Alex Liu 23/Sep/13 20:42
        Patch Available Patch Available Resolved Resolved
        2d 1h 28m 1 Brandon Williams 25/Sep/13 22:11

          People

          • Assignee:
            Alex Liu
            Reporter:
            Jeremiah Jordan
            Reviewer:
            Brandon Williams
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development