ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (RANGER-1315) [export/import] if input file content is not valid for import then it does not give proper error, it gives null pointer exception in logs
Date Wed, 18 Jan 2017 07:20:26 GMT

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

Deepak Sharma updated RANGER-1315:
----------------------------------
    Assignee: Mehul Parikh

> [export/import] if input file content is not valid for import then it does not give proper
error, it gives null pointer exception in logs
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1315
>                 URL: https://issues.apache.org/jira/browse/RANGER-1315
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 0.7.0
>            Reporter: Deepak Sharma
>            Assignee: Mehul Parikh
>             Fix For: 0.7.0
>
>
> 1) create an input file for importing
> 2) create some invalid entry ( for ex: miss the service name attribute or some other
essential attribute)
> 3) upload the file and import it
> ER: proper error should be thrown, saying content of the file is not valid or some thing
similar
> AR: Null pointer exception is thrown.
> 2017-01-16 17:03:17,665 [http-bio-6080-exec-54] ERROR org.apache.ranger.rest.ServiceREST
(ServiceREST.java:1885) - Error 



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

Mime
View raw message