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

libhdfs test is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.21.0, 0.22.0
    • 0.21.0, 0.22.0
    • libhdfs
    • None
    • Reviewed

    Description

      The libhdfs test currently does not run because hadoop.tmp.dir is specified as a relative path, and it looks like a side-effect of HDFS-873 was that relative paths get made absolute, so build/test/libhdfs gets turned into /test/libhdfs, which the NN can not create. Let's make the test generate conf files that use the appropriate directory (build/test/libhdfs) specified by fully qualified URIs.

      Also, are relative paths in conf files supported? If not rather than fail we should detect this and print a warning.

      Attachments

        1. hdfs-939-1.patch
          7 kB
          Eli Collins

        Issue Links

          Activity

            People

              eli Eli Collins
              eli Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: