sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Jarcec Cecho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1387) Incorrect permissions on manager.d directory can lead to NPE
Date Tue, 02 Sep 2014 05:28:21 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117906#comment-14117906
] 

Jarek Jarcec Cecho commented on SQOOP-1387:
-------------------------------------------

Seems as a reasonable approach to me [~chiwanpark].

> Incorrect permissions on manager.d directory can lead to NPE
> ------------------------------------------------------------
>
>                 Key: SQOOP-1387
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1387
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.4
>            Reporter: Jarek Jarcec Cecho
>              Labels: newbie
>
> I got a report that when files in {{manager.d}} have incorrect permissions (Sqoop can't
read them), we will get following NPE:
> {code}
> 14/07/17 08:43:46 ERROR tool.BaseSqoopTool: Got error creating database manager: java.lang.NullPointerException
> at java.util.Arrays.sort(Arrays.java:1078)
> at org.apache.sqoop.ConnFactory.loadManagersFromConfDir(ConnFactory.java:289)
> at org.apache.sqoop.ConnFactory.instantiateFactories(ConnFactory.java:85)
> {code}



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

Mime
View raw message