You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vaibhav Gumashta (JIRA)" <ji...@apache.org> on 2016/12/04 20:29:58 UTC

[jira] [Created] (HIVE-15354) Investigate TestHCatClientNotification#createTable test failure

Vaibhav Gumashta created HIVE-15354:
---------------------------------------

             Summary: Investigate TestHCatClientNotification#createTable test failure
                 Key: HIVE-15354
                 URL: https://issues.apache.org/jira/browse/HIVE-15354
             Project: Hive
          Issue Type: Sub-task
          Components: repl
            Reporter: Vaibhav Gumashta
            Assignee: Vaibhav Gumashta
            Priority: Critical


From the test logs, the createTime field for the table object when it was stored in notification is 1480852597:

{code}
<Table(tableName:hcatcreatetable, dbName:default, owner:hiveptest, createTime:1480852597, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:onecol, type:string, comment:)], location:pfile:/home/hiveptest/104.154.199.46-hiveptest-1/apache-github-source-source/itests/hcatalog-unit/target/warehouse/hcatcreatetable, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:0, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:null, sortCols:null, parameters:null), partitionKeys:[], parameters:{transient_lastDdlTime=1480852596}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)> 
{code}

However, when the notification is read and the table object is reconstructed on client side, the createTime is 1480852596: 
{code}
<Table(tableName:hcatcreatetable, dbName:default, owner:hiveptest, createTime:1480852596, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:onecol, type:string, comment:)], location:pfile:/home/hiveptest/104.154.199.46-hiveptest-1/apache-github-source-source/itests/hcatalog-unit/target/warehouse/hcatcreatetable, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:0, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:null, sortCols:null, parameters:null), partitionKeys:[], parameters:{transient_lastDdlTime=1480852596}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)>
{code}

This also happens intermittently. Need to investigate.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)