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

Add a time unit to the DataNode client trace format

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      DataNode.java
        public static final String DN_CLIENTTRACE_FORMAT =
              "src: %s" +      // src IP
              ", dest: %s" +   // dst IP
              ", bytes: %s" +  // byte count
              ", op: %s" +     // operation
              ", cliID: %s" +  // DFSClient id
              ", offset: %s" + // offset
              ", srvID: %s" +  // DatanodeRegistration
              ", blockid: %s" + // block id
              ", duration: %s";  // duration time
      

      The time unit of the duration is nanosecond, but it is not documented.

      Attachments

        1. HDFS-11211_00.patch
          0.9 kB
          Jagadesh Kiran N

        Activity

          People

            jagadesh.kiran Jagadesh Kiran N
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: