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

Suresh Srinivas updated FALCON-149:
-----------------------------------

    Attachment: FALCON-149.patch

This change prints the exception in the scenario in the description. I also 
remove unnecessary null check since SLAMonitoringService#getEntity() never 
returns null (throws EntityNotRegisteredException).

{code}
    public static <T extends Entity> T getEntity(EntityType type, String 
entityName) throws FalconException {
        ConfigurationStore configStore = ConfigurationStore.get();
        T entity = configStore.get(type, entityName);
        if (entity == null) {
            throw new EntityNotRegisteredException(entityName + " (" + type + 
") not found");
        }
        return entity;
    }
{code}

> Print FileSystem exception for debugging purposes
> -------------------------------------------------
>
>                 Key: FALCON-149
>                 URL: https://issues.apache.org/jira/browse/FALCON-149
>             Project: Falcon
>          Issue Type: Improvement
>            Reporter: Suresh Srinivas
>         Attachments: FALCON-149.patch
>
>
> SharedLibraryHostingService#pushLibsToHDFS should print the file system 
> exception for debugging.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to