Reply
New Contributor
Posts: 3
Registered: ‎10-20-2015

DistCp: Could not find or load main class org.apache.hadoop.tools.DistCp

Hi all,

running the command hadoop distcp I'm issuing the following error:

 

Error: Could not find or load main class org.apache.hadoop.tools.DistCp

 

Do you have any suggestion?

 

Thanks,

Michele

Posts: 1,754
Kudos: 371
Solutions: 279
Registered: ‎07-31-2013

Re: DistCp: Could not find or load main class org.apache.hadoop.tools.DistCp

Could you post your output for the "hadoop classpath" command?

How have you installed your cluster? Via CM? Packages or parcels?
Contributor
Posts: 37
Registered: ‎05-21-2018

Re: DistCp: Could not find or load main class org.apache.hadoop.tools.DistCp

[ Edited ]

am facing the same issue for DataNode, NameNode and Sec NN while installing from Parcels(CDH 5.10.1). 

 

@Harsh J Could kindly suggest.

Announcements