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

TestHDFSFileSystemContract fails on windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.19.0
    • test
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: