Env:
Hive all versionsSymptom:
Beeline of HiveServer2 hangs if huge output data needs to return.Users can only ctrl-C beeline.
Out of Memory error may show up.
Root Cause:
Per HIVE-7224, by default beeline tries to buffer the entire output relation before printing it on stdout.Solution:
Beeline has the option "--incremental=true" to print output incrementally.This option is not in "beeline --help" command output yet, but it is documented here.
So just invoke beeline as below:
beeline --incremental=true
93EB5A33
ReplyDeleteMaraş
Karabük
Afyon
Karaman
Yalova
Antep
Erzurum
Elazığ
Van
F0176227
ReplyDeleteAkçay
Kundu
Kapaklı
Nizip
Cide
Antakya
Dalaman
Bala
Korkuteli
8706BE17
ReplyDeleteDöşemealtı
Akçakoca
Kahramankazan
Urla
Dikmen
Serik
Ayvalık
Kırıkhan
Nusaybin