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
MapReduce >> mail # user >> Re: UnsupportedOperationException occurs with Hadoop-2.1.0-beta jar files


Copy link to this message
-
Re: UnsupportedOperationException occurs with Hadoop-2.1.0-beta jar files
This is an env issue. Hadoop-2.10-beta upgraded protobuf to 2.5 from 2.4.1,
but the version of  protobuf  in my env is still 2.4.1, so the sqoop unit
tests failed on my env. After I upgraded my protobuf to 2.5, all sqoop unit
tests passed.
2013/9/9 sam liu <[EMAIL PROTECTED]>

> Hi,
>
> With Hadoop-2.1.0-beta jar files, Sqoop-1.4.3 test TestAllTables failed by
> exception UnsupportedOperationException, however it works with
> Hadoop-2.0.4-alpha jar files. Below are the details. Any comments? Thanks!
>
> 4202 [main] INFO org.apache.hadoop.mapreduce.JobSubmitter - Cleaning up
> the staging area
> file:/home/hadoop/gitsqoop/sqoop/build/test/hadoop/mapred/staging/hadoop1395102746/.staging/job_local1395102746_0001
> 4203 [main] DEBUG org.apache.sqoop.util.ClassLoaderStack - Restoring
> classloader: sun.misc.Launcher$AppClassLoader@3f363f36
> 4203 [main] ERROR org.apache.sqoop.Sqoop - Got exception running Sqoop:
> java.lang.UnsupportedOperationException: This is supposed to be overridden
> by subclasses.
> 4204 [main] ERROR com.cloudera.sqoop.testutil.ImportJobTestCase - Got
> exception running Sqoop: java.lang.RuntimeException:
> java.lang.UnsupportedOperationException: This is supposed to be overridden
> by subclasses.
> 4235 [main] WARN com.cloudera.sqoop.testutil.BaseSqoopTestCase - Can't
> delete /home/hadoop/gitsqoop/sqoop/build/test/data/sqoop/warehouse
> ]]></system-out>
> <system-err><![CDATA[[Server@3a5e3a5e]: [Thread[HSQLDB Server
> @3a5e3a5e,5,main]]: run()/openServerSocket():
> java.net.BindException: Address already in use
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:413)
> at java.net.ServerSocket.bind(ServerSocket.java:339)
> at java.net.ServerSocket.<init>(ServerSocket.java:205)
> at java.net.ServerSocket.<init>(ServerSocket.java:117)
> at org.hsqldb.HsqlSocketFactory.createServerSocket(Unknown Source)
> at org.hsqldb.Server.openServerSocket(Unknown Source)
> at org.hsqldb.Server.run(Unknown Source)
> at org.hsqldb.Server.access$000(Unknown Source)
> at org.hsqldb.Server$ServerThread.run(Unknown Source)
> Note:
> /home/hadoop/gitsqoop/sqoop/build/test/data/sqoop-hadoop/compile/deaf162bd3f0ca30e6034d74f6909791/IMPORT_TABLE_1.java
> uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> java.lang.UnsupportedOperationException: This is supposed to be overridden
> by subclasses.
> at
> com.google.protobuf.GeneratedMessage.getUnknownFields(GeneratedMessage.java:180)
> at
> org.apache.hadoop.yarn.proto.YarnProtos$URLProto.hashCode(YarnProtos.java:5487)
> at
> org.apache.hadoop.yarn.proto.YarnProtos$LocalResourceProto.hashCode(YarnProtos.java:6167)
> at
> org.apache.hadoop.yarn.api.records.impl.pb.LocalResourcePBImpl.hashCode(LocalResourcePBImpl.java:62)
> at java.util.HashMap.hash(HashMap.java:132)
> at java.util.HashMap.putImpl(HashMap.java:695)
> at java.util.HashMap.put(HashMap.java:680)
> at
> org.apache.hadoop.mapred.LocalDistributedCacheManager.setup(LocalDistributedCacheManager.java:139)
> at
> org.apache.hadoop.mapred.LocalJobRunner$Job.<init>(LocalJobRunner.java:155)
> at
> org.apache.hadoop.mapred.LocalJobRunner.submitJob(LocalJobRunner.java:634)
> at
> org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:415)
> at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1268)
> at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1265)
> at java.security.AccessController.doPrivileged(AccessController.java:310)
> at javax.security.auth.Subject.doAs(Subject.java:573)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1494)
> at org.apache.hadoop.mapreduce.Job.submit(Job.java:1265)
> at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1286)
> at
> org.apache.sqoop.mapreduce.ImportJobBase.doSubmitJob(ImportJobBase.java:173)
> at org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:151)
> at
> org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:221)
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