Hive
  1. Hive
  2. HIVE-1731

Improve miscellaneous error messages

    Details

    • Hadoop Flags:
      Reviewed

      Description

      This is a place for accumulating error message improvements so that we can update a bunch in batch.

      1. 0001-Fixed-parse-error-line-number-issue.patch
        17 kB
        Syed S. Albiz
      2. 0001-Fixed-parse-error-line-number-issue.patch
        16 kB
        Syed S. Albiz
      3. 0002-update-test-cases-with-error-string-results.patch
        46 kB
        Syed S. Albiz
      4. HIVE-1731.1.patch
        16 kB
        Syed S. Albiz
      5. HIVE-1731.2.patch
        45 kB
        Syed S. Albiz
      6. HIVE-1731.3.patch
        63 kB
        Syed S. Albiz
      7. HIVE-1731.4.patch
        64 kB
        Syed S. Albiz
      8. HIVE-1731.5.patch
        63 kB
        Syed S. Albiz
      9. HIVE-1731.6.patch
        59 kB
        Syed S. Albiz
      10. HIVE-1731.7.patch
        78 kB
        Syed S. Albiz
      11. HIVE-1731.7-0.7.patch
        76 kB
        Syed S. Albiz
      12. HIVE-1731.8-0.7.patch
        75 kB
        Syed S. Albiz

        Issue Links

          Activity

          John Sichi created issue -
          John Sichi made changes -
          Field Original Value New Value
          Comment [ hive> select actiontype, sourcetype, destinationtype, get_json_object(payloaddata, '$.product'), regexp_extract(fullurl, '^.*?php') from nectar_contentaction_merged_partitioned where ds = '2010-11-30' and payloadtype = 'comment' and get_json_object(payloaddata, '$.product') = 'groups' limit 50;
          Total MapReduce jobs = 1
          Launching Job 1 out of 1
          ...
          Ended Job = job_201012012222_220674 with errors
          FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask

          The actual error was something to do with my regexp_extract syntax:

          index out of bounds error, no group 1

          I didn't specify a group in the regexp, and when I made the adjustment everything worked as expected. It seems like this should be caught earlier, or at least the error trace for the task with the most failures (or a random task with max_failures if there's more than one) should be dumped to the CLI.

          This one might belong in a different task, since it's a much harder problem to deal with the error traces for badly specified functions (or, worse, custom scripts). However, in general "return code 2" is not useful. It only tells me I need to do a bunch of work to find out what's broken, and the only reason I know that is because I've been using Hive for a long time. ]
          Carl Steinbach made changes -
          Fix Version/s 0.7.0 [ 12315150 ]
          Carl Steinbach made changes -
          Component/s Diagnosability [ 12314270 ]
          John Sichi made changes -
          Assignee Syed S. Albiz [ salbiz ]
          Syed S. Albiz made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Syed S. Albiz made changes -
          Syed S. Albiz made changes -
          Syed S. Albiz made changes -
          John Sichi made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Syed S. Albiz made changes -
          Attachment HIVE-1731.1.patch [ 12478456 ]
          Attachment HIVE-1731.2.patch [ 12478457 ]
          Syed S. Albiz made changes -
          Attachment HIVE-1731.3.patch [ 12478459 ]
          Syed S. Albiz made changes -
          Attachment HIVE-1731.4.patch [ 12478474 ]
          Syed S. Albiz made changes -
          Attachment HIVE-1731.5.patch [ 12478476 ]
          Syed S. Albiz made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Syed S. Albiz made changes -
          Attachment HIVE-1731.6.patch [ 12478485 ]
          John Sichi made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Syed S. Albiz made changes -
          Attachment HIVE-1731.7.patch [ 12478491 ]
          Syed S. Albiz made changes -
          Attachment HIVE-1731.7-0.7.patch [ 12478554 ]
          Syed S. Albiz made changes -
          Attachment HIVE-1731.8-0.7.patch [ 12478648 ]
          John Sichi made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.7.1 [ 12316336 ]
          Fix Version/s 0.8.0 [ 12316178 ]
          Resolution Fixed [ 1 ]
          Syed S. Albiz made changes -
          Link This issue relates to HIVE-2155 [ HIVE-2155 ]
          Syed S. Albiz made changes -
          Link This issue relates to HIVE-2156 [ HIVE-2156 ]
          Carl Steinbach made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Syed S. Albiz
              Reporter:
              John Sichi
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development