You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/07/19 06:57:38 UTC

[jira] [Commented] (SLIDER-240) Detect discrepancy between file content of {application.def} and {package_list} value

    [ https://issues.apache.org/jira/browse/SLIDER-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14067386#comment-14067386 ] 

Ted Yu commented on SLIDER-240:
-------------------------------

The validation can be done in AgentClientProvider#preflightValidateClusterConfiguration():
{code}
    String appDef = instanceDefinition.getAppConfOperations().
        getGlobalOptions().getMandatoryOption(AgentKeys.APP_DEF);
    Path appDefPath = new Path(appDef);
    sliderFileSystem.verifyFileExists(appDefPath);
{code}

> Detect discrepancy between file content of {application.def} and {package_list} value
> -------------------------------------------------------------------------------------
>
>                 Key: SLIDER-240
>                 URL: https://issues.apache.org/jira/browse/SLIDER-240
>             Project: Slider
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Sumit Mohanty
>
> Slider would get into weird state if file given by {package_list} doesn't exist in application package.
> In appConfig.json :
> {code}
>    "application.def": "/slider/hbase-0.98.zip",
>    "package_list": "files/hbase-0.98.4-hadoop2-bin.tar.gz",
> {code}
> We should validate that hbase-0.98.zip contains the file given by {package_list}



--
This message was sent by Atlassian JIRA
(v6.2#6252)