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 "zhiyong zhang (JIRA)" <ji...@apache.org> on 2009/05/06 01:26:30 UTC

[jira] Created: (HADOOP-5775) HdfsProxy Unit Test should not depend on HDFSPROXY_CONF_DIR environment

HdfsProxy Unit Test should not depend on HDFSPROXY_CONF_DIR environment
-----------------------------------------------------------------------

                 Key: HADOOP-5775
                 URL: https://issues.apache.org/jira/browse/HADOOP-5775
             Project: Hadoop Core
          Issue Type: Bug
          Components: contrib/hdfsproxy
            Reporter: zhiyong zhang
            Assignee: zhiyong zhang


as war target read user-certs.xml and user-permissions.xml from $HDFSPROXY_CONF_DIR. If a user set this environment and have some files in it, it could potentially cause the unit test to fail if the conf files does not match what the unit test needs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HADOOP-5775) HdfsProxy Unit Test should not depend on HDFSPROXY_CONF_DIR environment

Posted by "zhiyong zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

zhiyong zhang resolved HADOOP-5775.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.21.0

solved in HDFS-447

> HdfsProxy Unit Test should not depend on HDFSPROXY_CONF_DIR environment
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5775
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5775
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: contrib/hdfsproxy
>            Reporter: zhiyong zhang
>            Assignee: zhiyong zhang
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-5775.patch
>
>
> as war target read user-certs.xml and user-permissions.xml from $HDFSPROXY_CONF_DIR. If a user set this environment and have some files in it, it could potentially cause the unit test to fail if the conf files does not match what the unit test needs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5775) HdfsProxy Unit Test should not depend on HDFSPROXY_CONF_DIR environment

Posted by "zhiyong zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

zhiyong zhang updated HADOOP-5775:
----------------------------------

    Attachment: HADOOP-5775.patch

use a separate "testwar" ant target to load the conf files for testing purpose. 
war target remains the same. 

> HdfsProxy Unit Test should not depend on HDFSPROXY_CONF_DIR environment
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-5775
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5775
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hdfsproxy
>            Reporter: zhiyong zhang
>            Assignee: zhiyong zhang
>         Attachments: HADOOP-5775.patch
>
>
> as war target read user-certs.xml and user-permissions.xml from $HDFSPROXY_CONF_DIR. If a user set this environment and have some files in it, it could potentially cause the unit test to fail if the conf files does not match what the unit test needs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.