Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20224

ReplChangeManager.java Remove Logging Guards

    XMLWordPrintableJSON

Details

    Description

      metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ReplChangeManager.java
      if (LOG.isDebugEnabled()) {
        LOG.debug("A file with the same content of {} already exists, ignore", path.toString());
      }
      // ---->
      LOG.debug("A file with the same content of {} already exists, ignore", path);
      
      
      if (LOG.isDebugEnabled()) {
        LOG.debug("Encoded URI: " + encodedUri);
      }
      // ---->
      LOG.debug("Encoded URI: {}", encodedUri);
      
      
      if (LOG.isDebugEnabled()) {
        LOG.debug("Move " + file.toString() + " to trash");
      }
      // ---->
       LOG.debug("Move {} to trash", file);
      
      ... others
      

      Attachments

        1. HIVE-20224.patch
          3 kB
          Morio Ramdenbourg

        Activity

          People

            mramdenbourg Morio Ramdenbourg
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: