[ 
https://issues.apache.org/jira/browse/HIVE-20734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676241#comment-16676241
 ] 

mahesh kumar behera commented on HIVE-20734:
--------------------------------------------

[~thejas] [~vgumashta]

i think -z should be used instead of != 

/code
if [ -z $CLIUSER ] ; then
    exec $HADOOP jar ${beelineJarPath} $CLASS $HIVE_OPTS "$@"
  else
    exec $HADOOP jar ${beelineJarPath} $CLASS $HIVE_OPTS -n "${CLIUSER}" -p 
"${CLIUSER}" "$@"
  fi

> Beeline: When beeline-site.xml is and hive CLI redirects to beeline, it 
> should use the system username/dummy password instead of prompting for one
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-20734
>                 URL: https://issues.apache.org/jira/browse/HIVE-20734
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 3.1.0
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>            Priority: Major
>         Attachments: HIVE-20734.1.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to