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

TestDFSShell fails in trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0
    • None
    • None
    • Windows

    • Reviewed

    Description

      TestDFSShell.testFilePermissions() fails on an assert in Windows. This originated from HDFS-1084 but the fix is in Common.

      junit.framework.ComparisonFailure: null expected:<rwxr[w----]> but was:<rwxr[-xr-x]>
      	at junit.framework.Assert.assertEquals(Assert.java:81)
      	at junit.framework.Assert.assertEquals(Assert.java:87)
      	at org.apache.hadoop.hdfs.TestDFSShell.confirmPermissionChange(TestDFSShell.java:836)
      	at org.apache.hadoop.hdfs.TestDFSShell.testChmod(TestDFSShell.java:777)
      	at org.apache.hadoop.hdfs.TestDFSShell.testFilePermissions(TestDFSShell.java:856)
      

      Attachments

        1. common-7126-trunk.patch
          0.6 kB
          Po Cheung

        Issue Links

          Activity

            People

              pocheung Po Cheung
              pocheung Po Cheung
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: