Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-8299

HashMap key type mismatch in MetadataContext

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.20.2
    • 1.21.0
    • None
    • None

    Description

      The dirModifCheckMap used in this lookup is keyed using a HDFS Path instance, not a string, so this code is not going to work:

        public boolean getStatus(String dir) {
          if (dirModifCheckMap.containsKey(dir)) {
            return dirModifCheckMap.get(dir);
          }
          return false;
        }
      

      Attachments

        Activity

          People

            dzamo James Turton
            pj.fanning PJ Fanning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: