Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
karivadhan
Contributor
Contributor

SPARK Job importing routines which are not available in the export.

Hello All,

I am have imported 3 SPARK job from 6.4 to 7.3 in Talend for Big Data.

Out of which one is working fine and other two are giving me the below error.

"The method newStringUtf8(byte[]) is undefined for the type StringUtils"

The two non working jobs has two imports for StringUtils ,

import routines.StringUtils;

import org.apache.commons.codec.binary.StringUtils;

where as the working one has only one:

import org.apache.commons.codec.binary.StringUtils;

I have verified all the 3 JAVA codes on the export zip file and found there is only one import for the StringUtils , which is

import org.apache.commons.codec.binary.StringUtils;

I am not sure , why the other two jobs are importing the 'routines.StringUtils' class to the main java code while compiling.

I am using jdk-1.8.0_222

Any help would be appreciated.

Labels (2)
1 Reply
Anonymous
Not applicable

Hello,

Please take care of loading your library classes when you migrate your spark jobs from 6.4 to 7.3.

Have you already installed all required external jar files into your V 7.3?

Best regards

Sabrina