Hortonworks Sandbox Forum
Invocation Target Exception
I am learning something about hadoop, hdfs and other tools. I wrote some examples. However I cannot read any file from HDFS. I get this error.
InvocationTargetException: Failed on local exception java.io.IOException: Response is null; Host Details : local host is : “sandbox/192.168.56.101″;
destination host is “sandbox:8020″
My argument is : “hdfs://192.168.56.101:8020/data/weblogs/weblog_entries.txt” is it wrong?
Thanks for any helps/ideas.
Support from the Experts
A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.
Become HDP Certified
Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world