[
https://issues.apache.org/jira/browse/HIVE-15354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sushanth Sowmyan reassigned HIVE-15354:
---------------------------------------
Assignee: Sushanth Sowmyan (was: Vaibhav Gumashta)
> 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: Sushanth Sowmyan
> 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)