Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7881

TestHftpFileSystem#testSeek fails in branch-2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.7.0
    • 2.7.0
    • None
    • None
    • Reviewed

    Description

      TestHftpFileSystem#testSeek fails in branch-2.

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.apache.hadoop.hdfs.web.TestHftpFileSystem
      Tests run: 14, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.201 sec <<< FAILURE! - in org.apache.hadoop.hdfs.web.TestHftpFileSystem
      testSeek(org.apache.hadoop.hdfs.web.TestHftpFileSystem)  Time elapsed: 0.054 sec  <<< ERROR!
      java.io.IOException: Content-Length is missing: {null=[HTTP/1.1 206 Partial Content], Date=[Wed, 04 Mar 2015 05:32:30 GMT, Wed, 04 Mar 2015 05:32:30 GMT], Expires=[Wed, 04 Mar 2015 05:32:30 GMT, Wed, 04 Mar 2015 05:32:30 GMT], Connection=[close], Content-Type=[text/plain; charset=utf-8], Server=[Jetty(6.1.26)], Content-Range=[bytes 7-9/10], Pragma=[no-cache, no-cache], Cache-Control=[no-cache]}
      	at org.apache.hadoop.hdfs.web.ByteRangeInputStream.openInputStream(ByteRangeInputStream.java:132)
      	at org.apache.hadoop.hdfs.web.ByteRangeInputStream.getInputStream(ByteRangeInputStream.java:104)
      	at org.apache.hadoop.hdfs.web.ByteRangeInputStream.read(ByteRangeInputStream.java:181)
      	at java.io.FilterInputStream.read(FilterInputStream.java:83)
      	at org.apache.hadoop.hdfs.web.TestHftpFileSystem.testSeek(TestHftpFileSystem.java:253)
      
      
      Results :
      
      Tests in error: 
        TestHftpFileSystem.testSeek:253 ยป IO Content-Length is missing: {null=[HTTP/1....
      
      Tests run: 14, Failures: 0, Errors: 1, Skipped: 0
      

      Attachments

        1. HDFS-7881-004.patch
          3 kB
          Brahma Reddy Battula
        2. HDFS-7881-003.patch
          3 kB
          Brahma Reddy Battula
        3. HDFS-7881-002.patch
          3 kB
          Brahma Reddy Battula
        4. HDFS-7881.patch
          2 kB
          Brahma Reddy Battula

        Activity

          People

            brahmareddy Brahma Reddy Battula
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: