Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-571

pigserver methods do not throw error or return error code when an error occurs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.2.0
    • None
    • None
    • None

    Description

      I do PigServer.registerQuery("store ..."), and the query fails. Pig prints a bunch of stack traces but does not throw an error back to the caller. This is a major problem because my client needs to know whether the Pig command succeeded or failed.

      I saw this problem with registerQuery() ... the same problem may arise with other PigServer methods as well, such as store(), copy(), etc. – not sure.

      Attachments

        1. ret_code.diff
          0.6 kB
          Laukik Chitnis

        Issue Links

          Activity

            People

              sms Santhosh Muthur Srinivasan
              olston Christopher Olston
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: