Member since
09-19-2016
1
Post
0
Kudos Received
0
Solutions
09-20-2016
08:07 AM
I've recently started working on a quickstart VM image of CDH5.8 and I'm also getting same class not found error for JsonMappingException class/ I can see the jar it should be contained within included in the classpath of the Sqoop2 server: /usr/lib/sqoop2/client-lib/jackson-mapper-asl-1.8.8.jar The right version of that jar file exists in the location specified in the classpath: [cloudera@quickstart client-lib]$ pwd /usr/lib/sqoop2/client-lib [cloudera@quickstart client-lib]$ ls -ltra jackson-mapper-asl-1.8.8.jar -rwxr-xr-x 1 root root 668564 Jun 16 12:36 jackson-mapper-asl-1.8.8.jar If i check the contents of the jar file i can see the class is included in there: [cloudera@quickstart client-lib]$ jar tf jackson-mapper-asl-1.8.8.jar | grep -i JsonMappingException.class org/codehaus/jackson/map/JsonMappingException.class org/codehaus/jackson/map/RuntimeJsonMappingException.class And I can see the jar file in the running process: [cloudera@quickstart client-lib]$ lsof -p 7621 | grep jackson-mapper-asl-1.8.8.jar java 7621 cloudera mem REG 253,0 668564 1056186 /usr/lib/sqoop2/client-lib/jackson-mapper-asl-1.8.8.jar java 7621 cloudera 40r REG 253,0 668564 1056186 /usr/lib/sqoop2/client-lib/jackson-mapper-asl-1.8.8.jar Any ideas to resolve would be appreciated.
... View more