Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop >> mail # user >> Issue against Hadoop-2.0.4-alpha


Copy link to this message
-
Issue against Hadoop-2.0.4-alpha
Hi,

Sqoop website says Sqoop 1.4.3 support Hadoop 2.0, but I failed to run
import tool against hadoop-2.0.4-alpha, using
sqoop-1.4.3.bin__hadoop-2.0.0-alpha. Can anyone help provide
triage/suggestion? Thanks in advance!

- Command:
sqoop import --connect jdbc:db2://host:50000/SAMPLE --table
DB2ADMIN.DB2TEST_TBL001 --username user --password pwd -m 1 --target-dir
/tmp/DB2TEST_TBL001

- Exception:
13/06/19 23:28:28 INFO manager.SqlManager: Executing SQL statement: SELECT
t.* FROM DB2ADMIN.DB2TEST_TBL001 AS t WHERE 1=0
13/06/19 23:28:28 ERROR sqoop.Sqoop: Got exception running Sqoop:
java.lang.UnsupportedOperationException: Not implemented by the
DistributedFileSystem FileSystem implementation
java.lang.UnsupportedOperationException: Not implemented by the
DistributedFileSystem FileSystem implementation
        at org.apache.hadoop.fs.FileSystem.getScheme(FileSystem.java:207)
        at
org.apache.hadoop.fs.FileSystem.loadFileSystems(FileSystem.java:2245)
        at
org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2255)
        at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2272)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:86)
        at
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2311)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2293)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:317)
        at org.apache.hadoop.fs.FileSystem.getLocal(FileSystem.java:288)
        at org.apache.sqoop.mapreduce.JobBase.cacheJars(JobBase.java:134)
        at
org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:197)
        at
org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:413)
        at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:380)
        at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:453)
        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)
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB