You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Siddharth Seth (Updated) (JIRA)" <ji...@apache.org> on 2012/01/07 05:21:43 UTC
[jira] [Updated] (HADOOP-7963) test failures:
TestViewFileSystemWithAuthorityLocalFileSystem and
TestViewFileSystemLocalFileSystem
[ https://issues.apache.org/jira/browse/HADOOP-7963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siddharth Seth updated HADOOP-7963:
-----------------------------------
Attachment: HADOOP7963.txt
Simple patch to fix this.
HADOOP-7808 changed the {{FileSystem.getCanonicalServiceName()}} API (and internally {{SecurityUtil.buildDTServiceName}} to return null for FileSystems which do not use delegation tokens.
That along with viewfs changes in HADOOP-7933 breaks ViewFs.
The change to return null would break TokenCache in MR as well - creating a separate jira for that.
Also, {{SecurityUtil.buildDTServiceName}} seems to be used elsewhere.
@Daryn, is the change to return null necessary - and are the other callers taking care of the changed behaviour.
> test failures: TestViewFileSystemWithAuthorityLocalFileSystem and TestViewFileSystemLocalFileSystem
> ---------------------------------------------------------------------------------------------------
>
> Key: HADOOP-7963
> URL: https://issues.apache.org/jira/browse/HADOOP-7963
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Thomas Graves
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: HADOOP7963.txt
>
>
> The following tests are failing:
> org.apache.hadoop.fs.viewfs.TestViewFileSystemLocalFileSystem.testGetDelegationTokensWithCredentials
> org.apache.hadoop.fs.viewfs.TestViewFileSystemWithAuthorityLocalFileSystem.testGetDelegationTokensWithCredentials
> See hudson:
> https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-Common-trunk/lastCompletedBuild/testReport/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira