Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-13279

Pig view shows completed but does not state if anything went wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • ambari-views
    • None

    Description

      Lets say there was some error while executing pig script. In this case the status appears as "Completed" (in green color) and Results is empty and the Log includes the exception that occurred.
      So there is no visual cue to show if there was error and because of it the result set is empty.

      To Reproduce : Include a HCatalog statement in the pig script and run it with the -useHCatalog argument.

      Example :
      a = LOAD 'someHiveTable' USING org.apache.hive.hcatalog.pig.HCatLoader();
      dump a;

      Executing this without -useHCatalog will create an exception, which will appear in logs but the result will be empty and status will appear as completed. So it is not clear that some exception occurred.

      Attachments

        1. AMBARI-13279_branch-2.1.patch
          25 kB
          Nitiraj Singh Rathore

        Issue Links

          Activity

            People

              nitiraj.rathore Nitiraj Singh Rathore
              nitiraj.rathore Nitiraj Singh Rathore
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: