<?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: PutHiveStreaming error with HDF-3.1.1.0 and HDP-2.6.2.0: &amp;quot; Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/PutHiveStreaming-error-with-HDF-3-1-1-0-and-HDP-2-6-2-0-quot/m-p/233843#M80034</link>
    <description>&lt;P&gt;I am also facing this issue where my HDF Version : 3.1.2.0 and HDP : 2.6.5.0. Is there any listing where we can find out which version of hive supported by given HDF version.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Aug 2018 13:36:51 GMT</pubDate>
    <dc:creator>ashok_kumar</dc:creator>
    <dc:date>2018-08-08T13:36:51Z</dc:date>
    <item>
      <title>PutHiveStreaming error with HDF-3.1.1.0 and HDP-2.6.2.0: " Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/PutHiveStreaming-error-with-HDF-3-1-1-0-and-HDP-2-6-2-0-quot/m-p/233840#M80031</link>
      <description>&lt;P&gt;I've a Nifi datalow where I get data from a source, build an Avro file and am ready to stream to Hive. &lt;/P&gt;&lt;P&gt;I setup Hive as requested on &lt;A href="https://community.hortonworks.com/questions/59411/how-to-use-puthivestreaming.html" target="_blank"&gt;https://community.hortonworks.com/questions/59411/how-to-use-puthivestreaming.html&lt;/A&gt;. I also moved the entire hive-client and hadoop-client directories to the Nifi node, and reference this hive-site.xml on the PutHiveStreaming processor.&lt;/P&gt;&lt;P&gt;But I'm getting the following error on this processor:&lt;/P&gt;&lt;P&gt;2018-06-28 11:29:21,053 ERROR [Timer-Driven Process Thread-7] o.a.n.processors.hive.PutHiveStreaming PutHiveStreaming[id=46762ec7-0164-1000-0000-00001008870a] Failed to process session due to org.apache.nifi.processor.exception.ProcessException: Error writing [org.apache.nifi.processors.hive.PutHiveStreaming$HiveStreamingRecord@733df43a] to Hive Streaming transaction due to com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient: {}
org.apache.nifi.processor.exception.ProcessException: Error writing [org.apache.nifi.processors.hive.PutHiveStreaming$HiveStreamingRecord@733df43a] to Hive Streaming transaction due to com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient
        at org.apache.nifi.processors.hive.PutHiveStreaming.lambda$onHiveRecordsError$1(PutHiveStreaming.java:555)
        at org.apache.nifi.processor.util.pattern.ExceptionHandler$OnError.lambda$andThen$0(ExceptionHandler.java:54)
        at org.apache.nifi.processors.hive.PutHiveStreaming.lambda$onHiveRecordError$2(PutHiveStreaming.java:562)
        at org.apache.nifi.processor.util.pattern.ExceptionHandler.execute(ExceptionHandler.java:148)
        at org.apache.nifi.processors.hive.PutHiveStreaming.lambda$onTrigger$12(PutHiveStreaming.java:740)
        at org.apache.nifi.controller.repository.StandardProcessSession.read(StandardProcessSession.java:2175)
        at org.apache.nifi.controller.repository.StandardProcessSession.read(StandardProcessSession.java:2145)
        at org.apache.nifi.processors.hive.PutHiveStreaming.onTrigger(PutHiveStreaming.java:694)
        at org.apache.nifi.processors.hive.PutHiveStreaming.lambda$onTrigger$4(PutHiveStreaming.java:572)
        at org.apache.nifi.processor.util.pattern.PartialFunctions.onTrigger(PartialFunctions.java:114)
        at org.apache.nifi.processor.util.pattern.RollbackOnFailure.onTrigger(RollbackOnFailure.java:184)
        at org.apache.nifi.processors.hive.PutHiveStreaming.onTrigger(PutHiveStreaming.java:572)
        at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1122)
        at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:147)
        at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47)
        at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:128)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient
        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2203)
        at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
        at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4739)
        at org.apache.hive.hcatalog.common.HiveClientCache.getOrCreate(HiveClientCache.java:291)
        at org.apache.hive.hcatalog.common.HiveClientCache.get(HiveClientCache.java:266)
        at org.apache.hive.hcatalog.common.HCatUtil.getHiveMetastoreClient(HCatUtil.java:558)
        at org.apache.hive.hcatalog.streaming.HiveEndPoint$ConnectionImpl.getMetaStoreClient(HiveEndPoint.java:544)
        at org.apache.hive.hcatalog.streaming.HiveEndPoint$ConnectionImpl.&amp;lt;init&amp;gt;(HiveEndPoint.java:312)
        at org.apache.hive.hcatalog.streaming.HiveEndPoint$ConnectionImpl.&amp;lt;init&amp;gt;(HiveEndPoint.java:278)
        at org.apache.hive.hcatalog.streaming.HiveEndPoint.newConnectionImpl(HiveEndPoint.java:215)
        at org.apache.hive.hcatalog.streaming.HiveEndPoint.newConnection(HiveEndPoint.java:192)
        at org.apache.hive.hcatalog.streaming.HiveEndPoint.newConnection(HiveEndPoint.java:122)
        at org.apache.nifi.util.hive.HiveWriter.lambda$newConnection$1(HiveWriter.java:246)
        at org.apache.nifi.util.hive.HiveWriter.lambda$callWithTimeout$4(HiveWriter.java:365)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        ... 3 common frames omitted
Caused by: java.lang.RuntimeException: Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient
        at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1566)
        at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.&amp;lt;init&amp;gt;(RetryingMetaStoreClient.java:92)
        at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:138)
        at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:124)
        at org.apache.hive.hcatalog.common.HiveClientCache$5.call(HiveClientCache.java:295)
        at org.apache.hive.hcatalog.common.HiveClientCache$5.call(HiveClientCache.java:291)
        at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4742)
        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
        ... 17 common frames omitted
Caused by: java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1564)
        ... 27 common frames omitted
Caused by: java.lang.NullPointerException: null
        at org.apache.thrift.transport.TSocket.open(TSocket.java:209)
        at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:487)
        at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.&amp;lt;init&amp;gt;(HiveMetaStoreClient.java:282)
        at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.&amp;lt;init&amp;gt;(HiveMetaStoreClient.java:188)
        at org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient.&amp;lt;init&amp;gt;(HiveClientCache.java:406)
        ... 32 common frames omitted&lt;/P&gt;&lt;P&gt;I thought that by copying and referencing the hive-client dir I'd have all the jars needed. Is this a problem with the CLASSPATH, with the processor configuration or something else?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 12:16:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/PutHiveStreaming-error-with-HDF-3-1-1-0-and-HDP-2-6-2-0-quot/m-p/233840#M80031</guid>
      <dc:creator>dougspadotto_h</dc:creator>
      <dc:date>2026-04-21T12:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: PutHiveStreaming error with HDF-3.1.1.0 and HDP-2.6.2.0: " Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/PutHiveStreaming-error-with-HDF-3-1-1-0-and-HDP-2-6-2-0-quot/m-p/233841#M80032</link>
      <description>&lt;P&gt;HDF 3.1.1.0 was built with HDP Hive 2.6.4 libraries, which are not compatible with HDP Hive 2.6.2 (there were evidently some changes to the Thrift interface that were not backwards compatible. The HDF 3.0.x.y series should be compatible with HDP Hive 2.6.2, I think as of this writing the latest is HDF 3.0.2.6.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 01:44:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/PutHiveStreaming-error-with-HDF-3-1-1-0-and-HDP-2-6-2-0-quot/m-p/233841#M80032</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2018-06-29T01:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: PutHiveStreaming error with HDF-3.1.1.0 and HDP-2.6.2.0: " Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/PutHiveStreaming-error-with-HDF-3-1-1-0-and-HDP-2-6-2-0-quot/m-p/233842#M80033</link>
      <description>&lt;P&gt;Thanks Matt. I installed the "aligned" HDP and HDF versions and it worked.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 18:59:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/PutHiveStreaming-error-with-HDF-3-1-1-0-and-HDP-2-6-2-0-quot/m-p/233842#M80033</guid>
      <dc:creator>dougspadotto_h</dc:creator>
      <dc:date>2018-07-24T18:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: PutHiveStreaming error with HDF-3.1.1.0 and HDP-2.6.2.0: " Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/PutHiveStreaming-error-with-HDF-3-1-1-0-and-HDP-2-6-2-0-quot/m-p/233843#M80034</link>
      <description>&lt;P&gt;I am also facing this issue where my HDF Version : 3.1.2.0 and HDP : 2.6.5.0. Is there any listing where we can find out which version of hive supported by given HDF version.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:36:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/PutHiveStreaming-error-with-HDF-3-1-1-0-and-HDP-2-6-2-0-quot/m-p/233843#M80034</guid>
      <dc:creator>ashok_kumar</dc:creator>
      <dc:date>2018-08-08T13:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: PutHiveStreaming error with HDF-3.1.1.0 and HDP-2.6.2.0: " Unable to instantiate org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/PutHiveStreaming-error-with-HDF-3-1-1-0-and-HDP-2-6-2-0-quot/m-p/233844#M80035</link>
      <description>&lt;P&gt;Hello ashok, &lt;/P&gt;&lt;P&gt;this webpage should be what you are looking for. =&amp;gt; &lt;A href="https://supportmatrix.hortonworks.com/" target="_blank"&gt;https://supportmatrix.hortonworks.com/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 22:01:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/PutHiveStreaming-error-with-HDF-3-1-1-0-and-HDP-2-6-2-0-quot/m-p/233844#M80035</guid>
      <dc:creator>christian_chong</dc:creator>
      <dc:date>2018-10-23T22:01:08Z</dc:date>
    </item>
  </channel>
</rss>

