<?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: ANALYZE command not write data into hive metastore in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390786#M247339</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111859"&gt;@AhXian&lt;/a&gt;&amp;nbsp;These ORC tables we are talking about, are they &lt;A href="https://docs.cloudera.com/cdw-runtime/1.5.1/using-hiveql/topics/hive_3_internals.html" target="_self"&gt;ACID?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If we copy data files to ACID table location, and run ANALYZE...COMPUTE STATISTICS, that alone might not resolve the issue. We would like for you to share an example. Please share the following command output:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;describe formatted table_name partition(dl_created_yr='2023', dl_created_mth='12')&lt;/LI-CODE&gt;&lt;P&gt;&amp;amp;HDFS command o/p&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;hdfs dfs -ls -R &amp;lt;partition location from the above command&amp;gt;&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 22 Jul 2024 15:45:22 GMT</pubDate>
    <dc:creator>smruti</dc:creator>
    <dc:date>2024-07-22T15:45:22Z</dc:date>
    <item>
      <title>ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390543#M247294</link>
      <description>&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;In SIT, I have manually create a hive table. Follow by manually create a partition on it. Then I copy the bucket file from other table and put inside the partition. At this moment, if I run select statement, I getting 0 result, I believe this is normal because data haven't write to meta store.&lt;/P&gt;&lt;P&gt;Then I run the following commands:&lt;/P&gt;&lt;PRE&gt;ANALYZE TABLE raw_zone_sit.jxtemp PARTITION (dl_created_yr='2023', dl_created_mth='12') 
COMPUTE STATISTICS;&lt;/PRE&gt;&lt;P&gt;After I run this command, I able to select data from my table.&lt;/P&gt;&lt;P&gt;After that I apply the same way in production, but I am still getting empty result.&lt;/P&gt;&lt;P&gt;Currently I am trying to recover all the meta store in production, this is because 1 of the person accidently delete all the meta store in production. Thus now I am trying to recover on it.&lt;/P&gt;&lt;P&gt;For your information, parquet tables working fine. But I have some ORC tables also, now pending ORC table to resolve.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 08:49:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390543#M247294</guid>
      <dc:creator>AhXian</dc:creator>
      <dc:date>2024-07-18T08:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390546#M247295</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111859"&gt;@AhXian&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged our Hive experts&amp;nbsp; &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82698"&gt;@smruti&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71090"&gt;@asish&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/33734"&gt;@Asok&lt;/a&gt;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 10:34:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390546#M247295</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-07-18T10:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390786#M247339</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111859"&gt;@AhXian&lt;/a&gt;&amp;nbsp;These ORC tables we are talking about, are they &lt;A href="https://docs.cloudera.com/cdw-runtime/1.5.1/using-hiveql/topics/hive_3_internals.html" target="_self"&gt;ACID?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If we copy data files to ACID table location, and run ANALYZE...COMPUTE STATISTICS, that alone might not resolve the issue. We would like for you to share an example. Please share the following command output:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;describe formatted table_name partition(dl_created_yr='2023', dl_created_mth='12')&lt;/LI-CODE&gt;&lt;P&gt;&amp;amp;HDFS command o/p&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;hdfs dfs -ls -R &amp;lt;partition location from the above command&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 22 Jul 2024 15:45:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390786#M247339</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2024-07-22T15:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390824#M247350</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82698"&gt;@smruti&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Yes, those ORC tables are ACID.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;describe formatted table_name partition(dl_created_yr='2023', dl_created_mth='12')&lt;/LI-CODE&gt;&lt;P&gt;col_name,data_type,comment&lt;BR /&gt;uuid,string,&lt;BR /&gt;pymt_inst_trx_uuid,varchar(16),OriSrcDType: hexadecimal&lt;BR /&gt;pymt_inst_segment_uuid,varchar(16),OriSrcDType: hexadecimal&lt;BR /&gt;trx_ref_no,varchar(50),&lt;BR /&gt;trx_status,smallint,OriSrcDType: tinyint unsigned&lt;BR /&gt;journal_id,varchar(50),&lt;BR /&gt;promo_code,varchar(50),&lt;BR /&gt;fee_scheme,varchar(50),&lt;BR /&gt;from_account,varchar(50),&lt;BR /&gt;from_account_name,varchar(100),&lt;BR /&gt;to_account,varchar(50),&lt;BR /&gt;to_account_name,varchar(150),&lt;BR /&gt;currency,varchar(50),&lt;BR /&gt;amount,"decimal(20,6)",&lt;BR /&gt;charge,"decimal(20,6)",&lt;BR /&gt;tax,"decimal(20,6)",&lt;BR /&gt;tax_type,varchar(50),&lt;BR /&gt;process_date,timestamp,&lt;BR /&gt;process_end_date,timestamp,&lt;BR /&gt;error_code,varchar(10),&lt;BR /&gt;error_message,varchar(200),&lt;BR /&gt;src_ref_no,varchar(20),&lt;BR /&gt;ims_message_id,varchar(27),&lt;BR /&gt;src_ref_no_2,varchar(20),&lt;BR /&gt;created_date,timestamp,&lt;BR /&gt;created_by,varchar(16),OriSrcDType: hexadecimal&lt;BR /&gt;updated_date,timestamp,&lt;BR /&gt;updated_by,varchar(16),OriSrcDType: hexadecimal&lt;BR /&gt;info,string,OriSrcDType: json&lt;BR /&gt;dq_is_dirty,boolean,&lt;BR /&gt;dq_error_code_mandatory,varchar(255),&lt;BR /&gt;dq_error_code_optional,varchar(255),&lt;BR /&gt;dq_sla,varchar(255),&lt;BR /&gt;dq_priority,varchar(255),&lt;BR /&gt;dl_source_system,varchar(255),&lt;BR /&gt;dl_file_name,varchar(255),&lt;BR /&gt;dl_created_dt,timestamp,&lt;BR /&gt;dl_created_day,varchar(2),&lt;BR /&gt;dl_created_time,varchar(8),&lt;BR /&gt;,NULL,NULL&lt;BR /&gt;# Partition Information,NULL,NULL&lt;BR /&gt;# col_name,data_type,comment&lt;BR /&gt;dl_created_yr,varchar(4),&lt;BR /&gt;dl_created_mth,varchar(2),&lt;BR /&gt;,NULL,NULL&lt;BR /&gt;# Detailed Partition Information,NULL,NULL&lt;BR /&gt;Partition Value: ,"[2023, 12] ",NULL&lt;BR /&gt;Database: ,raw_zone_sit ,NULL&lt;BR /&gt;Table: ,jxtemp2 ,NULL&lt;BR /&gt;CreateTime: ,Thu Jul 18 17:42:30 MYT 2024,NULL&lt;BR /&gt;LastAccessTime: ,UNKNOWN ,NULL&lt;BR /&gt;Location: ,hdfs://cdpuat.devambankgroup.devahb.com:8020/warehouse/tablespace/managed/hive/raw_zone_sit.db/jxtemp2/dl_created_yr=2023/dl_created_mth=12,NULL&lt;BR /&gt;Partition Parameters:,NULL,NULL&lt;BR /&gt;,COLUMN_STATS_ACCURATE,"{\""BASIC_STATS\"":\""true\"",\""COLUMN_STATS\"":{\""amount\"":\""true\"",\""charge\"":\""true\"",\""created_by\"":\""true\"",\""created_date\"":\""true\"",\""currency\"":\""true\"",\""dl_created_day\"":\""true\"",\""dl_created_dt\"":\""true\"",\""dl_created_time\"":\""true\"",\""dl_file_name\"":\""true\"",\""dl_source_system\"":\""true\"",\""dq_error_code_mandatory\"":\""true\"",\""dq_error_code_optional\"":\""true\"",\""dq_is_dirty\"":\""true\"",\""dq_priority\"":\""true\"",\""dq_sla\"":\""true\"",\""error_code\"":\""true\"",\""error_message\"":\""true\"",\""fee_scheme\"":\""true\"",\""from_account\"":\""true\"",\""from_account_name\"":\""true\"",\""ims_message_id\"":\""true\"",\""info\"":\""true\"",\""journal_id\"":\""true\"",\""process_date\"":\""true\"",\""process_end_date\"":\""true\"",\""promo_code\"":\""true\"",\""pymt_inst_segment_uuid\"":\""true\"",\""pymt_inst_trx_uuid\"":\""true\"",\""src_ref_no\"":\""true\"",\""src_ref_no_2\"":\""true\"",\""tax\"":\""true\"",\""tax_type\"":\""true\"",\""to_account\"":\""true\"",\""to_account_name\"":\""true\"",\""trx_ref_no\"":\""true\"",\""trx_status\"":\""true\"",\""updated_by\"":\""true\"",\""updated_date\"":\""true\"",\""uuid\"":\""true\""}}"&lt;BR /&gt;,numFiles ,0&lt;BR /&gt;,numRows ,0&lt;BR /&gt;,rawDataSize ,0&lt;BR /&gt;,totalSize ,0&lt;BR /&gt;,transient_lastDdlTime,1721295750&lt;BR /&gt;,NULL,NULL&lt;BR /&gt;# Storage Information,NULL,NULL&lt;BR /&gt;SerDe Library: ,org.apache.hadoop.hive.ql.io.orc.OrcSerde,NULL&lt;BR /&gt;InputFormat: ,org.apache.hadoop.hive.ql.io.orc.OrcInputFormat,NULL&lt;BR /&gt;OutputFormat: ,org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat,NULL&lt;BR /&gt;Compressed: ,No ,NULL&lt;BR /&gt;Num Buckets: ,31 ,NULL&lt;BR /&gt;Bucket Columns: ,"[dl_created_day, dl_created_time]",NULL&lt;BR /&gt;Sort Columns: ,[] ,NULL&lt;BR /&gt;,NULL,NULL&lt;BR /&gt;# Constraints,NULL,NULL&lt;BR /&gt;,NULL,NULL&lt;BR /&gt;# Primary Key,NULL,NULL&lt;BR /&gt;Table: ,raw_zone_sit.jxtemp2,NULL&lt;BR /&gt;Constraint Name: ,pk_211785244_1721295718303_0,NULL&lt;BR /&gt;Column Name: ,uuid ,NULL&lt;/P&gt;&lt;P&gt;hdfs dfs -ls -R /warehouse/tablespace/managed/hive/raw_zone_sit.db/jxtemp2/dl_created_yr=2023/dl_created_mth=12&lt;/P&gt;&lt;P&gt;drwxr-xr-x - root hadoop 0 2024-07-18 17:42 /warehouse/tablespace/managed/hive/raw_zone_sit.db/jxtemp2/dl_created_yr=2023/dl_created_mth=12/delta_0000001_0000001_0000&lt;BR /&gt;-rw-r--r-- 3 root hadoop 11495 2024-07-18 17:42 /warehouse/tablespace/managed/hive/raw_zone_sit.db/jxtemp2/dl_created_yr=2023/dl_created_mth=12/delta_0000001_0000001_0000/bucket_00023_0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 02:06:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390824#M247350</guid>
      <dc:creator>AhXian</dc:creator>
      <dc:date>2024-07-23T02:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390852#M247360</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111859"&gt;@AhXian&lt;/a&gt;&amp;nbsp;the metadata is still not updated, as I see the following:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;,numFiles ,0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;,numRows ,0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;,rawDataSize ,0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;,totalSize ,0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let's try the following commands one after the other:&lt;/P&gt;&lt;P&gt;MSCK REPAIR&amp;nbsp;raw_zone_sit.&lt;SPAN&gt;jxtemp SYNC PARTITIONS;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ANALYZE TABLE raw_zone_sit.jxtemp PARTITION (dl_created_yr='2023', dl_created_mth='12')&lt;BR /&gt;COMPUTE STATISTICS;&lt;/P&gt;&lt;P&gt;ANALYZE TABLE raw_zone_sit.jxtemp PARTITION (dl_created_yr='2023', dl_created_mth='12')&lt;BR /&gt;COMPUTE STATISTICS for COLUMNS;&lt;/P&gt;&lt;P&gt;See if the describe command still reflects 0 files.&lt;/P&gt;&lt;P&gt;Also, could you collect the output of the following command from the backend metastore database?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;select * from NEXT_WRITE_ID where&amp;nbsp;NWI_TABLE='jxtemp';&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 12:25:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390852#M247360</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2024-07-23T12:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390891#M247378</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82698"&gt;@smruti&lt;/a&gt;&amp;nbsp;, thanks for your response, Yes I have run the 3 commands you mention actually, its only working in SIT environment but not working in Prod environment.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, now we already copy out all the hdfs file in some backup folder, and we drop the database and re-create database for encryption purpose. Thus, now I unable to select any data from NEXT_WRITE_ID because the table no longer there.&lt;BR /&gt;&lt;BR /&gt;Anyhow, I still keep the hdfs bucket files. I am thinking to re-create the table and partition, and then put in the bucket files and run the 3 commands, but they are not working. May I know what direction I should go? As this method is working in SIT, but not sure why Prod not working.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 03:27:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390891#M247378</guid>
      <dc:creator>AhXian</dc:creator>
      <dc:date>2024-07-24T03:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390901#M247382</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111859"&gt;@AhXian&lt;/a&gt;&amp;nbsp;Ideally it is not supported to copy files into and out of an ACID table location. In this case we can use a workaround:&lt;/P&gt;&lt;P&gt;1. Create an external table similar(same columns) as the original ACID table.&lt;/P&gt;&lt;P&gt;2. Upload the data file into the external table location.&lt;/P&gt;&lt;P&gt;3. MSCK REPAIR table &amp;lt;external table name&amp;gt;&lt;/P&gt;&lt;P&gt;4. See if you can read the data from the external table now.&lt;/P&gt;&lt;P&gt;5. If [4] works, insert the data into the managed table by using:&lt;/P&gt;&lt;P&gt;insert into table managed_table_name partition(xx,yy) select * from external_table_name;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 06:49:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390901#M247382</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2024-07-24T06:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390902#M247383</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82698"&gt;@smruti&lt;/a&gt;&amp;nbsp;, thanks for your response.&lt;BR /&gt;Yes, step 1 until step 4 is what I exactly did last time, where step [3] I add in 1 more command call Analyze.&lt;BR /&gt;In [4], I able to select the data, in SIT environment.&lt;BR /&gt;The weird thing is, same thing I done in production, but its not working in [4].&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 06:53:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390902#M247383</guid>
      <dc:creator>AhXian</dc:creator>
      <dc:date>2024-07-24T06:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390904#M247385</link>
      <description>&lt;P&gt;In Hive ACID tables, the base/delta files are associated with a writeID. My assumption is the write ID has changed or got removed in the production HMS, so hive does not recognize the data file. So, we will have to follow the workaround that I mentioned in my last update.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 07:15:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390904#M247385</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2024-07-24T07:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390927#M247398</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82698"&gt;@smruti&lt;/a&gt;&amp;nbsp;, the workaround u means are the 5 steps right?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 12:35:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390927#M247398</guid>
      <dc:creator>AhXian</dc:creator>
      <dc:date>2024-07-24T12:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390928#M247399</link>
      <description>&lt;P&gt;Yes, 5 steps mentioned above&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 12:43:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390928#M247399</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2024-07-24T12:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390962#M247414</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82698"&gt;@smruti&lt;/a&gt;&amp;nbsp;, Yes, I have done it in production environment, its not working, I still unable to select from it. But its working in SIT.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 12:44:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390962#M247414</guid>
      <dc:creator>AhXian</dc:creator>
      <dc:date>2024-07-25T12:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390963#M247415</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111859"&gt;@AhXian&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;1. Are you able to read data from the external table in Prod(step&amp;nbsp; 4)?&lt;/P&gt;&lt;P&gt;2. In step 5, I meant for you to insert data into a new ACID table, which can be created using similar DDL as the original table.&lt;/P&gt;&lt;P&gt;3. After INSERT(step 5),&amp;nbsp; see if you could read the data from the new table.&lt;/P&gt;&lt;P&gt;Ideally it should work&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 13:12:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390963#M247415</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2024-07-25T13:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390988#M247424</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82698"&gt;@smruti&lt;/a&gt;&amp;nbsp;, I unable to read data from external table in step 4.&lt;BR /&gt;Thus, I cant use the insert data query to insert into a new ACID table in step 5.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 02:00:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390988#M247424</guid>
      <dc:creator>AhXian</dc:creator>
      <dc:date>2024-07-26T02:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: ANALYZE command not write data into hive metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390990#M247425</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/111859"&gt;@AhXian&lt;/a&gt;&amp;nbsp;I hope we have copied the bucket files correctly, and also ran MSCK REPAIR. Could you also run ANALYZE.. COMPUTE STATISTICS on the external table once. Make sure the DESCRIBE command on the external table reflects the number of data files correctly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please share describe and&amp;nbsp; "hdfs dfs -ls -R &amp;lt;externa table location&amp;gt;" o/p&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 03:34:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ANALYZE-command-not-write-data-into-hive-metastore/m-p/390990#M247425</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2024-07-26T03:34:04Z</dc:date>
    </item>
  </channel>
</rss>

