<?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 load data query is failing with following exception in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/344422#M234166</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35472"&gt;@tallamohan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I see that the "&lt;SPAN&gt;Load data inpath" statement is failing with a NPE:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caused by: java.lang.NullPointerException
at org.apache.hadoop.hive.ql.ddl.DDLSemanticAnalyzerFactory.&amp;lt;clinit&amp;gt;(DDLSemanticAnalyzerFactory.java:79)

...

at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:210)&lt;/LI-CODE&gt;&lt;P&gt;Has this worked before in your cluster?&lt;/P&gt;&lt;P&gt;Is this a new integration of Teradata with Hive / CDP?&lt;/P&gt;&lt;P&gt;The NPE happens at a phase where the DDLSemanticAnalyzerFactory is searching for subclasses of BaseSemanticAnalyzer (which extend BaseSemanticAnalyzer) under the "org.apache.hadoop.hive.ql.ddl" package. Do you have custom analyzer classes under that package? Do they have the "@DDLType" annotation? See&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/ddl/database/desc/DescDatabaseAnalyzer.java#L35" target="_blank"&gt;https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/ddl/database/desc/DescDatabaseAnalyzer.java#L35&lt;/A&gt;&lt;/P&gt;&lt;P&gt;as an example.&lt;BR /&gt;That annotation is likely missing, causing an NPE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, please check the classpath of HS2 for old / custom jars, which may still have some classes under the "org.apache.hadoop.hive.ql.ddl" package.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;Miklos Szurap&lt;/P&gt;&lt;P&gt;Customer Operations Engineer&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2022 09:59:44 GMT</pubDate>
    <dc:creator>mszurap</dc:creator>
    <dc:date>2022-05-25T09:59:44Z</dc:date>
    <item>
      <title>hive load data query is failing with following exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/344410#M234164</link>
      <description>&lt;P&gt;22/05/25 01:43:01 INFO utils.HiveUtils: load data into hive table&lt;BR /&gt;Hive Session ID = fc864c41-2236-472d-ac57-96c6df6d8e48&lt;BR /&gt;22/05/25 01:43:01 INFO SessionState: Hive Session ID = fc864c41-2236-472d-ac57-96c6df6d8e48&lt;BR /&gt;22/05/25 01:43:01 INFO session.SessionState: Created HDFS directory: /tmp/hive/hive/fc864c41-2236-472d-ac57-96c6df6d8e48&lt;BR /&gt;22/05/25 01:43:01 INFO session.SessionState: Created local directory: /tmp/root/fc864c41-2236-472d-ac57-96c6df6d8e48&lt;BR /&gt;22/05/25 01:43:01 INFO session.SessionState: Created HDFS directory: /tmp/hive/hive/fc864c41-2236-472d-ac57-96c6df6d8e48/_tmp_space.db&lt;BR /&gt;22/05/25 01:43:01 INFO tez.TezSessionState: User of session id fc864c41-2236-472d-ac57-96c6df6d8e48 is hive&lt;BR /&gt;22/05/25 01:43:01 INFO tez.TezSessionState: Created new resources: null&lt;BR /&gt;22/05/25 01:43:01 INFO tez.DagUtils: Jar dir is null / directory doesn't exist. Choosing HIVE_INSTALL_DIR - /user/hive/.hiveJars&lt;BR /&gt;22/05/25 01:43:01 INFO tez.TezSessionState: Computed sha: c765910321290465015ccaaeae5dde480fd29e141a4c11594756ecfe145f4d5b for file: file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/hive-exec-3.1.3000.7.1.7.1000-141.jar of length: 43.58MB in 301 ms&lt;BR /&gt;22/05/25 01:43:01 INFO tez.DagUtils: Resource modification time: 1648793437245 for hdfs://sdl60070.labs.teradata.com:8020/user/hive/.hiveJars/hive-exec-3.1.3000.7.1.7.1000-141-c765910321290465015ccaaeae5dde480fd29e141a4c11594756ecfe145f4d5b.jar&lt;BR /&gt;22/05/25 01:43:01 INFO sqlstd.SQLStdHiveAccessController: Created SQLStdHiveAccessController for session context : HiveAuthzSessionContext [sessionString=fc864c41-2236-472d-ac57-96c6df6d8e48, clientType=HIVECLI]&lt;BR /&gt;22/05/25 01:43:02 INFO metastore.HiveMetaStoreClient: HMS client filtering is enabled.&lt;BR /&gt;22/05/25 01:43:02 INFO metastore.HiveMetaStoreClient: Trying to connect to metastore with URI thrift://sdl60070.labs.teradata.com:9083&lt;BR /&gt;22/05/25 01:43:02 INFO metastore.HiveMetaStoreClient: Opened a connection to metastore, current connections: 3&lt;BR /&gt;22/05/25 01:43:02 INFO metastore.HiveMetaStoreClient: Connected to metastore.&lt;BR /&gt;22/05/25 01:43:02 INFO metastore.RetryingMetaStoreClient: RetryingMetaStoreClient proxy=class org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient ugi=hive (auth:SIMPLE) retries=1 delay=1 lifetime=0&lt;BR /&gt;22/05/25 01:43:02 INFO counters.Limits: Counter limits initialized with parameters: GROUP_NAME_MAX=256, MAX_GROUPS=3000, COUNTER_NAME_MAX=64, MAX_COUNTERS=10000&lt;BR /&gt;22/05/25 01:43:02 INFO counters.Limits: Counter limits initialized with parameters: GROUP_NAME_MAX=256, MAX_GROUPS=3000, COUNTER_NAME_MAX=64, MAX_COUNTERS=10000&lt;BR /&gt;22/05/25 01:43:02 INFO client.TezClient: Tez Client Version: [ component=tez-api, version=0.9.1.7.1.7.1000-141, revision=2bb0a521cb559d31291f1ee5d2ea2176c843303a, SCM-URL=scm:git:&lt;A href="https://git-wip-us.apache.org/repos/asf/tez.git" target="_blank" rel="noopener"&gt;https://git-wip-us.apache.org/repos/asf/tez.git&lt;/A&gt;, buildTime=2022-03-24T17:23:26Z ]&lt;BR /&gt;22/05/25 01:43:02 INFO tez.TezSessionState: Opening new Tez Session (id: fc864c41-2236-472d-ac57-96c6df6d8e48, scratch dir: hdfs://sdl60070.labs.teradata.com:8020/tmp/hive/hive/_tez_session_dir/fc864c41-2236-472d-ac57-96c6df6d8e48)&lt;BR /&gt;22/05/25 01:43:02 INFO client.RMProxy: Connecting to ResourceManager at sdl60070.labs.teradata.com/10.27.110.8:8032&lt;BR /&gt;22/05/25 01:43:02 INFO client.TezClient: Session mode. Starting session.&lt;BR /&gt;22/05/25 01:43:02 INFO client.TezClientUtils: Using tez.lib.uris value from configuration: /user/tez/0.9.1.7.1.7.1000-141/tez.tar.gz&lt;BR /&gt;22/05/25 01:43:02 INFO client.TezClientUtils: Using tez.lib.uris.classpath value from configuration: null&lt;BR /&gt;22/05/25 01:43:02 INFO client.TezClient: Tez system stage directory hdfs://sdl60070.labs.teradata.com:8020/tmp/hive/hive/_tez_session_dir/fc864c41-2236-472d-ac57-96c6df6d8e48/.tez/application_1648800271973_1472 doesn't exist and is created&lt;BR /&gt;22/05/25 01:43:02 INFO impl.YarnClientImpl: Submitted application application_1648800271973_1472&lt;BR /&gt;22/05/25 01:43:02 INFO client.TezClient: The url to track the Tez Session: &lt;A href="http://sdl60070.labs.teradata.com:8088/proxy/application_1648800271973_1472/" target="_blank" rel="noopener"&gt;http://sdl60070.labs.teradata.com:8088/proxy/application_1648800271973_1472/&lt;/A&gt;&lt;BR /&gt;22/05/25 01:43:05 INFO ql.Driver: Compiling command(queryId=root_20220525014305_5670d206-fe95-46e0-9cc1-8218de717c96): Load data inpath '/user/hive/temp_014244000548_36' into table hivetest.EXPORT_case&lt;BR /&gt;22/05/25 01:43:06 INFO reflections.Reflections: Reflections took 104 ms to scan 1 urls, producing 35 keys and 689 values&lt;BR /&gt;22/05/25 01:43:06 INFO reflections.Reflections: Reflections took 54 ms to scan 1 urls, producing 35 keys and 689 values&lt;BR /&gt;22/05/25 01:43:06 INFO ql.Driver: Completed compiling command(queryId=root_20220525014305_5670d206-fe95-46e0-9cc1-8218de717c96); Time taken: 1.029 seconds&lt;BR /&gt;22/05/25 01:43:06 INFO metastore.HiveMetaStoreClient: Closed a connection to metastore, current connections: 2&lt;BR /&gt;22/05/25 01:43:06 INFO tool.ConnectorImportTool: com.teradata.connector.common.exception.ConnectorException: java.lang.ExceptionInInitializerError&lt;BR /&gt;at org.apache.hadoop.hive.ql.parse.SemanticAnalyzerFactory.getInternal(SemanticAnalyzerFactory.java:62)&lt;BR /&gt;at org.apache.hadoop.hive.ql.parse.SemanticAnalyzerFactory.get(SemanticAnalyzerFactory.java:41)&lt;BR /&gt;at org.apache.hadoop.hive.ql.Compiler.analyze(Compiler.java:208)&lt;BR /&gt;at org.apache.hadoop.hive.ql.Compiler.compile(Compiler.java:105)&lt;BR /&gt;at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:194)&lt;BR /&gt;at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:614)&lt;BR /&gt;at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:672)&lt;BR /&gt;at org.apache.hadoop.hive.ql.Driver.run(Driver.java:504)&lt;BR /&gt;at org.apache.hadoop.hive.ql.Driver.run(Driver.java:493)&lt;BR /&gt;at com.teradata.connector.hive.utils.HiveUtils.loadDataintoHiveTable(HiveUtils.java:347)&lt;BR /&gt;at com.teradata.connector.hive.processor.HiveOutputProcessor.outputPostProcessor(HiveOutputProcessor.java:267)&lt;BR /&gt;at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:172)&lt;BR /&gt;at com.teradata.connector.common.tool.ConnectorImportTool.run(ConnectorImportTool.java:81)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)&lt;BR /&gt;at com.teradata.connector.common.tool.ConnectorImportTool.main(ConnectorImportTool.java:906)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;at org.apache.hadoop.util.RunJar.run(RunJar.java:318)&lt;BR /&gt;at org.apache.hadoop.util.RunJar.main(RunJar.java:232)&lt;BR /&gt;Caused by: java.lang.NullPointerException&lt;BR /&gt;at org.apache.hadoop.hive.ql.ddl.DDLSemanticAnalyzerFactory.&amp;lt;clinit&amp;gt;(DDLSemanticAnalyzerFactory.java:79)&lt;BR /&gt;... 22 more&lt;/P&gt;&lt;P&gt;at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:210)&lt;BR /&gt;at com.teradata.connector.common.tool.ConnectorImportTool.run(ConnectorImportTool.java:81)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)&lt;BR /&gt;at com.teradata.connector.common.tool.ConnectorImportTool.main(ConnectorImportTool.java:906)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;at org.apache.hadoop.util.RunJar.run(RunJar.java:318)&lt;BR /&gt;at org.apache.hadoop.util.RunJar.main(RunJar.java:232)&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 08:56:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/344410#M234164</guid>
      <dc:creator>tallamohan</dc:creator>
      <dc:date>2022-05-25T08:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: hive load data query is failing with following exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/344422#M234166</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35472"&gt;@tallamohan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I see that the "&lt;SPAN&gt;Load data inpath" statement is failing with a NPE:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caused by: java.lang.NullPointerException
at org.apache.hadoop.hive.ql.ddl.DDLSemanticAnalyzerFactory.&amp;lt;clinit&amp;gt;(DDLSemanticAnalyzerFactory.java:79)

...

at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:210)&lt;/LI-CODE&gt;&lt;P&gt;Has this worked before in your cluster?&lt;/P&gt;&lt;P&gt;Is this a new integration of Teradata with Hive / CDP?&lt;/P&gt;&lt;P&gt;The NPE happens at a phase where the DDLSemanticAnalyzerFactory is searching for subclasses of BaseSemanticAnalyzer (which extend BaseSemanticAnalyzer) under the "org.apache.hadoop.hive.ql.ddl" package. Do you have custom analyzer classes under that package? Do they have the "@DDLType" annotation? See&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/ddl/database/desc/DescDatabaseAnalyzer.java#L35" target="_blank"&gt;https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/ddl/database/desc/DescDatabaseAnalyzer.java#L35&lt;/A&gt;&lt;/P&gt;&lt;P&gt;as an example.&lt;BR /&gt;That annotation is likely missing, causing an NPE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, please check the classpath of HS2 for old / custom jars, which may still have some classes under the "org.apache.hadoop.hive.ql.ddl" package.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;Miklos Szurap&lt;/P&gt;&lt;P&gt;Customer Operations Engineer&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 09:59:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/344422#M234166</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2022-05-25T09:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: hive load data query is failing with following exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/344427#M234167</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Miklos,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has this worked before in your cluster?&lt;/P&gt;&lt;P&gt;= = = = = = = = = = = = = = = = = = = =&lt;/P&gt;&lt;P&gt;Yes, it worked in CDP 7.1.7.&lt;/P&gt;&lt;P&gt;When I upgraded my cluster to CDP 7.1.7 SP1 it failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a new integration of Teradata with Hive / CDP?&lt;/P&gt;&lt;P&gt;= = = = = = = = = = = = = = = = = = = = = = = = = = = =&lt;/P&gt;&lt;P&gt;No, existing tool (TDCH)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have custom analyzer classes under that package? Do they have the "@DDLType" annotation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;No&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Attached below sample MapReduce job. (Main.java)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This job worked fine in CDP 7.1.7 but failed in CDP 7.1.7 SP1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mohan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 11:33:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/344427#M234167</guid>
      <dc:creator>tallamohan</dc:creator>
      <dc:date>2022-05-25T11:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: hive load data query is failing with following exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/344649#M234228</link>
      <description>&lt;P&gt;Have you reviewed the classpath of the HS2 and all the jars?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$JAVA_HOME/bin/jinfo &amp;lt;hs2_pid&amp;gt; | grep java.class.path&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;Do they have some classes under the "org.apache.hadoop.hive.ql.ddl" package?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;The attached code does not work on my cluster (it is missing some tez related configs). What configuration does it require?&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 12:44:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/344649#M234228</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2022-05-30T12:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: hive load data query is failing with following exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/344653#M234231</link>
      <description>&lt;P&gt;Set these environment variables and try submitting the job:&lt;/P&gt;&lt;P&gt;= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =&lt;/P&gt;&lt;P&gt;export HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/hive&lt;/P&gt;&lt;P&gt;export HCAT_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/hive-hcatalog/share/hcatalog&lt;/P&gt;&lt;P&gt;export HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/hadoop&lt;/P&gt;&lt;P&gt;export SQOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/sqoop&lt;/P&gt;&lt;P&gt;export ATLAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/atlas/hook/hive/atlas-hive-plugin-impl&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;export LIB_JARS=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/avro/avro-1.8.2.7.1.7.1000-141.jar,/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/avro/avro-mapred-1.8.2.7.1.7.1000-141-hadoop2.jar,$HIVE_HOME/conf,$HIVE_HOME/lib/antlr-runtime-3.5.2.jar,$HIVE_HOME/lib/commons-dbcp-1.4.jar,$HIVE_HOME/lib/commons-pool-1.5.4.jar,$HIVE_HOME/lib/datanucleus-core-4.1.17.jar,$HIVE_HOME/lib/datanucleus-rdbms-4.1.19.jar,$HIVE_HOME/lib/hive-cli-3.1.3000.7.1.7.1000-141.jar,$HIVE_HOME/lib/hive-exec-3.1.3000.7.1.7.1000-141.jar,$HIVE_HOME/lib/hive-jdbc-3.1.3000.7.1.7.1000-141.jar,$HIVE_HOME/lib/hive-service-3.1.3000.7.1.7.1000-141.jar,$HIVE_HOME/lib/hive-metastore-3.1.3000.7.1.7.1000-141.jar,$HIVE_HOME/lib/libfb303-0.9.3.jar,$HIVE_HOME/lib/libthrift-0.9.3-1.jar,$HCAT_HOME/hive-hcatalog-core-3.1.3000.7.1.7.1000-141.jar,$HIVE_HOME/lib/parquet-hadoop-bundle.jar,$HIVE_HOME/lib/hive-llap-tez-3.1.3000.7.1.7.1000-141.jar,/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/tez/*,/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/tez/bin/*,/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/calcite-core-1.19.0.7.1.7.1000-141.jar,${ATLAS_HOME}/atlas-common-2.1.0.7.1.7.1000-141.jar,${ATLAS_HOME}/atlas-intg-2.1.0.7.1.7.1000-141.jar,${ATLAS_HOME}/atlas-notification-2.1.0.7.1.7.1000-141.jar,${ATLAS_HOME}/commons-configuration-1.10.jar,${ATLAS_HOME}/hive-bridge-2.1.0.7.1.7.1000-141.jar,${ATLAS_HOME}/atlas-client-common-2.1.0.7.1.7.1000-141.jar,$HIVE_HOME/lib/reflections-0.9.10.jar,$HIVE_HOME/lib/javassist-3.19.0-GA.jar,$HIVE_HOME/lib/cron-utils-9.1.3.jar,/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/hive/lib/hive-beeline-3.1.3000.7.1.7.1000-141.jar,/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/hive/lib/jline-2.12.jar,/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/hive/lib/super-csv-2.2.0.jar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;export HADOOP_CLASSPATH=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/avro/avro-1.8.2.7.1.7.1000-141.jar:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/avro/avro-mapred-1.8.2.7.1.7.1000-141-hadoop2.jar:$HIVE_HOME/conf:$HIVE_HOME/lib/antlr-runtime-3.5.2.jar:$HIVE_HOME/lib/commons-dbcp-1.4.jar:$HIVE_HOME/lib/commons-pool-1.5.4.jar:$HIVE_HOME/lib/datanucleus-core-4.1.17.jar:$HIVE_HOME/lib/datanucleus-rdbms-4.1.19.jar:$HIVE_HOME/lib/hive-cli-3.1.3000.7.1.7.1000-141.jar:$HIVE_HOME/lib/hive-exec-3.1.3000.7.1.7.1000-141.jar:$HIVE_HOME/lib/hive-jdbc-3.1.3000.7.1.7.1000-141.jar:$HIVE_HOME/lib/hive-service-3.1.3000.7.1.7.1000-141.jar:$HIVE_HOME/lib/hive-metastore-3.1.3000.7.1.7.1000-141.jar:$HIVE_HOME/lib/libfb303-0.9.3.jar:$HIVE_HOME/lib/libthrift-0.9.3-1.jar:$HCAT_HOME/hive-hcatalog-core-3.1.3000.7.1.7.1000-141.jar:$HIVE_HOME/lib/parquet-hadoop-bundle.jar:$HIVE_HOME/lib/hive-llap-tez-3.1.3000.7.1.7.1000-141.jar:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/tez/*:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/tez/bin/*:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/calcite-core-1.19.0.7.1.7.1000-141.jar:${ATLAS_HOME}/atlas-common-2.1.0.7.1.7.1000-141.jar:${ATLAS_HOME}/atlas-intg-2.1.0.7.1.7.1000-141.jar:${ATLAS_HOME}/atlas-notification-2.1.0.7.1.7.1000-141.jar:${ATLAS_HOME}/commons-configuration-1.10.jar:${ATLAS_HOME}/hive-bridge-2.1.0.7.1.7.1000-141.jar:${ATLAS_HOME}/atlas-client-common-2.1.0.7.1.7.1000-141.jar:$HIVE_HOME/lib/reflections-0.9.10.jar:$HIVE_HOME/lib/javassist-3.19.0-GA.jar:$HIVE_HOME/lib/cron-utils-9.1.3.jar:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/hive/lib/hive-beeline-3.1.3000.7.1.7.1000-141.jar:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/hive/lib/jline-2.12.jar:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/lib/hive/lib/super-csv-2.2.0.jar&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 14:05:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/344653#M234231</guid>
      <dc:creator>tallamohan</dc:creator>
      <dc:date>2022-05-30T14:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: hive load data query is failing with following exception</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/345192#M234414</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35472"&gt;@tallamohan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The direct usage of the Hive classes (CliSessionState, SessionState, Driver) in the provided code falls under the "Hive CLI" or "Hcat CLI" access, which is not supported in CDP:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-upgrade/latest/upgrade/topics/hive-unsupported.html" target="_blank"&gt;https://docs.cloudera.com/cdp-private-cloud-upgrade/latest/upgrade/topics/hive-unsupported.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please open a case on MyCloudera Support Portal to get that clarified.&lt;/P&gt;&lt;P&gt;The recommended approach would be to use beeline and access the Hive service through HiveServer2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;Miklos&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 08:10:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-load-data-query-is-failing-with-following-exception/m-p/345192#M234414</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2022-06-08T08:10:56Z</dc:date>
    </item>
  </channel>
</rss>

