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

Need close more Statements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.2.0
    • 5.2.1, 5.3.0
    • None
    • None

    Description

      After PHOENIX-6560, we find there are also many Statement not closed...

      1. org.apache.phoenix.schema.MetaDataClient
      incrementStatement
      linkStatement
      setAsync
      setSync
      tableUpsert
      linkStatement
      incrementStatement
      tableUpsert

      2. org.apache.phoenix.schema.task.Task
      org.apache.phoenix.schema.task.Task#populateTasks
      org.apache.phoenix.schema.task.Task#executeStatementAndGetTaskMutations

      3. org.apache.phoenix.jdbc.PhoenixStatement.ExecutableShowTablesStatement#compilePlan

      4. org.apache.phoenix.trace.PhoenixMetricsSink
      org.apache.phoenix.trace.PhoenixMetricsSink#createTable
      org.apache.phoenix.trace.PhoenixMetricsSink#putMetrics

      5. org.apache.phoenix.trace.TraceWriter.FlushMetrics#addToBatch

      6. org.apache.phoenix.trace.TraceWriter#createTable

      7. org.apache.phoenix.trace.TraceReader#readAll

      8. org.apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter#getCandidateJobs

       

      so may be right, i will raise a PR try to fix all

      Attachments

        Issue Links

          Activity

            People

              chaijunjie chaijunjie
              chaijunjie chaijunjie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: