UnsupportedOperationException occurs with Hadoop-2.1.0-beta jar files

2013-09-09 Thread sam liu
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 stag

Re: UnsupportedOperationException occurs with Hadoop-2.1.0-beta jar files

2013-09-09 Thread sam liu
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 > Hi, > > With Hadoop-2.1.0-beta jar f

Re: UnsupportedOperationException occurs with Hadoop-2.1.0-beta jar files

2013-09-10 Thread Vinayakumar B
Yes. . Protobuf 2.5 jars wants every Protobuf code in its jvm to be generated and compiled using 2.5. Its not supporting old compiled code. Even though there will not be any compilation issues with 2.4 generated code, exception will be thrown at runtime. So upgrade all your code to 2.5 and generat