[jira] [Created] (HIVE-16116) Beeline throws NPE when beeline.hiveconfvariables={} in beeline.properties

2017-03-05 Thread Rajesh Balamohan (JIRA)
Rajesh Balamohan created HIVE-16116:
---

 Summary: Beeline throws NPE when beeline.hiveconfvariables={} in 
beeline.properties
 Key: HIVE-16116
 URL: https://issues.apache.org/jira/browse/HIVE-16116
 Project: Hive
  Issue Type: Bug
  Components: Beeline
Reporter: Rajesh Balamohan
Assignee: Rajesh Balamohan
Priority: Minor


Env: hive master
Steps to reproduce:

1. clear previous beeline.properties (rm -rf ~/.beeline/beeline.properties)

2. Launch beeline, "!save" and exit. This would create new 
"~/.beeline/beeline.properties", which would have "beeline.hiveconfvariables={}"

3. Launch "beeline --hiveconf hive.tmp.dir=/tmp". This would throw NPE

{noformat}
Exception in thread "main" java.lang.NullPointerException
at org.apache.hive.beeline.BeeLine.setHiveConfVar(BeeLine.java:885)
at org.apache.hive.beeline.BeeLine.connectUsingArgs(BeeLine.java:832)
at org.apache.hive.beeline.BeeLine.initArgs(BeeLine.java:775)
at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:1009)
at 
org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:519)
at org.apache.hive.beeline.BeeLine.main(BeeLine.java:501)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.util.RunJar.run(RunJar.java:233)
at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (HIVE-16115) Stop printing progress info from operation logs with beeline progress bar

2017-03-05 Thread anishek (JIRA)
anishek created HIVE-16115:
--

 Summary: Stop printing progress info from operation logs with 
beeline progress bar
 Key: HIVE-16115
 URL: https://issues.apache.org/jira/browse/HIVE-16115
 Project: Hive
  Issue Type: Improvement
  Components: HiveServer2
Affects Versions: 2.2.0
Reporter: anishek
Assignee: anishek
Priority: Minor
 Fix For: 2.2.0


when in progress bar is enabled, we should not print the progress information 
via the operations logs. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (HIVE-16114) NullPointerException in TezSessionPoolManager when getting the session

2017-03-05 Thread Zhihua Deng (JIRA)
Zhihua Deng created HIVE-16114:
--

 Summary: NullPointerException in TezSessionPoolManager when 
getting the session
 Key: HIVE-16114
 URL: https://issues.apache.org/jira/browse/HIVE-16114
 Project: Hive
  Issue Type: Bug
  Components: HiveServer2
Reporter: Zhihua Deng
Priority: Minor


hive version: apache-hive-2.1.1 
we use hue(3.11.0) connecting to the HiveServer2.  when hue starts up, it works 
with no problems, a few hours passed, when we use the same sql, an exception 
about unable to initialize TezTask will come into being.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (HIVE-16113) PartitionPruner::removeNonPartCols breaks NULL based udfs like NVL

2017-03-05 Thread Gopal V (JIRA)
Gopal V created HIVE-16113:
--

 Summary: PartitionPruner::removeNonPartCols breaks NULL based udfs 
like NVL
 Key: HIVE-16113
 URL: https://issues.apache.org/jira/browse/HIVE-16113
 Project: Hive
  Issue Type: Bug
  Components: Logical Optimizer
Affects Versions: 2.1.1, 1.2.1, 2.2.0
Reporter: Gopal V


{code}
create table daysales (customer int) partitioned by (dt string);

insert into daysales partition(dt='2001-01-01') values(1);

select * from daysales where nvl(dt='2001-01-01' and customer=1, false);
0 ROWS
{code}





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)