sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pratik Khadloya (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SQOOP-1464) Invalid "mapreduce.jobtracker.address" configuration value for LocalJobRunner
Date Thu, 21 Aug 2014 21:38:10 GMT

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

Pratik Khadloya resolved SQOOP-1464.
------------------------------------

    Resolution: Invalid

> Invalid "mapreduce.jobtracker.address" configuration value for LocalJobRunner
> -----------------------------------------------------------------------------
>
>                 Key: SQOOP-1464
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1464
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Pratik Khadloya
>
> Am not sure if its a sqoop bug per se, but it seems like somehow sqoop is trying to run
in local job runner mode when i try to run it.
> {code}
> bin/sqoop import -jt myjobtracker.com:50070 --connect jdbc:mysql://mydb.com/mydb --username
foo --password bar --table campaigns --target-dir hdfs://staging-ha:8020/user/myuser/campaigns
> {code}
> Am running sqoop from master (sqoop-2e1e094). Compiled it using {code}ant package -Dhadoopversion=200{code}
> Using hadoop from cloudera version: 2.0.0-cdh4.4.0
> {code}
> 14/08/21 14:05:54 WARN conf.Configuration: mapred.map.tasks is deprecated. Instead, use
mapreduce.job.maps
> 14/08/21 14:05:54 INFO mapreduce.Cluster: Failed to use org.apache.hadoop.mapred.LocalClientProtocolProvider
due to error: Invalid "mapreduce.jobtracker.address" configuration value for LocalJobRunner
: "myjobtracker.com:50070"
> 14/08/21 14:05:54 ERROR security.UserGroupInformation: PriviledgedActionException as:myuser
(auth:SIMPLE) cause:java.io.IOException: Cannot initialize Cluster. Please check your configuration
for mapreduce.framework.name and the correspond server addresses.
> 14/08/21 14:05:54 ERROR tool.ImportTool: Encountered IOException running import job:
java.io.IOException: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name
and the correspond server addresses.
> 	at org.apache.hadoop.mapreduce.Cluster.initialize(Cluster.java:121)
> 	at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:83)
> 	at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:76)
> 	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1239)
> 	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1235)
> 	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:1408)
> 	at org.apache.hadoop.mapreduce.Job.connect(Job.java:1234)
> 	at org.apache.hadoop.mapreduce.Job.submit(Job.java:1263)
> 	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1287)
> 	at org.apache.sqoop.mapreduce.ImportJobBase.doSubmitJob(ImportJobBase.java:186)
> 	at org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:159)
> 	at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:247)
> 	at org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:665)
> 	at org.apache.sqoop.manager.MySQLManager.importTable(MySQLManager.java:102)
> 	at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:497)
> 	at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:601)
> 	at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
> 	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
> 	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
> 	at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
> {code}



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

Mime
View raw message