[
https://issues.apache.org/jira/browse/HIVE-16320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15948963#comment-15948963
]
Peter Vary commented on HIVE-16320:
-----------------------------------
The second extra line is really strange.
There is no USE default command issued in the middle of the escape_comments
script.
Seems like a valid error here.
In the hive.log we can see this:
{code}
[..]
2017-03-28T14:00:49,519 DEBUG [HiveServer2-Background-Pool: Thread-161]
log.PerfLogger: <PERFLOG method=Driver.execute
from=org.apache.hadoop.hive.ql.Driver>
2017-03-28T14:00:49,519 DEBUG [HiveServer2-Background-Pool: Thread-162]
log.PerfLogger: <PERFLOG method=Driver.execute
from=org.apache.hadoop.hive.ql.Driver>
2017-03-28T14:00:49,519 INFO [HiveServer2-Background-Pool: Thread-162]
ql.Driver: Executing
command(queryId=hiveptest_20170328140049_81950c72-2cab-43b2-9c60-d9ae7db64322):
USE default
2017-03-28T14:00:49,519 INFO [HiveServer2-Background-Pool: Thread-161]
ql.Driver: Executing
command(queryId=hiveptest_20170328140047_6bac5ae3-32db-4275-9900-864fe6076e84):
create view escape_comments_view1 (col1 comment 'a\nb') comment 'a\nb'
as select col1 from escape_comments_tbl1
2017-03-28T14:00:49,520 DEBUG [HiveServer2-Handler-Pool: Thread-73]
transport.TSaslTransport: SERVER: reading data length: 104
2017-03-28T14:00:49,521 DEBUG [HiveServer2-Background-Pool: Thread-161]
log.PerfLogger: <PERFLOG
method=PreHook.org.apache.hadoop.hive.ql.hooks.PreExecutePrinter
from=org.apache.hadoop.hive.ql.Driver>
2017-03-28T14:00:49,521 DEBUG [HiveServer2-Background-Pool: Thread-162]
log.PerfLogger: <PERFLOG
method=PreHook.org.apache.hadoop.hive.ql.hooks.PreExecutePrinter
from=org.apache.hadoop.hive.ql.Driver>
2017-03-28T14:00:49,521 ERROR [HiveServer2-Background-Pool: Thread-161]
SessionState: PREHOOK: query: create view escape_comments_view1 (col1 comment
'a\nb') comment 'a\nb'
as select col1 from escape_comments_tbl1
2017-03-28T14:00:49,521 ERROR [HiveServer2-Background-Pool: Thread-162]
SessionState: PREHOOK: query: USE default
2017-03-28T14:00:49,521 ERROR [HiveServer2-Background-Pool: Thread-161]
SessionState: PREHOOK: type: CREATEVIEW
2017-03-28T14:00:49,521 ERROR [HiveServer2-Background-Pool: Thread-162]
SessionState: PREHOOK: type: SWITCHDATABASE
2017-03-28T14:00:49,521 ERROR [HiveServer2-Background-Pool: Thread-161]
SessionState: PREHOOK: Input: escape_comments_db@escape_comments_tbl1
2017-03-28T14:00:49,521 ERROR [HiveServer2-Background-Pool: Thread-162]
SessionState: PREHOOK: Input: database:default
2017-03-28T14:00:49,521 ERROR [HiveServer2-Background-Pool: Thread-161]
SessionState: PREHOOK: Output: database:escape_comments_db
{code}
For me it seems, that the two logs are mixed up somehow.
Checked the code, and I do not see any reason for it yet, and of course I was
not able to reproduce the issue :D
> Flaky test: TestBeeLineDriver.testCliDriver[escape_comments]
> ------------------------------------------------------------
>
> Key: HIVE-16320
> URL: https://issues.apache.org/jira/browse/HIVE-16320
> Project: Hive
> Issue Type: Sub-task
> Reporter: Sahil Takiar
> Assignee: Peter Vary
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)