You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Tassapol Athiapinya (JIRA)" <ji...@apache.org> on 2014/03/27 03:19:15 UTC

[jira] [Resolved] (TEZ-979) Allow FaultToleranceTestRunner to read default config when custom config is not passed.

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

Tassapol Athiapinya resolved TEZ-979.
-------------------------------------

    Resolution: Invalid

Invalid. It was wrong use. config needs to be parsed in argument 2. Thanks [~bikassaha]!

{code}
if (args.length == 1) {
      className = args[0];
    } else if (args.length == 2) {
      className = args[0];
      confFilePath = args[1];
    } else {
      printUsage();
      System.exit(1);
    }
{code}

> Allow FaultToleranceTestRunner to read default config when custom config is not passed.
> ---------------------------------------------------------------------------------------
>
>                 Key: TEZ-979
>                 URL: https://issues.apache.org/jira/browse/TEZ-979
>             Project: Apache Tez
>          Issue Type: Improvement
>    Affects Versions: 0.4.0
>            Reporter: Tassapol Athiapinya
>            Assignee: Tassapol Athiapinya
>         Attachments: TEZ-979.patch
>
>
> I have an environment when I run FaultToleranceTestRunner with no argument. I set tez-site.xml in default path in hadoop class path. FaultToleranceTestRunner cannot pick it up.
> The cause should be because of false parameter at:
> {code}
> Configuration testConf = new Configuration(false);
> {code}



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