English 中文(简体)
ERROR [HYT00] [Microsoft] [Hardy] 补假过期。 Hive ODBC联线
原标题:ERROR [HYT00] [Microsoft] [Hardy] Query execution timeout expired. Hive ODBC connection

Using Microsoft Hive ODBC Driver hive 2.1.12.1017 to connect with Hive on linux machine which have hadoop setup. Select query with large data give this error:
ERROR [HYT00] [Microsoft] [Hardy] Query execution timeout expired.

Image of exact error is in the link. [http://prntscr.com/j2sux6][1]

有时,在有相同参数的情况下,就没有给出错误。

任何类型的帮助都将得到真正的赞赏。

Hive ODBC 司机 2.1.5 停机发现这一相对数字,但不幸的是没有答案。

问题回答

我也正视着ODBC I的问题,改变了指挥时间,但我认为这不会是一件好事,因为增加这一时间也会造成一些错误。 在<编码>insert 上,select上面对这一问题的超过一米的人正在做罚款。

然而,在通过Hive ODBC驾驶员利用权力hell检索数据时,我也面临时间问题。 我试图延长联系时间,延长指挥时间。

function Get-ODBC-Data {
  param(
    [string]$query=$(throw  query is required. ),
    [string]$dsn
  )
  $conn = New-Object System.Data.Odbc.OdbcConnection
  $conn.ConnectionString = "DSN=$dsn;"
  $conn.ConnectionTimeout = 3600                  # Here setup ConnectionTimeout
  $conn.open()

  $cmd = New-object System.Data.Odbc.OdbcCommand($query,$conn)
  $cmd.CommandTimeout = 3600                      # Here setup CommandTimeout
  $ds = New-Object system.Data.DataSet
  (New-Object system.Data.odbc.odbcDataAdapter($cmd)).fill($ds) #| out-null
  $conn.close()
  return $ds.Tables
}
$dsn = "Hive"

$query = "SHOW DATABASES;"
Get-ODBC-Data -query $query -dsn $dsn




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签