Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7423

HFileArchiver should not use the configuration from the Filesystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.4, 0.95.2
    • 0.94.5, 0.95.0
    • None
    • None
    • Reviewed

    Description

      HFileArchiver gets the configuration from the FileSystem in

       public static void archiveRegion(FileSystem fs, HRegionInfo info)
            throws IOException {
          Path rootDir = FSUtils.getRootDir(fs.getConf());
      

      In Pig's test cases, they construct a MiniDFSCluster and pass it to HBaseTestingUtil, which causes the delete table to fail because it will refer to the FileSystem's configuration rather than HBase's one.

      Attachments

        1. hbase-7423_v1.patch
          14 kB
          Enis Soztutar
        2. hbase-7423_v2.patch
          11 kB
          Enis Soztutar
        3. hbase-7423_v2.patch
          11 kB
          Enis Soztutar
        4. hbase-7423_v3.patch
          12 kB
          Enis Soztutar
        5. hbase-7423_v3-0.94.patch
          13 kB
          Enis Soztutar

        Issue Links

          Activity

            People

              enis Enis Soztutar
              enis Enis Soztutar
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: