<?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: Hive Metastore NullPointerException get_partitions_by_expr in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162854#M33332</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/11560/pavelrazumtsev.html" nodeid="11560"&gt;@Pavel Razumtsev&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;thanks for the update. &lt;/P&gt;</description>
    <pubDate>Sat, 02 Jul 2016 01:14:33 GMT</pubDate>
    <dc:creator>geko</dc:creator>
    <dc:date>2016-07-02T01:14:33Z</dc:date>
    <item>
      <title>Hive Metastore NullPointerException get_partitions_by_expr</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162849#M33327</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;in an upgraded HDP cluster (upgrade to 2.3.4) the following ERROR is shown in Metastore log:&lt;/P&gt;&lt;PRE&gt;2016-06-29 08:32:40,184 ERROR [pool-5-thread-109]: metastore.RetryingHMSHandler (RetryingHMSHandler.java:invoke(155)) -
MetaException(message:java.lang.NullPointerException)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.newMetaException(HiveMetaStore.java:5420)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.rethrowException(HiveMetaStore.java:4542)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_partitions_by_expr(HiveMetaStore.java:4525)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:107)
        at com.sun.proxy.$Proxy3.get_partitions_by_expr(Unknown Source)
        at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Processor$get_partitions_by_expr.getResult(ThriftHiv
eMetastore.java:10218)
        at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Processor$get_partitions_by_expr.getResult(ThriftHiv
eMetastore.java:10202)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingProcessor$1.run(HadoopThriftAuthBridg
e.java:681)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingProcessor$1.run(HadoopThriftAuthBridg
e.java:676)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingProcessor.process(HadoopThriftAuthBri
dge.java:676)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
        at org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc.getExprString(ExprNodeGenericFuncDesc.java:158)
        at org.apache.hadoop.hive.ql.optimizer.ppr.PartitionExpressionForMetastore.convertExprToFilter(PartitionExpressi
onForMetastore.java:40)
        at org.apache.hadoop.hive.metastore.ObjectStore.getPartitionsByExprInternal(ObjectStore.java:2072)
        at org.apache.hadoop.hive.metastore.ObjectStore.getPartitionsByExpr(ObjectStore.java:2059)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.hive.metastore.RawStoreProxy.invoke(RawStoreProxy.java:114)
        at com.sun.proxy.$Proxy0.getPartitionsByExpr(Unknown Source)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_partitions_by_expr(HiveMetaStore.java:4520)
        ... 20 more&lt;/PRE&gt;&lt;P&gt;Any hint where to investigate ?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 17:41:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162849#M33327</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-06-29T17:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore NullPointerException get_partitions_by_expr</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162850#M33328</link>
      <description>&lt;P&gt;Looks like eException is matching with below bugs.&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HIVE-10288" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-10288&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HIVE-8272" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-8272&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 17:53:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162850#M33328</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-06-29T17:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore NullPointerException get_partitions_by_expr</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162851#M33329</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt; , thanks for your reply.&lt;/P&gt;&lt;P&gt;Those issues are resolved and closed, and the Hive version which is in HDP 2.3.4 (Hive 1.2.1.2.3) should contain those fixes.&lt;/P&gt;&lt;P&gt;Any further hints how to investigate into this ?!?!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 18:48:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162851#M33329</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-06-29T18:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore NullPointerException get_partitions_by_expr</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162852#M33330</link>
      <description>&lt;P&gt;...and in addition, the linked issues are not corresponding to the get_partitions_by_expr function.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 18:57:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162852#M33330</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-06-29T18:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore NullPointerException get_partitions_by_expr</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162853#M33331</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is a bug in hive libraries of version 1.2.1.2.3.0.0 . Upgrade to 1.2.1.2.3.4.7-4 and it will work.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 20:39:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162853#M33331</guid>
      <dc:creator>pavel_razumtsev</dc:creator>
      <dc:date>2016-07-01T20:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hive Metastore NullPointerException get_partitions_by_expr</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162854#M33332</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/11560/pavelrazumtsev.html" nodeid="11560"&gt;@Pavel Razumtsev&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;thanks for the update. &lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2016 01:14:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Metastore-NullPointerException-get-partitions-by-expr/m-p/162854#M33332</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-07-02T01:14:33Z</dc:date>
    </item>
  </channel>
</rss>

