Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7507 Fix findbugs warning in hadoop-hdfs project
  3. HDFS-7510

Format string should use %n rather than \n in hadoop-hdfs

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Bad practice Warnings

      Code Warning
      FS Format string should use %n rather than \n in org.apache.hadoop.hdfs.server.datanode.DataNode.refreshVolumes(String)
      FS Format string should use %n rather than \n in org.apache.hadoop.hdfs.server.datanode.DataNode.refreshVolumes(String)
      FS Format string should use %n rather than \n in org.apache.hadoop.hdfs.server.datanode.DataStorage.removeVolumes(Collection)
      FS Format string should use %n rather than \n in org.apache.hadoop.hdfs.tools.DFSAdmin.getReconfigurationStatus(String, String, PrintStream, PrintStream)

      Attachments

        1. HDFS-7510.0.patch
          3 kB
          Xiaoyu Yao

        Issue Links

          Activity

            People

              xyao Xiaoyu Yao
              xyao Xiaoyu Yao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: