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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tHDFSPut: NullPointerException

I'm getting this error in tHDFSPut:
Starting job EmployeeTest at 10:35 24/03/2017.
[statistics] connecting to socket on port 23962
[statistics] connected
Exception in component tHDFSPut_1
java.lang.NullPointerException
 at local_deployment_config.employeetest_0_1.EmployeeTest.tFileInputDelimited_1Process(EmployeeTest.java:1099)
 at local_deployment_config.employeetest_0_1.EmployeeTest.runJobInTOS(EmployeeTest.java:2179)
 at local_deployment_config.employeetest_0_1.EmployeeTest.main(EmployeeTest.java:2036)
[statistics] disconnected
Picked up JAVA_TOOL_OPTIONS: -Djava.vendor="Sun Microsystems Inc."
Job EmployeeTest ended at 10:35 24/03/2017. [exit code=1]
The code at line 1099:
fs_tHDFSPut_1 = org.apache.hadoop.fs.FileSystem.get(
       new java.net.URI(conf_tHDFSPut_1
         .get("fs.default.name")), conf_tHDFSPut_1,
       username_tHDFSPut_1);
I'm new to Talend Big Data Studio. Ideas?
Thanks, Gary

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Solved it. I was using a tHDFSConnection component, which wasn't working. I changed to use the repository connection, which worked fine.

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Solved it. I was using a tHDFSConnection component, which wasn't working. I changed to use the repository connection, which worked fine.