<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to upgrade the postgresql jdbc driver in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-upgrade-the-postgresql-jdbc-driver/m-p/374767#M242132</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106195"&gt;@h2rr821&lt;/a&gt;&amp;nbsp;Please perform the below steps.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Identify compatible version&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Backup of the existing Cloudera PostgreSQL JDBC driver files&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Download the new PostgreSQL JDBC driver files.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Stop Cloudera services using the PostgreSQL JDBC driver&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Replace old JAR files with the new ones&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Ensure new JAR files have correct permissions.&lt;/LI&gt;&lt;LI&gt;Start services: Restart Cloudera services.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;below each response that helped.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Aug 2023 06:33:07 GMT</pubDate>
    <dc:creator>Kartik_Agarwal</dc:creator>
    <dc:date>2023-08-01T06:33:07Z</dc:date>
    <item>
      <title>How to upgrade the postgresql jdbc driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-upgrade-the-postgresql-jdbc-driver/m-p/374583#M242040</link>
      <description>&lt;P&gt;I am using redhat 7.9 OS, and CM 7.7.1.&lt;/P&gt;&lt;P&gt;base on the &lt;SPAN&gt;&amp;nbsp;CVE-2022-41946&amp;nbsp;&lt;/SPAN&gt;security issue,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-562r-vg33-8x8h" target="_blank" rel="noopener"&gt;https://www.postgresql.org/about/news/postgresql-jdbc-4251-4243-4238-42227jre7-security-update-for-cve-2022-41946-2551/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need to upgrade the cloudera postgresql jdbc driver files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw the jdbc driver file is the following for the CDH-7.1.8.:&lt;/P&gt;&lt;P&gt;/opt/cloudera/cm/common_jars/postgresql-42.2.14.jre7.6ce27816399941030df9ad06f89fa77b.jar&lt;BR /&gt;/opt/cloudera/cm/common_jars/postgresql-42.2.24.jre7.a7b0f155b668470fb4e212e79724cc7d.jar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/jars/postgresql-42.3.2.jar&lt;BR /&gt;/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/jars/postgresql-42.3.3.jar&lt;BR /&gt;/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/jars/postgresql-42.2.16.jar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think just do a replacement for those jar files is a risk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I upgrade those file to&amp;nbsp;PostgreSQL JDBC Driver version 42.2.27, 42.3.8, 42.4.3, 42.5.1, or later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:50:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-upgrade-the-postgresql-jdbc-driver/m-p/374583#M242040</guid>
      <dc:creator>h2rr821</dc:creator>
      <dc:date>2026-04-21T06:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to upgrade the postgresql jdbc driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-upgrade-the-postgresql-jdbc-driver/m-p/374764#M242130</link>
      <description>&lt;P&gt;I try to replace it with the latest jdbc jar file(postgresql-42.2.27.jre7.jar and postgresql-42.3.8.jar).&lt;/P&gt;&lt;P&gt;then the schema registry server will has problem.&amp;nbsp;&lt;/P&gt;&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 21:18:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-upgrade-the-postgresql-jdbc-driver/m-p/374764#M242130</guid>
      <dc:creator>h2rr821</dc:creator>
      <dc:date>2023-07-31T21:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to upgrade the postgresql jdbc driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-upgrade-the-postgresql-jdbc-driver/m-p/374767#M242132</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106195"&gt;@h2rr821&lt;/a&gt;&amp;nbsp;Please perform the below steps.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Identify compatible version&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Backup of the existing Cloudera PostgreSQL JDBC driver files&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Download the new PostgreSQL JDBC driver files.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Stop Cloudera services using the PostgreSQL JDBC driver&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Replace old JAR files with the new ones&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Ensure new JAR files have correct permissions.&lt;/LI&gt;&lt;LI&gt;Start services: Restart Cloudera services.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;below each response that helped.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 06:33:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-upgrade-the-postgresql-jdbc-driver/m-p/374767#M242132</guid>
      <dc:creator>Kartik_Agarwal</dc:creator>
      <dc:date>2023-08-01T06:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to upgrade the postgresql jdbc driver</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-upgrade-the-postgresql-jdbc-driver/m-p/374801#M242148</link>
      <description>&lt;P&gt;&lt;SPAN&gt;1. Identify compatible version&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Backup of the existing Cloudera PostgreSQL JDBC driver files(postgresql-42.3.2.jar,postgresql-42.3.3.jar,&amp;nbsp;postgresql-42.2.16.jar)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Download the new PostgreSQL JDBC driver files(postgresql-42.6.0.jar,&amp;nbsp;postgresql-42.2.27.jre7.jar, and&amp;nbsp;postgresql-42.3.8.jar).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. Stop Cloudera services using the Web-UI and command(I do not understand how to Stop Cloudera services using the PostgreSQL JDBC driver)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;5. Replace old JAR files:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/jars/postgresql-42.3.2.jar&lt;BR /&gt;/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/jars/postgresql-42.3.3.jar&lt;BR /&gt;/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/jars/postgresql-42.2.16.jar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;with the new ones&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/jars/postgresql-42.6.0.jar&lt;BR /&gt;/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/jars/postgresql-42.3.8.jar&lt;BR /&gt;/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/jars/postgresql-42.2.27.jre7.jar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;6. Ensure new JAR files have correct permissions.&lt;/P&gt;&lt;P&gt;7. Start services: Restart Cloudera services.&lt;/P&gt;&lt;P&gt;Then&amp;nbsp;&lt;SPAN&gt;the schema registry server will has problem. It do run for a while, and it fail. I cannot successfully restart the schema registry server without put back the old jar file to the folder(/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/jars/)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 16:17:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-upgrade-the-postgresql-jdbc-driver/m-p/374801#M242148</guid>
      <dc:creator>h2rr821</dc:creator>
      <dc:date>2023-08-01T16:17:13Z</dc:date>
    </item>
  </channel>
</rss>

