<?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 validate which compression technique has been applied to hive? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140678#M35436</link>
    <description>&lt;P&gt;I am able to see that compressed as No. I think I need to set configuration for compression separately in hive&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2016 17:23:23 GMT</pubDate>
    <dc:creator>payal_patel</dc:creator>
    <dc:date>2016-07-21T17:23:23Z</dc:date>
    <item>
      <title>How to validate which compression technique has been applied to hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140674#M35432</link>
      <description>&lt;P&gt;I have create table in hive and specified compression as gzip during table creation &lt;/P&gt;&lt;P&gt;I am not able to find way that gzip has been applied on newly created table&lt;/P&gt;&lt;P&gt;is there any command which specify compression technique applied on hive.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 16:59:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140674#M35432</guid>
      <dc:creator>payal_patel</dc:creator>
      <dc:date>2016-07-21T16:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate which compression technique has been applied to hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140675#M35433</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/11951/payalpatel.html" nodeid="11951"&gt;@payal patel&lt;/A&gt;&lt;P&gt;The compression of the table can be validated by checking the definition of the hive table using the command:&lt;/P&gt;&lt;P&gt;hive&amp;gt; describe formatted &amp;lt;hive_table&amp;gt;;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:01:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140675#M35433</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2016-07-21T17:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate which compression technique has been applied to hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140676#M35434</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11951/payalpatel.html" nodeid="11951"&gt;@payal patel&lt;/A&gt; &lt;/P&gt;&lt;P&gt;What you see when you run show create table &amp;lt;tablename&amp;gt;; ?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:04:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140676#M35434</guid>
      <dc:creator>rpathak</dc:creator>
      <dc:date>2016-07-21T17:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate which compression technique has been applied to hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140677#M35435</link>
      <description>&lt;P&gt;I am running hive query using HIve view of Ambari and executing below query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE TABLE t11
STORED AS parquet
TBLPROPERTIES("parquet.COMPRESS"="gzip")
AS SELECT * FROM abc;&lt;/P&gt;Here abc table already contain some data &lt;P&gt;Post execution, it shows that query status as "Succeed" &lt;/P&gt;&lt;P&gt;then I verified data by executing "select * from t11".I am able to see data.&lt;/P&gt;&lt;P&gt;I want to verify that gzip has been applied or not.so I did not find way yet&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:20:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140677#M35435</guid>
      <dc:creator>payal_patel</dc:creator>
      <dc:date>2016-07-21T17:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate which compression technique has been applied to hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140678#M35436</link>
      <description>&lt;P&gt;I am able to see that compressed as No. I think I need to set configuration for compression separately in hive&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:23:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140678#M35436</guid>
      <dc:creator>payal_patel</dc:creator>
      <dc:date>2016-07-21T17:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate which compression technique has been applied to hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140679#M35437</link>
      <description>&lt;P&gt;there is message only that query runs "succeed"&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:23:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140679#M35437</guid>
      <dc:creator>payal_patel</dc:creator>
      <dc:date>2016-07-21T17:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate which compression technique has been applied to hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140680#M35438</link>
      <description>&lt;P&gt;show create table t11;&lt;/P&gt;&lt;P&gt;What you get in output?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:25:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140680#M35438</guid>
      <dc:creator>rpathak</dc:creator>
      <dc:date>2016-07-21T17:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate which compression technique has been applied to hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140681#M35439</link>
      <description>&lt;P&gt;able to run ..Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:36:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140681#M35439</guid>
      <dc:creator>payal_patel</dc:creator>
      <dc:date>2016-07-21T17:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate which compression technique has been applied to hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140682#M35440</link>
      <description>&lt;P&gt;I am able to resolve it. issue with create and select together.&lt;/P&gt;&lt;P&gt;I've created table first then inserted data, now able to see gzip as tableproperties in desc command&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:37:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140682#M35440</guid>
      <dc:creator>payal_patel</dc:creator>
      <dc:date>2016-07-21T17:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate which compression technique has been applied to hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140683#M35441</link>
      <description>&lt;P&gt;getting below output&lt;/P&gt;&lt;P&gt;CREATE TABLE `t11`(                                                                                                                                                            
  `organisation` string,                                                                                                                                                      
  `org_skill` string,                                                                                                                                                          
  `emp_name` string,                                                                                                                                                          
  `pageurl` string,                                                                                                                                                            
  `cookie` string,                                                                                                                                                            
  `referurl` string,                                                                                                                                                          
  `time` string,                                                                                                                                                              
  `employeeid` string)                                                                                                                                                        
ROW FORMAT SERDE                                                                                                                                                              
  'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'                                                                                                                
STORED AS INPUTFORMAT                                                                                                                                                          
  'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat'                                                                                                              
OUTPUTFORMAT                                                                                                                                                                  
  'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'                                                                                                            
LOCATION                                                                                                                                                                      
  'hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/t11'                                                                                                                
TBLPROPERTIES (                                                                                                                                                                
  'COLUMN_STATS_ACCURATE'='true',                                                                                                                                              
  'numFiles'='1',                                                                                                                                                              
  'numRows'='55',                                                                                                                                                              
  'parquet.COMPRESS'='gzip',                                                                                                                                                  
  'rawDataSize'='440',                                                                                                                                                        
  'totalSize'='2046',                                                                                                                                                          
  'transient_lastDdlTime'='1469095673') &lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 01:07:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140683#M35441</guid>
      <dc:creator>payal_patel</dc:creator>
      <dc:date>2016-07-22T01:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to validate which compression technique has been applied to hive?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140684#M35442</link>
      <description>&lt;P&gt;Thanks for reply..&lt;/P&gt;&lt;P&gt;I've one more question&lt;/P&gt;&lt;P&gt;the table properties showing that gzip has been applied,so i've created table post disabled hive compression.(disabled partition by setting as parquet.compress="none" in create table syntax and set hive.exec.compress.output"="false" )&lt;/P&gt;&lt;P&gt; but when i execute below command on both tables then i dont see any difference for size of withcompression or withoutcompression hive table.&lt;/P&gt;&lt;P&gt;command: $&amp;gt; hadoop fs -du -h hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/tt1. &lt;/P&gt;&lt;P&gt;I've set below property in hive while enabling compression $&amp;gt;hive.exec.compress.output","true"&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 01:17:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-validate-which-compression-technique-has-been-applied/m-p/140684#M35442</guid>
      <dc:creator>payal_patel</dc:creator>
      <dc:date>2016-07-22T01:17:05Z</dc:date>
    </item>
  </channel>
</rss>

