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

PhoenixMRJobSubmitter fails to create async secondary indexes after PHOENIX-2966

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.8.0
    • Fix Version/s: 4.8.0
    • Component/s: None
    • Labels:
      None

      Description

      After the refactoring done as part of PHOENIX-2966, The INDEX_TYPE column is missing in the ASYNC_SECONDARY_INDEX query to fetch the async index rows from system.catalog table. This is being used inside PhoenixMRJobSubmitter. Unfortunately, the existing async secondary index test cases for phoenix-mr-automation are succeeding. Created separate JIRA for writing e2e test for secondary indexes

      2016-07-25 07:36:10,744 DEBUG [8ff-shared--pool2-t1] security.HBaseSaslRpcClient - Will read input token of size 32 for processing by initSASLContext
      2016-07-25 07:36:10,745 DEBUG [8ff-shared--pool2-t1] security.HBaseSaslRpcClient - Will send token of size 32 from initSASLContext.
      2016-07-25 07:36:10,745 DEBUG [8ff-shared--pool2-t1] security.HBaseSaslRpcClient - SASL client context established. Negotiated QoP: auth
      Exception in thread "main" org.apache.phoenix.schema.ColumnNotFoundException: ERROR 504 (42703): Undefined column. columnName=INDEX_TYPE
      at org.apache.phoenix.compile.RowProjector.getColumnIndex(RowProjector.java:159)
      at org.apache.phoenix.jdbc.PhoenixResultSet.findColumn(PhoenixResultSet.java:178)
      at org.apache.phoenix.jdbc.PhoenixResultSet.getByte(PhoenixResultSet.java:334)
      at org.apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter.getCandidateJobs(PhoenixMRJobSubmitter.java:151)
      at org.apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter.scheduleIndexBuilds(PhoenixMRJobSubmitter.java:179)
      at org.apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter.main(PhoenixMRJobSubmitter.java:272)

        Attachments

          Activity

            People

            • Assignee:
              singamteja Loknath Priyatham Teja Singamsetty
              Reporter:
              singamteja Loknath Priyatham Teja Singamsetty

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment