[ 
https://issues.apache.org/jira/browse/OOZIE-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Virag Kothari updated OOZIE-1342:
---------------------------------

    Description: 
OOZIE-1341 makes the following changes to MapReduceActionExecutor
{code}
 try {
            classes.add(Class.forName(STREAMING_MAIN_CLASS_NAME));
        }
        catch (ClassNotFoundException e) {
            log.error("Streaming class not found " +e);
        }
{code}
The above blocks eats the exception as test cases related to 
MapreduceActionExecutor in core cannot find streaming class as the class is in 
sharelib. 
Once the sharelib installation related incompatiblity is fixed, change this 
accordingly

Also, in MapReduceActionExecutor, the below line is commented. Remove this 
comment too once a decision is made regarding sharelib
{code}
//assertEquals(classes, ae.getLauncherClasses());
{code}






  was:
OOZIE-1341 makes the following changes to MapReduceActionExecutor
{code}
 try {
            classes.add(Class.forName(STREAMING_MAIN_CLASS_NAME));
        }
        catch (ClassNotFoundException e) {
            log.error("Streaming class not found " +e);
        }
{code}
The above blocks eats the exception as test cases related to 
MapreduceActionExecutor in core cannot find streaming class as the class is in 
sharelib. 
Change this when refactoring of classes related to sharelib (OOZIE-1311) is 
complete.

Also, in MapReduceActionExecutor, the below line is commented. Remove this 
comment too after refactoring is complete
{code}
//assertEquals(classes, ae.getLauncherClasses());
{code}






    
> Revert some changes made by OOZIE-1341 when a decision is made regarding 
> sharelib related incompatibility
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-1342
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1342
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>
> OOZIE-1341 makes the following changes to MapReduceActionExecutor
> {code}
>  try {
>             classes.add(Class.forName(STREAMING_MAIN_CLASS_NAME));
>         }
>         catch (ClassNotFoundException e) {
>             log.error("Streaming class not found " +e);
>         }
> {code}
> The above blocks eats the exception as test cases related to 
> MapreduceActionExecutor in core cannot find streaming class as the class is 
> in sharelib. 
> Once the sharelib installation related incompatiblity is fixed, change this 
> accordingly
> Also, in MapReduceActionExecutor, the below line is commented. Remove this 
> comment too once a decision is made regarding sharelib
> {code}
> //assertEquals(classes, ae.getLauncherClasses());
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to