You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Xiao Chen (JIRA)" <ji...@apache.org> on 2016/11/02 04:23:58 UTC

[jira] [Created] (HADOOP-13785) Clean up tests that conditionally handle IBM_JAVA

Xiao Chen created HADOOP-13785:
----------------------------------

             Summary: Clean up tests that conditionally handle IBM_JAVA
                 Key: HADOOP-13785
                 URL: https://issues.apache.org/jira/browse/HADOOP-13785
             Project: Hadoop Common
          Issue Type: Improvement
          Components: test
    Affects Versions: 2.8.0
            Reporter: Xiao Chen
            Priority: Minor


Initially from a [review comment|https://issues.apache.org/jira/browse/HADOOP-13590?focusedCommentId=15625141&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15625141] by [~stevel@apache.org].

In some tests we see code like below:
{code}
              if (PlatformName.IBM_JAVA) {
                options.put("useKeytab", keytab.getPath());
                options.put("credsType", "both");
              } else {
                options.put("keyTab", keytab.getPath());
                options.put("useKeyTab", "true");
                options.put("storeKey", "true");
                options.put("doNotPrompt", "true");
                options.put("useTicketCache", "true");
                options.put("renewTGT", "true");
                options.put("isInitiator", Boolean.toString(true));
              }
{code}
We should extract a util function to some degree, and clean them up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org