[jira] [Commented] (HIVE-13954) Parquet logs should go to STDERR

2016-06-08 Thread Lefty Leverenz (JIRA)

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

Lefty Leverenz commented on HIVE-13954:
---

Doc note:  parquet-logging.properties should be documented for releases 2.1.0 
and 1.3.0 in the Parquet wikidoc, with a cross-reference from the Hive Logging 
section in Getting Started.

* [Parquet | https://cwiki.apache.org/confluence/display/Hive/Parquet]
* [Getting Started -- Hive Logging | 
https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-HiveLogging]

Added TODOC2.1 and TODOC1.3 labels.

> Parquet logs should go to STDERR
> 
>
> Key: HIVE-13954
> URL: https://issues.apache.org/jira/browse/HIVE-13954
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.2.0
>Reporter: Prasanth Jayachandran
>Assignee: Prasanth Jayachandran
>  Labels: TODOC1.3, TODOC2.1
> Fix For: 1.3.0, 2.1.0, 2.2.0
>
> Attachments: HIVE-13954-branch-1.patch, HIVE-13954.1.patch
>
>
> Parquet uses java util logging. When java logging is not configured using 
> default logging.properties file, parquet's default fallback handler writes to 
> STDOUT at INFO level. Hive writes all logging to STDERR and writes only the 
> query output to STDOUT. Writing logs to STDOUT may cause issues when 
> comparing query results. 
> If we provide default logging.properties for parquet then we can configure it 
> to write to file or stderr.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-13954) Parquet logs should go to STDERR

2016-06-07 Thread Prasanth Jayachandran (JIRA)

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

Prasanth Jayachandran commented on HIVE-13954:
--

Test failures are unrelated. Committed patch to branch-2.1 and master.

> Parquet logs should go to STDERR
> 
>
> Key: HIVE-13954
> URL: https://issues.apache.org/jira/browse/HIVE-13954
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.2.0
>Reporter: Prasanth Jayachandran
>Assignee: Prasanth Jayachandran
> Fix For: 2.1.0, 2.2.0
>
> Attachments: HIVE-13954.1.patch
>
>
> Parquet uses java util logging. When java logging is not configured using 
> default logging.properties file, parquet's default fallback handler writes to 
> STDOUT at INFO level. Hive writes all logging to STDERR and writes only the 
> query output to STDOUT. Writing logs to STDOUT may cause issues when 
> comparing query results. 
> If we provide default logging.properties for parquet then we can configure it 
> to write to file or stderr.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-13954) Parquet logs should go to STDERR

2016-06-06 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-13954:




Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12808447/HIVE-13954.1.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 10220 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_acid_globallimit
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_acid_table_stats
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_list_bucket_dml_12
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_list_bucket_dml_13
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_subquery_multiinsert
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_constprog_partitioner
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_index_bitmap3
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/22/testReport
Console output: 
https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/22/console
Test logs: 
http://ec2-50-18-27-0.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-MASTER-Build-22/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 7 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12808447 - PreCommit-HIVE-MASTER-Build

> Parquet logs should go to STDERR
> 
>
> Key: HIVE-13954
> URL: https://issues.apache.org/jira/browse/HIVE-13954
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.2.0
>Reporter: Prasanth Jayachandran
>Assignee: Prasanth Jayachandran
> Attachments: HIVE-13954.1.patch
>
>
> Parquet uses java util logging. When java logging is not configured using 
> default logging.properties file, parquet's default fallback handler writes to 
> STDOUT at INFO level. Hive writes all logging to STDERR and writes only the 
> query output to STDOUT. Writing logs to STDOUT may cause issues when 
> comparing query results. 
> If we provide default logging.properties for parquet then we can configure it 
> to write to file or stderr.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-13954) Parquet logs should go to STDERR

2016-06-06 Thread Gunther Hagleitner (JIRA)

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

Gunther Hagleitner commented on HIVE-13954:
---

LGTM +1

> Parquet logs should go to STDERR
> 
>
> Key: HIVE-13954
> URL: https://issues.apache.org/jira/browse/HIVE-13954
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.2.0
>Reporter: Prasanth Jayachandran
>Assignee: Prasanth Jayachandran
> Attachments: HIVE-13954.1.patch
>
>
> Parquet uses java util logging. When java logging is not configured using 
> default logging.properties file, parquet's default fallback handler writes to 
> STDOUT at INFO level. Hive writes all logging to STDERR and writes only the 
> query output to STDOUT. Writing logs to STDOUT may cause issues when 
> comparing query results. 
> If we provide default logging.properties for parquet then we can configure it 
> to write to file or stderr.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-13954) Parquet logs should go to STDERR

2016-06-06 Thread Prasanth Jayachandran (JIRA)

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

Prasanth Jayachandran commented on HIVE-13954:
--

This writes to $TMPDIR/parquet-%u.log where %u is unique number to resolve 
conflicts. The default location for hive log is $TMPDIR/$USER/hive.log. We 
cannot use the same file for logging because with java file logging we cannot 
access the user name in properties file, hence the above pattern for parquet 
log file. 

> Parquet logs should go to STDERR
> 
>
> Key: HIVE-13954
> URL: https://issues.apache.org/jira/browse/HIVE-13954
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 2.2.0
>Reporter: Prasanth Jayachandran
>Assignee: Prasanth Jayachandran
> Attachments: HIVE-13954.1.patch
>
>
> Parquet uses java util logging. When java logging is not configured using 
> default logging.properties file, parquet's default fallback handler writes to 
> STDOUT at INFO level. Hive writes all logging to STDERR and writes only the 
> query output to STDOUT. Writing logs to STDOUT may cause issues when 
> comparing query results. 
> If we provide default logging.properties for parquet then we can configure it 
> to write to file or stderr.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)