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

Incorrect HFile path in TestHFilePerformance print output (fix for easier debugging)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.98.8, 2.0.0
    • 1.0.0, 0.98.10, 1.1.0
    • test
    • None
    • Reviewed

    Description

      While trying to look at the issue in HBASE-12866, came across a minor issue in TestHFilePerformance while printing the HFile path. This has a directory path delimiter missing. It is only a sysout issue but can be fixed for easier debugging. So basically in timewrite function System.out.println(ROOT_DIR + path.getName());
      should be System.out.println(ROOT_DIR + "/" + path.getName());

      so that current output
      ROOT_DIR/target/test-data/.../TestHFilePerformanceHFile.Performance
      is fixed as
      ROOT_DIR/target/test-data/.../TestHFilePerformance/HFile.Performance

      Attachments

        1. HBASE-12878.patch
          0.8 kB
          Vikas Vishwakarma

        Activity

          People

            vik.karma Vikas Vishwakarma
            vik.karma Vikas Vishwakarma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: