[ https://issues.apache.org/jira/browse/PIG-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Ding updated PIG-1662: ------------------------------ Status: Patch Available (was: Open) > 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 > > Attachments: PIG-1662.patch > > > 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.