Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1873

Fix compilation errors in Pherf

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Please fix the compilation errors in Pherf. FYI, the default settings for Eclipse can be found in dev/eclipse_prefs_phoenix.epf as described here: http://phoenix.apache.org/contributing.html#Code_conventions

      The method writeXML() from the type ConfigurationParserTest is never used locally	ConfigurationParserTest.java	/pherf/src/test/java/org/apache/phoenix/pherf	line 141	Java Problem
      The value of the field DataLoader.properties is not used	DataLoader.java	/pherf/src/main/java/org/apache/phoenix/pherf/loaddata	line 61	Java Problem
      The value of the field DataLoaderTest.loader is not used	DataLoaderTest.java	/pherf/src/test/java/org/apache/phoenix/pherf	line 34	Java Problem
      The value of the field DataLoaderTest.model is not used	DataLoaderTest.java	/pherf/src/test/java/org/apache/phoenix/pherf	line 33	Java Problem
      The value of the field QueryExecutor.resultUtil is not used	QueryExecutor.java	/pherf/src/main/java/org/apache/phoenix/pherf/workload	line 47	Java Problem
      The value of the field Result.type is not used	Result.java	/pherf/src/main/java/org/apache/phoenix/pherf/result	line 30	Java Problem
      Type String[] of the last argument to method printRecord(Object...) doesn't exactly match the vararg parameter type. Cast to Object[] to confirm the non-varargs invocation, or pass individual arguments of type Object for a varargs invocation.	CSVResultHandler.java	/pherf/src/main/java/org/apache/phoenix/pherf/result/impl	line 126	Java Problem
      
      

        Attachments

        1. PHOENIX-1873.patch
          31 kB
          Cody Marcel
        2. PHOENIX-1873_v2.patch
          33 kB
          James R. Taylor

          Activity

            People

            • Assignee:
              cody.marcel@gmail.com Cody Marcel
              Reporter:
              jamestaylor James R. Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: