hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Ding (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1662) Need better error message for MalFormedProbVecException
Date Fri, 01 Oct 2010 18:06:33 GMT
Need better error message for MalFormedProbVecException
-------------------------------------------------------

                 Key: PIG-1662
                 URL: https://issues.apache.org/jira/browse/PIG-1662
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.7.0
            Reporter: Richard Ding
            Assignee: Richard Ding
             Fix For: 0.8.0


Instead the generic error message:

Backend error message
---------------------

Caused by: org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.partitioners.MalFormedProbVecException:
ERROR 2122: Sum of probabilities should be one
	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.partitioners.DiscreteProbabilitySampleGenerator.<init>(DiscreteProbabilitySampleGenerator.java:56)
	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.partitioners.WeightedRangePartitioner.setConf(WeightedRangePartitioner.java:128)
	... 10 more

it can easily print out the content of the malformed probability vector.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message