You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Raju Bairishetti (JIRA)" <ji...@apache.org> on 2015/09/08 07:11:45 UTC

[jira] [Reopened] (LENS-737) Throw single error out with LensMultiException

     [ https://issues.apache.org/jira/browse/LENS-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raju Bairishetti reopened LENS-737:
-----------------------------------

Seems getLensErrorInfo() is required instead of getValue(). [~sushilmohanty] Could you please confirm it?

{noformat}
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project lens-cube: Compilation failure
[ERROR] /home/jenkins/jenkins-slave/workspace/Lens-Commit/lens-cube/src/main/java/org/apache/lens/cube/metadata/UpdatePeriod.java:[194,64] cannot find symbol
[ERROR] symbol:   method getValue()
[ERROR] location: variable INVALID_TIME_UNIT of type org.apache.lens.cube.error.LensCubeErrorCode
[ERROR] -> [Help 1]
{noformat}

> Throw single error out with LensMultiException
> ----------------------------------------------
>
>                 Key: LENS-737
>                 URL: https://issues.apache.org/jira/browse/LENS-737
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: api, cube
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Sushil Mohanty
>             Fix For: 2.4
>
>         Attachments: LENS-737-5.patch, LENS-737-6.patch
>
>
> Right now, when two drivers give two different errors, it results in Internal server error with LensMultiCauseException. It should compare both errors and give out one error for the end user.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)