sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhijeet Gaikwad (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-505) Trailing space after jar in managers.d/connectors causes file not found
Date Wed, 25 Jul 2012 19:51:35 GMT

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

Abhijeet Gaikwad updated SQOOP-505:
-----------------------------------

    Fix Version/s: 1.4.2
    
> Trailing space after jar in managers.d/connectors causes file not found
> -----------------------------------------------------------------------
>
>                 Key: SQOOP-505
>                 URL: https://issues.apache.org/jira/browse/SQOOP-505
>             Project: Sqoop
>          Issue Type: Bug
>          Components: connectors
>    Affects Versions: 1.4.1-incubating
>         Environment: CentOS 6.2
>            Reporter: Devon Crouse
>            Assignee: Cheolsoo Park
>            Priority: Minor
>             Fix For: 1.4.2
>
>         Attachments: SQOOP-505.patch, SQOOP-505.patch
>
>
> A trailing space in /usr/lib/sqoop/conf/managers.d/connectors causes the following error.
 Easy workaround, obviously, but that sure was frustrating to figure out...
> 12/06/19 22:08:52 ERROR security.UserGroupInformation: PriviledgedActionException as:developer
(auth:SIMPLE) cause:java.io.FileNotFoundException: File file:/usr/lib/sqoop-nz-connector-1.0.5/sqoop-nz-connector-1.0.5.jar
 does not exist
> 12/06/19 22:08:52 ERROR tool.ImportTool: Encountered IOException running import job:
java.io.FileNotFoundException: File file:/usr/lib/sqoop-nz-connector-1.0.5/sqoop-nz-connector-1.0.5.jar
 does not exist
> 	at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:449)
> 	at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:381)
> 	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:231)
> 	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:183)
> 	at org.apache.hadoop.mapreduce.JobSubmitter.copyRemoteFiles(JobSubmitter.java:129)
> 	at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:202)
> 	at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:284)
> 	at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:355)
> 	at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1226)
> 	at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1223)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:396)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1232)
> 	at org.apache.hadoop.mapreduce.Job.submit(Job.java:1223)
> 	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1244)
> 	at org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:141)
> 	at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:201)
> 	at org.apache.sqoop.manager.SqlManager.importQuery(SqlManager.java:509)
> 	at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:405)
> 	at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:476)
> 	at org.apache.sqoop.Sqoop.run(Sqoop.java:145)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:181)
> 	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:220)
> 	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:229)
> 	at org.apache.sqoop.Sqoop.main(Sqoop.java:238)
> 	at com.cloudera.sqoop.Sqoop.main(Sqoop.java:57)
> Here's the content of connectors:
> com.cloudera.sqoop.manager.NetezzaManagerFactory=/usr/lib/sqoop-nz-connector-1.0.5/sqoop-nz-connector-1.0.5.jar


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message