Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4387

TestHDFSFileSystemContract fails on windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      'ant -Dtestcase=TestHDFSFileSystemContract test-core' fails on Windows nightly build machine.

      Not sure if this is Hadoop error or a configuration error particular to this machine. Basically the following assert fails :

          Path workDir = path(getDefaultWorkingDirectory());
          assertEquals(workDir, fs.getWorkingDirectory());
      

      This is essentially testing that System.getProperty("user.name") is same as string returned by Cygwin's 'whoami'. But in this case, these are "SYSTEM" and "hadoopqa" respectively.

        Attachments

        1. HADOOP-4387.patch
          1 kB
          Raghu Angadi

          Activity

            People

            • Assignee:
              rangadi Raghu Angadi
              Reporter:
              rangadi Raghu Angadi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: