falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Satish Mittal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-429) Falcon CLI entity list command throws NPE stack trace in case of no entities
Date Tue, 06 May 2014 11:00:18 GMT

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

Satish Mittal updated FALCON-429:
---------------------------------

    Attachment: FALCON-429.patch.1.txt

Updated the message string. Have tested it.

> Falcon CLI entity list command throws NPE stack trace in case of no entities
> ----------------------------------------------------------------------------
>
>                 Key: FALCON-429
>                 URL: https://issues.apache.org/jira/browse/FALCON-429
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Satish Mittal
>            Assignee: Satish Mittal
>             Fix For: 0.5
>
>         Attachments: FALCON-429.patch.1.txt, FALCON-429.patch.txt
>
>
> When 'falcon entity -list' command is run in a cluster that doesn't have any entity of
a particular type, it throws following stack trace:
> {noformat}
> satish@dev2:~/install/falcon-prism$ bin/falcon entity -type process -list
> java.lang.NullPointerException
> 	at org.apache.falcon.cli.FalconCLI.entityCommand(FalconCLI.java:350)
> 	at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:169)
> 	at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:119)
> null
> {noformat}
> Typically this error will show up in an empty cluster where entities of a type are yet
to be submitted.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message