hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20025) Clean-up of event files created by HiveProtoLoggingHook.
Date Mon, 02 Jul 2018 11:25:00 GMT

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

Hive QA commented on HIVE-20025:
--------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  0s{color} |
{color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  1m 41s{color} | {color:blue}
Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  6m  1s{color}
| {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  2m 48s{color} |
{color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  1m 41s{color}
| {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m 30s{color} | {color:blue}
common in master has 64 extant Findbugs warnings. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  2m 56s{color} | {color:blue}
standalone-metastore in master has 228 extant Findbugs warnings. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  3m 46s{color} | {color:blue}
ql in master has 2287 extant Findbugs warnings. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m 35s{color} | {color:blue}
itests/hive-unit in master has 2 extant Findbugs warnings. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m 28s{color} |
{color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 20s{color} | {color:blue}
Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  3m 18s{color}
| {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  2m 50s{color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  2m 50s{color} | {color:green}
the patch passed {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m 17s{color} | {color:red}
standalone-metastore: The patch generated 1 new + 75 unchanged - 0 fixed = 76 total (was 75)
{color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m  8s{color} | {color:red}
metastore: The patch generated 4 new + 0 unchanged - 0 fixed = 4 total (was 0) {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m 17s{color} | {color:red}
itests/hive-unit: The patch generated 11 new + 0 unchanged - 0 fixed = 11 total (was 0) {color}
|
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m  0s{color}
| {color:green} The patch has no whitespace issues. {color} |
| {color:red}-1{color} | {color:red} findbugs {color} | {color:red}  0m 30s{color} | {color:red}
metastore generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0) {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m 37s{color} |
{color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 13s{color}
| {color:green} The patch does not generate ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 43m 41s{color} | {color:black}
{color} |
\\
\\
|| Reason || Tests ||
| FindBugs | module:metastore |
|  |  Write to static field org.apache.hadoop.hive.metastore.HiveProtoEventsCleanerTask.expiredDatePtn
from instance method org.apache.hadoop.hive.metastore.HiveProtoEventsCleanerTask.run()  At
HiveProtoEventsCleanerTask.java:from instance method org.apache.hadoop.hive.metastore.HiveProtoEventsCleanerTask.run()
 At HiveProtoEventsCleanerTask.java:[line 78] |
|  |  Write to static field org.apache.hadoop.hive.metastore.HiveProtoEventsCleanerTask.ttl
from instance method org.apache.hadoop.hive.metastore.HiveProtoEventsCleanerTask.setConf(Configuration)
 At HiveProtoEventsCleanerTask.java:from instance method org.apache.hadoop.hive.metastore.HiveProtoEventsCleanerTask.setConf(Configuration)
 At HiveProtoEventsCleanerTask.java:[line 55] |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests |  asflicense  javac  javadoc  findbugs  checkstyle  compile  |
| uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03)
x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-12319/dev-support/hive-personality.sh
|
| git revision | master / 9bc90f2 |
| Default Java | 1.8.0_111 |
| findbugs | v3.0.0 |
| checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-12319/yetus/diff-checkstyle-standalone-metastore.txt
|
| checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-12319/yetus/diff-checkstyle-metastore.txt
|
| checkstyle | http://104.198.109.242/logs//PreCommit-HIVE-Build-12319/yetus/diff-checkstyle-itests_hive-unit.txt
|
| findbugs | http://104.198.109.242/logs//PreCommit-HIVE-Build-12319/yetus/new-findbugs-metastore.html
|
| modules | C: common standalone-metastore metastore ql itests/hive-unit U: . |
| Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-12319/yetus.txt |
| Powered by | Apache Yetus    http://yetus.apache.org |


This message was automatically generated.



> Clean-up of event files created by HiveProtoLoggingHook.
> --------------------------------------------------------
>
>                 Key: HIVE-20025
>                 URL: https://issues.apache.org/jira/browse/HIVE-20025
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 3.0.0
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>            Priority: Major
>              Labels: Hive, hooks, pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-20025.01.patch
>
>
> Currently, HiveProtoLoggingHook write event data to hdfs. The number of files can grow
to very large numbers.
> Since the files are created under a folder with Date being a part of the path, hive should
have a way to clean up data older than a certain configured time / date. This can be a job
that can run with as little frequency as just once a day.
> This time should be set to 1 week default. There should also be a sane upper bound of
# of files so that when a large cluster generates a lot of files during a spike, we don't
force the cluster fall over.



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

Mime
View raw message