[jira] [Created] (HIVE-21417) JDBC: standalone jar relocates log4j interface classes

2019-03-08 Thread Gopal V (JIRA)
Gopal V created HIVE-21417:
--

 Summary: JDBC: standalone jar relocates log4j interface classes
 Key: HIVE-21417
 URL: https://issues.apache.org/jira/browse/HIVE-21417
 Project: Hive
  Issue Type: Bug
Reporter: Gopal V


The relocation of slf4j for ILoggerFactory breaks embedding in JVMs which have 
an slf4j impl locally.

org/apache/hive/org/slf4j/ILoggerFactory

Adding this jar to an existing slf4j env breaks.



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


[jira] [Created] (HIVE-21416) Log git apply tries with p0, p1, and p2

2019-03-08 Thread Miklos Gergely (JIRA)
Miklos Gergely created HIVE-21416:
-

 Summary: Log git apply tries with p0, p1, and p2
 Key: HIVE-21416
 URL: https://issues.apache.org/jira/browse/HIVE-21416
 Project: Hive
  Issue Type: Improvement
  Components: Hive
Affects Versions: 3.1.1
Reporter: Miklos Gergely
Assignee: Miklos Gergely
 Fix For: 4.0.0


Currently when the PreCommit-HIVE-Build Jenkins job is trying to apply the 
patch it tries it first with -p0, then if it wasn't successful with -p1, then 
finally if it still wasn't successful with -p2. The 3 tries are not separated 
by anything, so the error messages of  the potential failures are mixed 
together. There should be a log message before each try.



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


[jira] [Created] (HIVE-21415) Parallel build is failing, trying to download incorrect hadoop-hdfs-client version

2019-03-08 Thread Prasanth Jayachandran (JIRA)
Prasanth Jayachandran created HIVE-21415:


 Summary: Parallel build is failing, trying to download incorrect 
hadoop-hdfs-client version
 Key: HIVE-21415
 URL: https://issues.apache.org/jira/browse/HIVE-21415
 Project: Hive
  Issue Type: Bug
Affects Versions: 4.0.0
Reporter: Prasanth Jayachandran
Assignee: Prasanth Jayachandran


Running the following build command
{code:java}
mvn clean install -Pdist -DskipTests -Dpackaging.minimizeJar=false -T 1C 
-DskipShade -Dremoteresources.skip=true -Dmaven.javadoc.skip=true{code}
fails with the following exception for 3 modules (hplql, kryo-registrator, 
packaging)
{code:java}
[ERROR] Failed to execute goal on project hive-packaging: Could not resolve 
dependencies for project org.apache.hive:hive-packaging:pom:4.0.0-SNAPSHOT: 
Failure to find org.apache.hadoop:hadoop-hdfs-client:jar:2.7.3 in 
http://www.datanucleus.org/downloads/maven2 was cached in the local repository, 
resolution will not be reattempted until the update interval of datanucleus has 
elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn  -rf :hive-packaging{code}
 

It is trying to download 2.7.3 version but hadoop.version refers to 3.1.0



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


[jira] [Created] (HIVE-21414) Hive JSON SerDe Does Not Properly Handle Field Comments

2019-03-08 Thread David Mollitor (JIRA)
David Mollitor created HIVE-21414:
-

 Summary: Hive JSON SerDe Does Not Properly Handle Field Comments
 Key: HIVE-21414
 URL: https://issues.apache.org/jira/browse/HIVE-21414
 Project: Hive
  Issue Type: Improvement
  Components: Serializers/Deserializers
Affects Versions: 4.0.0, 3.2.0
Reporter: David Mollitor


Field comments are handed to the JSON SerDe from HMS and then are ignored.  The 
result is that all field comments are 'from deserializer' and cannot be changed.

For example, Avro SerDe handles comments:

https://github.com/apache/hive/blob/release-1.1.0/serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroSerDe.java#L133



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


[GitHub] [hive] sankarh closed pull request #559: HIVE-21403: Incorrect error code returned when retry bootstrap with different dump.

2019-03-08 Thread GitBox
sankarh closed pull request #559: HIVE-21403: Incorrect error code returned 
when retry bootstrap with different dump.
URL: https://github.com/apache/hive/pull/559
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[jira] [Created] (HIVE-21413) Bad result using UNION using same table

2019-03-08 Thread JIRA
Stéphane created HIVE-21413:
---

 Summary: Bad result using UNION using same table
 Key: HIVE-21413
 URL: https://issues.apache.org/jira/browse/HIVE-21413
 Project: Hive
  Issue Type: Bug
  Components: hpl/sql
Affects Versions: 1.2.1
 Environment: engine = mr

 

TBLPROPERTIES(
    'auto.purge'='true',
    'orc.compress'='ZLIB',
    'serialization.null.format'=''
)

 
Reporter: Stéphane


Hi,

I have a table named "sau' with 1000 rows.

The table structure is :
 
||col_name ||data_type||comment |
|id   |string||
|mnta |int   ||
|mntb |int   ||

{quote}with
cte as (
select * from sau
)
select id, 'A' as info, mntA as mnt from cte
union
select id, 'B' as info, mntB as mnt from cte
{quote}
==> return only rows with "info=B"

{quote}with
cte as (
select * from sau
),
cte_union as (
select id, 'A' as info, mntA as mnt from cte
union
select id, 'B' as info, mntB as mnt from cte
)
select
count(*)
from
cte_union{quote}

==> return 1000 but should be 2000
 
I don't know if this bug is fixed on new version.

Using "union all" clause, the result is correct.




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


[jira] [Created] (HIVE-21412) PostExecOrcFileDump doesn't work with ACID tables

2019-03-08 Thread Denys Kuzmenko (JIRA)
Denys Kuzmenko created HIVE-21412:
-

 Summary: PostExecOrcFileDump doesn't work with ACID tables
 Key: HIVE-21412
 URL: https://issues.apache.org/jira/browse/HIVE-21412
 Project: Hive
  Issue Type: Bug
Reporter: Denys Kuzmenko






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


[jira] [Created] (HIVE-21411) LEFT JOIN CONVERT TO INTERJOIN LEAD TO WRONG RESULT

2019-03-08 Thread xialu (JIRA)
xialu created HIVE-21411:


 Summary: LEFT JOIN CONVERT TO INTERJOIN LEAD TO WRONG RESULT
 Key: HIVE-21411
 URL: https://issues.apache.org/jira/browse/HIVE-21411
 Project: Hive
  Issue Type: Bug
Affects Versions: 2.3.0, 2.2.0, 2.1.1
Reporter: xialu


when i have not assign alias table name to the left side table , left join 
convert to inner join. left side table's alias in ast tree called left.

 for example

select nvl(ss_wholesale_cost, 10), d_quarter_name from lulu.store_sales left 
join lulu.date_dim on ss_sold_date_sk = d_date_sk limit 10;

| STAGE DEPENDENCIES: |
| Stage-1 is a root stage |
| Stage-0 depends on stages: Stage-1 |
| |
| STAGE PLANS: |
| Stage: Stage-1 |
| Map Reduce |
| Map Operator Tree: |
| TableScan |
| alias: left |
| Statistics: Num rows: 200 Data size: 28499 Basic stats: COMPLETE Column 
stats: NONE |
| Filter Operator |
| predicate: ss_sold_date_sk is not null (type: boolean) |
| Statistics: Num rows: 200 Data size: 28499 Basic stats: COMPLETE Column 
stats: NONE |
| Select Operator |
| expressions: ss_wholesale_cost (type: decimal(7,2)), ss_sold_date_sk (type: 
bigint) |
| outputColumnNames: _col0, _col1 |
| Statistics: Num rows: 200 Data size: 28499 Basic stats: COMPLETE Column 
stats: NONE |
| Reduce Output Operator |
| key expressions: _col1 (type: bigint) |
| sort order: + |
| Map-reduce partition columns: _col1 (type: bigint) |
| Statistics: Num rows: 200 Data size: 28499 Basic stats: COMPLETE Column 
stats: NONE |
| value expressions: _col0 (type: decimal(7,2)) |
| TableScan |
| alias: date_dim |
| Statistics: Num rows: 200 Data size: 25639 Basic stats: COMPLETE Column 
stats: NONE |
| Filter Operator |
| predicate: d_date_sk is not null (type: boolean) |
| Statistics: Num rows: 200 Data size: 25639 Basic stats: COMPLETE Column 
stats: NONE |
| Select Operator |
| expressions: d_date_sk (type: bigint), d_quarter_name (type: string) |
| outputColumnNames: _col0, _col1 |
| Statistics: Num rows: 200 Data size: 25639 Basic stats: COMPLETE Column 
stats: NONE |
| Reduce Output Operator |
| key expressions: _col0 (type: bigint) |
| sort order: + |
| Map-reduce partition columns: _col0 (type: bigint) |
| Statistics: Num rows: 200 Data size: 25639 Basic stats: COMPLETE Column 
stats: NONE |
| value expressions: _col1 (type: string) |
| Reduce Operator Tree: |
| Join Operator |
| condition map: |
| Inner Join 0 to 1 |
| keys: |
| 0 _col1 (type: bigint) |
| 1 _col0 (type: bigint) |
| outputColumnNames: _col0, _col3 |
| Statistics: Num rows: 220 Data size: 31348 Basic stats: COMPLETE Column 
stats: NONE |
| Select Operator |
| expressions: NVL(_col0,10) (type: decimal(12,2)), _col3 (type: string) |
| outputColumnNames: _col0, _col1 |
| Statistics: Num rows: 220 Data size: 31348 Basic stats: COMPLETE Column 
stats: NONE |
| Limit |
| Number of rows: 100 |
| Statistics: Num rows: 100 Data size: 14200 Basic stats: COMPLETE Column 
stats: NONE |
| File Output Operator |
| compressed: false |
| Statistics: Num rows: 100 Data size: 14200 Basic stats: COMPLETE Column 
stats: NONE |
| table: |
| input format: org.apache.hadoop.mapred.SequenceFileInputFormat |
| output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat |
| serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe |
| |
| Stage: Stage-0 |
| Fetch Operator |
| limit: 100 |
| Processor Tree: |
| ListSink |
| |
++--+

 



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


[jira] [Created] (HIVE-21410) find out the actual port number when hive.server2.thrift.port=0

2019-03-08 Thread zuotingbing (JIRA)
zuotingbing created HIVE-21410:
--

 Summary: find out the actual port number when 
hive.server2.thrift.port=0
 Key: HIVE-21410
 URL: https://issues.apache.org/jira/browse/HIVE-21410
 Project: Hive
  Issue Type: Improvement
Reporter: zuotingbing
Assignee: zuotingbing






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