Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1050

NPE error when pool placement policy cannot map user to pool

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 1.3.1
    • Impala 1.4
    • None
    • None

    Description

      The admission controller will reject a query if the pool placement policy (specified by the fair-scheduler.xml) cannot resolve a pool. Currently, an NPE error is returned but we should return a helpful error message.

      Currently:

      [localhost:21000] > select 1;
      Query: select 1
      ERROR: NullPointerException: null
      

      Expected:

      [localhost:21000] > select 1;
      Query: select 1
      ERROR: No mapping found for request from user 'mj' with requested pool ''
      

      Attachments

        Activity

          People

            mjacobs Matthew Jacobs
            mjacobs Matthew Jacobs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: