Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

parameters for beeline

Highlighted

parameters for beeline

Explorer

Hi ..is there a way to pass parameter file to beeline script?

beeline -u hostname -f mytext.txt

3 REPLIES 3

Re: parameters for beeline

There isn't an option to specify a parameter file. However, you can specify parameters on the command line with:

--hivevar var1=value1

Beeline Command Options

Re: parameters for beeline

Super Collaborator

hi, for me doesnt work the parameter tablename but date works why???

--hivevar date=$HIVE_IN tablename=$HIVE_TABLE

Re: parameters for beeline

try placing --hivevar in front of each variable:

--hivevar date=$HIVE_IN --hivevar tablename=$HIVE_TABLE