[
https://issues.apache.org/jira/browse/PHOENIX-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Taylor updated PHOENIX-1873:
----------------------------------
Attachment: PHOENIX-1873_v2.patch
The intention is to fix the compiler errors so that we don't have to field any
more questions on how to work around the fact that our project no longer
compiles with the documented IDE settings. This patch that adds to yours,
[[email protected]] which just adds getters for these private member
variables and fixes the other compiler error by using a local variable.
[~ndimiduk] is working on getting a pre-check in in place that'll enforce our
settings at build and commit time which will prevent us from getting in this
situation in the first place.
[~mujtabachohan] or [[email protected]] - please review and commit if this
looks ok.
> Fix compilation errors in Pherf
> -------------------------------
>
> Key: PHOENIX-1873
> URL: https://issues.apache.org/jira/browse/PHOENIX-1873
> Project: Phoenix
> Issue Type: Bug
> Reporter: James Taylor
> Assignee: Cody Marcel
> Attachments: PHOENIX-1873.patch, PHOENIX-1873_v2.patch
>
>
> 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
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)