External libs must exist on all task nodes, in case you haven't already done that.
/* Joey */ On Fri, Nov 16, 2012 at 3:13 PM, Kartashov, Andy <[email protected]>wrote: > Guys, > > > > The notorious error. Used all possible clues to resolve this. > > > > Ran sqoop --import.... at command line without problems. But whenever am > trying to execute MR job get Error: java.lang.ClassNotFoundException: > com.cloudera.sqoop.lib.SqoopRecord > > This exact same job ran before. > > > > I can clearly see the com/cloudera/sqoop/lib/SqoopRecord.class inside > sqoop-1.4.1-cdh4.1.2.jar... > > > > I copied this jar file to every possible directory: > > /usr/lib/hadoop > > /usr/lib/hadoop/lib > > As well as mapreduce-0.20 libs > > > > Even tried to include this jar at command line -libjars which is added to > the job... > > > > But MR still doesn't pick it up, throwing ClassNotFoundError error. > > > > Rgds, > > AK > > > NOTICE: This e-mail message and any attachments are confidential, subject > to copyright and may be privileged. Any unauthorized use, copying or > disclosure is prohibited. If you are not the intended recipient, please > delete and contact the sender immediately. Please consider the environment > before printing this e-mail. AVIS : le présent courriel et toute pièce > jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur > et peuvent être couverts par le secret professionnel. Toute utilisation, > copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le > destinataire prévu de ce courriel, supprimez-le et contactez immédiatement > l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent > courriel >
