Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

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

New Contributor

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

2 REPLIES 2

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

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

How have you installed your cluster? Via CM? Packages or parcels?

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

Explorer

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

 

@Harsh J Could kindly suggest.