You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by "Kartashov, Andy" <An...@mpac.ca> on 2012/10/01 19:31:55 UTC

Nested class

Hello all,

Is this possible to have Reducer and Mapper as a static nested classes inside a driver file?  Keep getting an ERROR:  <parent>$<nested>.class not found during map-reduce job execution. I checked the spelling and the like. All seems fine. Funny that only the Reducer nest class  is reported. The Mapper class must be OK.

Andy Kartashov

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

RE: Nested class

Posted by "Kartashov, Andy" <An...@mpac.ca>.
Got it to work by empting HADOOP_CLASSPATH variable.


Andy Kartashov
MPAC
Architecture R&D, Co-op
1340 Pickering Parkway, Pickering, L1V 0C4
* Phone : (905) 837 6269
* Mobile: (416) 722 1787
andy.kartashov@mpac.ca<ma...@mpac.ca>

From: Alexander Pivovarov [mailto:apivovarov@gmail.com]
Sent: Monday, October 01, 2012 2:04 PM
To: user@hadoop.apache.org
Subject: Re: Nested class


it should work. Make sure top level class is public
On Oct 1, 2012 1:32 PM, "Kartashov, Andy" <An...@mpac.ca>> wrote:
Hello all,

Is this possible to have Reducer and Mapper as a static nested classes inside a driver file?  Keep getting an ERROR:  <parent>$<nested>.class not found during map-reduce job execution. I checked the spelling and the like. All seems fine. Funny that only the Reducer nest class  is reported. The Mapper class must be OK.

Andy Kartashov

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
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

RE: Nested class

Posted by "Kartashov, Andy" <An...@mpac.ca>.
Got it to work by empting HADOOP_CLASSPATH variable.


Andy Kartashov
MPAC
Architecture R&D, Co-op
1340 Pickering Parkway, Pickering, L1V 0C4
* Phone : (905) 837 6269
* Mobile: (416) 722 1787
andy.kartashov@mpac.ca<ma...@mpac.ca>

From: Alexander Pivovarov [mailto:apivovarov@gmail.com]
Sent: Monday, October 01, 2012 2:04 PM
To: user@hadoop.apache.org
Subject: Re: Nested class


it should work. Make sure top level class is public
On Oct 1, 2012 1:32 PM, "Kartashov, Andy" <An...@mpac.ca>> wrote:
Hello all,

Is this possible to have Reducer and Mapper as a static nested classes inside a driver file?  Keep getting an ERROR:  <parent>$<nested>.class not found during map-reduce job execution. I checked the spelling and the like. All seems fine. Funny that only the Reducer nest class  is reported. The Mapper class must be OK.

Andy Kartashov

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
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

RE: Nested class

Posted by "Kartashov, Andy" <An...@mpac.ca>.
Got it to work by empting HADOOP_CLASSPATH variable.


Andy Kartashov
MPAC
Architecture R&D, Co-op
1340 Pickering Parkway, Pickering, L1V 0C4
* Phone : (905) 837 6269
* Mobile: (416) 722 1787
andy.kartashov@mpac.ca<ma...@mpac.ca>

From: Alexander Pivovarov [mailto:apivovarov@gmail.com]
Sent: Monday, October 01, 2012 2:04 PM
To: user@hadoop.apache.org
Subject: Re: Nested class


it should work. Make sure top level class is public
On Oct 1, 2012 1:32 PM, "Kartashov, Andy" <An...@mpac.ca>> wrote:
Hello all,

Is this possible to have Reducer and Mapper as a static nested classes inside a driver file?  Keep getting an ERROR:  <parent>$<nested>.class not found during map-reduce job execution. I checked the spelling and the like. All seems fine. Funny that only the Reducer nest class  is reported. The Mapper class must be OK.

Andy Kartashov

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
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

RE: Nested class

Posted by "Kartashov, Andy" <An...@mpac.ca>.
Got it to work by empting HADOOP_CLASSPATH variable.


Andy Kartashov
MPAC
Architecture R&D, Co-op
1340 Pickering Parkway, Pickering, L1V 0C4
* Phone : (905) 837 6269
* Mobile: (416) 722 1787
andy.kartashov@mpac.ca<ma...@mpac.ca>

From: Alexander Pivovarov [mailto:apivovarov@gmail.com]
Sent: Monday, October 01, 2012 2:04 PM
To: user@hadoop.apache.org
Subject: Re: Nested class


it should work. Make sure top level class is public
On Oct 1, 2012 1:32 PM, "Kartashov, Andy" <An...@mpac.ca>> wrote:
Hello all,

Is this possible to have Reducer and Mapper as a static nested classes inside a driver file?  Keep getting an ERROR:  <parent>$<nested>.class not found during map-reduce job execution. I checked the spelling and the like. All seems fine. Funny that only the Reducer nest class  is reported. The Mapper class must be OK.

Andy Kartashov

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
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

Re: Nested class

Posted by Alexander Pivovarov <ap...@gmail.com>.
it should work. Make sure top level class is public
On Oct 1, 2012 1:32 PM, "Kartashov, Andy" <An...@mpac.ca> wrote:

>  Hello all,
>
>
>
> Is this possible to have Reducer and Mapper as a static nested classes
> inside a driver file?  Keep getting an ERROR:  <parent>$<nested>.class not
> found during map-reduce job execution. I checked the spelling and the like.
> All seems fine. Funny that only the Reducer nest class  is reported. The
> Mapper class must be OK.
>
>
>
> Andy Kartashov
>
>
>  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
>

Re: Nested class

Posted by Alexander Pivovarov <ap...@gmail.com>.
it should work. Make sure top level class is public
On Oct 1, 2012 1:32 PM, "Kartashov, Andy" <An...@mpac.ca> wrote:

>  Hello all,
>
>
>
> Is this possible to have Reducer and Mapper as a static nested classes
> inside a driver file?  Keep getting an ERROR:  <parent>$<nested>.class not
> found during map-reduce job execution. I checked the spelling and the like.
> All seems fine. Funny that only the Reducer nest class  is reported. The
> Mapper class must be OK.
>
>
>
> Andy Kartashov
>
>
>  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
>

Re: Nested class

Posted by Alexander Pivovarov <ap...@gmail.com>.
it should work. Make sure top level class is public
On Oct 1, 2012 1:32 PM, "Kartashov, Andy" <An...@mpac.ca> wrote:

>  Hello all,
>
>
>
> Is this possible to have Reducer and Mapper as a static nested classes
> inside a driver file?  Keep getting an ERROR:  <parent>$<nested>.class not
> found during map-reduce job execution. I checked the spelling and the like.
> All seems fine. Funny that only the Reducer nest class  is reported. The
> Mapper class must be OK.
>
>
>
> Andy Kartashov
>
>
>  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
>

Re: Nested class

Posted by Alexander Pivovarov <ap...@gmail.com>.
it should work. Make sure top level class is public
On Oct 1, 2012 1:32 PM, "Kartashov, Andy" <An...@mpac.ca> wrote:

>  Hello all,
>
>
>
> Is this possible to have Reducer and Mapper as a static nested classes
> inside a driver file?  Keep getting an ERROR:  <parent>$<nested>.class not
> found during map-reduce job execution. I checked the spelling and the like.
> All seems fine. Funny that only the Reducer nest class  is reported. The
> Mapper class must be OK.
>
>
>
> Andy Kartashov
>
>
>  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
>