Skip to content

Commit

Permalink
Use new CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
martinprobson committed May 13, 2018
1 parent 314d65f commit c2f8194
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 8 additions & 0 deletions resources/hadoop/core-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,12 @@
<name>fs.defaultFS</name>
<value>hdfs://10.211.55.101</value>
</property>
<property>
<name>hadoop.proxyuser.root.groups</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.root.hosts</name>
<value>*</value>
</property>
</configuration>
7 changes: 6 additions & 1 deletion resources/hive/hive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ export HIVE_HOME=/usr/local/hive
export HIVE_CONF_DIR=$HIVE_HOME/conf
export HCAT_HOME=/usr/local/hive/hcatalog
export PATH=${HIVE_HOME}/bin:${HCAT_HOME}/bin:${PATH}
alias beel='beeline --color=true -u jdbc:hive2://localhost:10000/default;transportMode=http;httpPath=cliservice'
alias beel='beeline --color=true -u jdbc:hive2://'
#
# Use the new Hive CLI
# (See https://cwiki.apache.org/confluence/display/Hive/Replacing+the+Implementation+of+Hive+CLI+Using+Beeline)
#
export USE_DEPRECATED_CLI=false

0 comments on commit c2f8194

Please sign in to comment.